Commit Graph

31742 Commits

Author SHA1 Message Date
Winson Chung cf0d2c8191 Merge "Fix activity NPE when clearing flags" into sc-dev am: 394ede6fe6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985350

Change-Id: Ie684c1fbfb72cc3a20af17ed7dd435984cadf400
2021-03-25 00:02:15 +00:00
Winson Chung 394ede6fe6 Merge "Fix activity NPE when clearing flags" into sc-dev 2021-03-24 23:28:58 +00:00
Jon Spivack 0a083239eb Merge "Change label for Search button in Go Overview" into sc-dev am: ea0463d243
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13985351

Change-Id: I747db5e103a9be2f80aedbe73b843af98f353bd3
2021-03-24 20:35:15 +00:00
Jon Spivack ea0463d243 Merge "Change label for Search button in Go Overview" into sc-dev 2021-03-24 20:06:10 +00:00
TreeHugger Robot 3c110b3c7a Merge "Fix scrolling in WidgetsBottomSheet" into sc-dev am: 365c3c8f09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13983966

Change-Id: Iab94b51d178d30be4062400fdb2eea0f91cd1afe
2021-03-24 19:51:41 +00:00
TreeHugger Robot 365c3c8f09 Merge "Fix scrolling in WidgetsBottomSheet" into sc-dev 2021-03-24 19:34:50 +00:00
TreeHugger Robot bd834dfea6 Merge "Remove MultiValueAlpha Mode, as all usages are BLEND" into sc-dev am: 0249710308
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13974801

Change-Id: Ib3b018dd28dc1d0dbff2965b43a01d192e493ecc
2021-03-24 19:15:07 +00:00
Alex Chau 358fbac182 Remove grid scaling in Overveiw am: dedbc8ac36
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13918850

Change-Id: I52507c2a63517a9a1ccbab5aefe550252d095d01
2021-03-24 19:14:38 +00:00
Zak Cohen af1b53a5cd Merge "Overview - Adds first pass at making landscape layout real." into sc-dev am: 21aa7042c0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13932061

Change-Id: Ib355f56e113f852ae8ea4c45ca285f755d9cbac5
2021-03-24 19:13:26 +00:00
TreeHugger Robot 0249710308 Merge "Remove MultiValueAlpha Mode, as all usages are BLEND" into sc-dev 2021-03-24 19:02:52 +00:00
Alex Chau dedbc8ac36 Remove grid scaling in Overveiw
- Grid scaling has problem that scales task icon and menu, which makes it hard to control icon size and text size in the manula
- Replaced the whole concept with dedicated Task size calculation in grid layout
- Support different icon size in TaskView in grid and removed task_thumbnail_top_margin
- Removed grid progress in TaskViewSimulator as well
- Refactored how ClearAllButton scroll and translations are calcualted to align clear all properly in grid
- Make page center calculation aware of PagedView pivot and scaling

Bug: 174464863
Test: Manual on two screens
Change-Id: I47b13ef6e55c6e16c52ea04225f5bde02ed82fc2
2021-03-24 18:46:32 +00:00
Zak Cohen 21aa7042c0 Merge "Overview - Adds first pass at making landscape layout real." into sc-dev 2021-03-24 18:44:29 +00:00
TreeHugger Robot db9dfc4490 Merge "Add a button for reconfiguring widgets." into sc-dev am: 45393a561f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13841982

Change-Id: I8f5f48a3b686a720a1b3aaaa2be55a3218f8981f
2021-03-24 18:34:27 +00:00
TreeHugger Robot 45393a561f Merge "Add a button for reconfiguring widgets." into sc-dev 2021-03-24 17:50:54 +00:00
Tony Wickham 0d12bee11f Merge "Remove dead taskbar code" into sc-dev am: 11bc3118c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973515

Change-Id: I595d67934506c589d2e0eea4d2d3371ab780b38e
2021-03-24 17:40:04 +00:00
Jon Spivack 387e65e3c4 Change label for Search button in Go Overview
The visual search button on the Recents screen (on Go devices) will be renamed to Lens.

Bug: 183618164
Test: Manual
Change-Id: I86371e604bd0204510737e5088c95404129818bb
2021-03-24 17:23:32 +00:00
Tony Wickham 11bc3118c9 Merge "Remove dead taskbar code" into sc-dev 2021-03-24 17:20:18 +00:00
TreeHugger Robot 5c9548a1d5 Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev am: a0d299f5ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961486

Change-Id: I83481b7b943d1257aabb67ae6b4d0c05c30f2159
2021-03-24 17:01:47 +00:00
Winson Chung 6151a34543 Fix activity NPE when clearing flags
- If the activity is already destroyed then skip setting flags

Bug: 183400378
Test: Just adding a null check
Change-Id: Id2fddb5adb3b68302fb58fce340abd29237ca731
2021-03-24 10:01:44 -07:00
TreeHugger Robot a0d299f5ad Merge "Clear focus from search bar whenever a header is clicked in search adapter." into sc-dev 2021-03-24 16:28:56 +00:00
Andras Kloczl ccaa599212 Fix staggered animation on right panel home screen am: a4cb0f02de
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931241

Change-Id: I07519c84611bbc35686d8111964f0fc6bee7e750
2021-03-24 15:20:09 +00:00
Steven Ng 02c4f65e67 Fix scrolling in WidgetsBottomSheet
Popup container shouldn't intercept the scroll event if its child
scroll view isn't scrolled to the top yet.

Test: manual
Bug: 183599207
Change-Id: I434ba5e91b154e9862f22c08cd01c9d459e6707b
2021-03-24 14:51:19 +00:00
Zak Cohen 334efebaba Overview - Adds first pass at making landscape layout real.
Adds dynamic sizing to margins around task view, also creates space in the
overview actions view in landscape to make space for the proactive chips if
needed.

Bug: 182529089
Test: Local build and run on two devices
Change-Id: I447de3564a3249ede4e8e8a4d3e5d1c177f6be61
2021-03-24 14:45:48 +00:00
Yogisha Dixit 73c8a366a8 Add a button for reconfiguring widgets.
Test: manual
Bug: 183316993
Change-Id: I17bec121e3d07d65979c2b92c285e487a7d64d65
2021-03-24 13:34:29 +00:00
Andras Kloczl a4cb0f02de Fix staggered animation on right panel home screen
Recently we have added support for multiple panels
on the home screen but the current StaggeredWorkspaceAnim
logic only supports animation for the leftmost panel.

Test: manual
Bug: 183032642
Change-Id: I539e1c1a26292b75801eb3070e22f0fbde1ebc7e
2021-03-24 12:37:22 +01:00
TreeHugger Robot 8ac3c86d95 Merge "Fix scrolling in widgets picker tapl tests" into sc-dev am: 59230c3cdd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13961495

Change-Id: I7dca61ef0dc25b6b65a266bc3f20e5fa1539f6f1
2021-03-24 10:53:22 +00:00
TreeHugger Robot 59230c3cdd Merge "Fix scrolling in widgets picker tapl tests" into sc-dev 2021-03-24 10:35:20 +00:00
Alina Zaidi 9877eca035 Merge "Bug fixes for widget picker search (2/n)" into sc-dev am: 305a44c935
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13948365

Change-Id: Ie90daa0a4ef6459aa366b33d92f2d56ca5062651
2021-03-24 10:27:50 +00:00
Alina Zaidi 2cff164be2 Clear focus from search bar whenever a header is clicked in search adapter.
Test: Manually checked
Bug: 183398749
Change-Id: Ie91312ae1e62c6427e3397d1e5f60bc812a790ee
2021-03-24 09:52:45 +00:00
Alina Zaidi 305a44c935 Merge "Bug fixes for widget picker search (2/n)" into sc-dev 2021-03-24 09:47:26 +00:00
TreeHugger Robot cee5c008f0 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev am: bbfef42e48
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13894757

Change-Id: I5742b629255fdb3d84667b27d4ff8fcb316af3be
2021-03-24 01:51:00 +00:00
TreeHugger Robot bbfef42e48 Merge "Prevent setting task thumbnail during swipe to overview" into sc-dev 2021-03-24 01:46:34 +00:00
TreeHugger Robot d9bd2e1119 Merge "Fix spring loaded scale when taskbar is present" into sc-dev am: 9187337d15
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13933465

Change-Id: If33ca9ac9934fe9f1ad05ca6600f9e1cb78a39db
2021-03-24 01:42:13 +00:00
TreeHugger Robot 1e1e3a67b0 Merge changes I6ce23251,I56fca1b7 into sc-dev am: cb6dff62d9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13931236

Change-Id: I00694651565621415b08a0cabf6936ada9fbbaeb
2021-03-24 01:41:57 +00:00
TreeHugger Robot 20534fcfba Merge "Update Pin widget dialog UI according to mocks." into sc-dev am: acb3cac938
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13945229

Change-Id: I13871cdc0a071cca0a87c5d95834e781685dbef0
2021-03-24 01:40:35 +00:00
TreeHugger Robot 59dcb4d300 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev am: b9d201a5d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13970240

Change-Id: I77e8352fff913136ad6f3a52ee09c37c4bb3600d
2021-03-24 01:16:10 +00:00
TreeHugger Robot 9187337d15 Merge "Fix spring loaded scale when taskbar is present" into sc-dev 2021-03-24 00:43:33 +00:00
TreeHugger Robot cb6dff62d9 Merge changes I6ce23251,I56fca1b7 into sc-dev
* changes:
  Update the resize frame to use the forced radius.
  Enforce rounded corners on App Widgets.
2021-03-24 00:39:17 +00:00
TreeHugger Robot acb3cac938 Merge "Update Pin widget dialog UI according to mocks." into sc-dev 2021-03-24 00:29:41 +00:00
TreeHugger Robot b9d201a5d6 Merge "Remove some unused hotseat/qsb scaling code" into sc-dev 2021-03-24 00:16:01 +00:00
Steven Ng 6c5e02ac27 Fix scrolling in widgets picker tapl tests
If the search bar and the target widget item intersect, scroll up to
make the target widget item clickable.

Test: run AddWidgetTest, AddConfigWidgetTest

Bug: 183403949
Change-Id: I847cc34757cb02b1a12e18e511fda749873ad5da
2021-03-24 00:01:53 +00:00
Jonathan Miranda fe974153ab Merge "Updating deep shortcut container to new width." into sc-dev am: 0fa5225d57
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13971704

Change-Id: I6075962e4858f31726009b39d1abf7a03226734c
2021-03-23 22:10:58 +00:00
Jonathan Miranda 0fa5225d57 Merge "Updating deep shortcut container to new width." into sc-dev 2021-03-23 21:30:46 +00:00
Pierre Barbier de Reuille 452df2d5bb Update the resize frame to use the forced radius.
When forcing the rounded corners, the radius may be smaller than the
default one. When this happens, we should change how the frame is drawn
to only use that reduced radius, or this looks weird.

Bug: 183097166
Test: Manual tests with top 1P App Widgets
Change-Id: I6ce232515ce14059e1168e16735719ea2370132c
2021-03-23 20:57:33 +00:00
Pierre Barbier de Reuille 298526e812 Enforce rounded corners on App Widgets.
The feature is controlled by the ENABLE_ENFORCED_ROUNDED_CORNERS flag
(currently set to false).

If does not yet handle P/H flags to control its behavior.

Bug: 183097166
Test: Manual tests with top 1P App Widgets (See bug for results)
Change-Id: I56fca1b717f37ad518588115409f2144a71d4b98
2021-03-23 20:57:33 +00:00
Tony Wickham f2a7426ba6 Merge "Add TaskbarView as a child of Hotseat" into sc-dev am: 3629b93546
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13957197

Change-Id: I29fc8e00b22884ee7a89d32440bc956a6620e5d7
2021-03-23 19:09:41 +00:00
Vinit Nayak 706ff85fe5 Prevent setting task thumbnail during swipe to overview
Previously we were setting the incorrect thumbnail when
swiping to overview, then taking a task screenshot right
when the animation ends and replacing the first thumbnail.
This sometimes caused a flicker of the old thumbnail, now
we avoid setting the thumbnail at all for the taskview that
is being swiped up.

Another edge case handled here is when switching nav modes
and then immediately entering overview, Recents receives an
onConfigChange for changing task icon size. That would cause
all taskviews to null out both their existing icon and
thumbnail, now only the icon gets nulled out.
Existing issue where switching to 3 button nav and then
entering overview shows blank icon, doesn't register for
receiving the updated task snapshot fast enough.

Fixes: 179307265
Test: Ask assistant for weather, swipe to overview
Ask assistant for time, swipe to overview, no flicker

Switch nav modes to gesture, swipe to overview.
There's a flicker for config change, but thumbnail is correct

Change-Id: I300b29f999f6d6876f82bc0189b44f4c10ae33fe
2021-03-23 12:00:06 -07:00
Tony Wickham e63bd38a55 Remove dead taskbar code
Test: Works as before
Bug: 182512211
Change-Id: Id4c979f2924f9ae6881a9bed18bcc52fbd80c05b
2021-03-23 11:42:50 -07:00
Tony Wickham f2c99e9d32 Remove MultiValueAlpha Mode, as all usages are BLEND
Test: Compiles, works as before
Bug: 182512211
Change-Id: I79ee683720cdc697d91e7587d8fab4fd2645ba0d
2021-03-23 11:41:30 -07:00
Tony Wickham 3629b93546 Merge "Add TaskbarView as a child of Hotseat" into sc-dev 2021-03-23 18:36:53 +00:00