Commit Graph

4851 Commits

Author SHA1 Message Date
Luca Zuccarini 98d08589a8 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev am: e75b1c8a19
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18140267

Change-Id: Ia125cddc8f127d6715ebe473ab5aa57d22316b76
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 23:06:33 +00:00
Luca Zuccarini e75b1c8a19 Merge "Update the NORMAL->ALL_APPS transition when tapping on QSB on phones." into tm-dev 2022-05-10 22:35:02 +00:00
James O'Leary 8f43328c98 Merge "Use T50 base instead of T95" into tm-dev am: 7ba0339b00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18167226

Change-Id: I34e41e1c9d4fa5a4af4bd1399499e799354f1d07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 20:24:00 +00:00
Sunny Goyal 835b2c723b Merge "Fixing wrong alpha for disbled icon" into tm-dev am: 8ca6e815bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18237481

Change-Id: Ib051d4d20d8afe9de7b88d0ad175d1bc4b3037eb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 20:23:20 +00:00
James O'Leary 7ba0339b00 Merge "Use T50 base instead of T95" into tm-dev 2022-05-10 19:52:47 +00:00
Sunny Goyal 8ca6e815bd Merge "Fixing wrong alpha for disbled icon" into tm-dev 2022-05-10 15:51:59 +00:00
Sunny Goyal a2924fadd5 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev am: b0416cc478
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18236805

Change-Id: I98968b28fa92b60b4a93c575a236af67e865a642
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-10 00:23:54 +00:00
Sunny Goyal b0416cc478 Merge changes from topic "revert-17983445-hotseat_span-WQWWPUHOTD" into tm-dev
* changes:
  Revert "Fix hotseat width to span a number of columns"
  Revert "Update workspace, cell layout, shortcut and widget, and cell size calculations."
2022-05-09 23:14:38 +00:00
Sunny Goyal d333091d79 Fixing wrong alpha for disbled icon
Bug: 230852221
Test: Verified manually
Change-Id: I73fb1ac73ff374cd67b3f26367814ea5b0b49a3b
2022-05-09 16:12:06 -07:00
Sunny Goyal 89a89d63a4 Revert "Fix hotseat width to span a number of columns"
Revert submission 17983445-hotseat_span

Reason for revert: b/231283023
Reverted Changes:
Ice4e37929:Fix hotseat width to span a number of columns
I9ed508490:Fix hotseat width to span a number of columns

Change-Id: Iabf67c5efd8155131a0c8a88192ddd671a43747b
2022-05-09 19:32:07 +00:00
James O'Leary efff096bdd Use T50 base instead of T95
Colors with custom tones were using T95 as the base color, which has
very low chroma for most hues. By using T50, chroma is retained as
intended by design.

Bug: 213314628
Test: Manual inspection at runtime
Change-Id: I8ac519ea5e65abbb34b5ea2f64268474e0e2df66
2022-05-09 14:40:53 +00:00
Sunny Goyal ec7f74c80e Merge "Preventing widget preview from getting accessibility focus on internal content" into tm-dev am: f27d6c0dc7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18198385

Change-Id: I043a80a10f53d6d51e43f7253293c8d29187feaf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 22:18:54 +00:00
Sunny Goyal f27d6c0dc7 Merge "Preventing widget preview from getting accessibility focus on internal content" into tm-dev 2022-05-06 22:15:04 +00:00
Brandon Dayauon 12a5ffc5bd Merge "changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon.." into tm-dev am: 5a726787db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17727851

Change-Id: I32cc1001d3c930875062a372d3c09e023c506188
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-06 21:23:24 +00:00
Brandon Dayauon 5a726787db Merge "changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon.." into tm-dev 2022-05-06 21:00:08 +00:00
Sunny Goyal d4cb76ebf0 Preventing widget preview from getting accessibility focus on internal content
Bug: 209579561
Bug: 209579521
Bug: 209579162
Test: Manual
Change-Id: If65a74acf021b19438cdc37b07ac508985f8909a
2022-05-06 11:10:41 -07:00
Brandon Dayauon e5142c5c53 changed name and dimensions of work_mode_toggle button, changed outline to surface for the (x) icon..
Fixed padding issue (tightness) between Personal/WorkTabs/EduDialog
Aligned Work Toggle button to be the same with the workTabs/eduCard
raised button up 20dp to align with specs

Fixed issue where allApps apps invade the tabs. Fixed RTL issues where it wasn't going RTL.
Fixed RTL issue for the workfab button where there was no margin on the left side of the button
Added DeviceProfile to constructor

Bug: 200810328
Bug: 224731300
Test:
	Before: https://screenshot.googleplex.com/6sRgNZQz4wKYn5n
	After: https://screenshot.googleplex.com/8hBLyDiMbMH9tn2
	After(showingLayoutBounds): https://screenshot.googleplex.com/MuVUXCegukAMzSr

Change-Id: Ibac3f5b8fe7d877c2f54a2c87f4393c1a91dc806
2022-05-06 09:52:05 -07:00
Luca Zuccarini ef006c7603 Update the NORMAL->ALL_APPS transition when tapping on QSB on phones.
- New interpolators
- New duration
- Removed workspace translation
- Removed overlapping fades -- are now sequential

See video in the bug.

Bug: 227745955
Test: manual
Change-Id: I19fa19a3806e963a04c5e694a52d3c1b921cf51f
2022-05-06 16:07:17 +00:00
TreeHugger Robot 8a341bda84 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-05-03 20:48:34 +00:00
Bill Yi 976cab3e09 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I22bbc4eda27d606c89e9a8881b14be240d7c3a71
2022-04-30 02:17:08 +00:00
Thales Lima db9ec6c5f0 Fix hotseat width to span a number of columns am: 828875cd12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17983445

Change-Id: I8dff34453657db61d6cc34101af5f8e985fc8785
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-29 17:59:50 +00:00
Thales Lima 828875cd12 Fix hotseat width to span a number of columns
Bug: 227344807
Test: manual
Change-Id: Ice4e37929bcbb8c9cf3af340e67b6bec002578bd
2022-04-29 14:56:30 +00:00
Thales Lima 4ed297ca74 Merge "Increase empty space limits" into tm-dev am: d7a9408696
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17943882

Change-Id: Ibccdd5870595ec9fa11e5d1115cd437683dd65bc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 10:09:06 +00:00
Thales Lima d7a9408696 Merge "Increase empty space limits" into tm-dev 2022-04-28 09:41:56 +00:00
Anushree Ganjam 168362edd2 Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev am: fa693be19f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/18011182

Change-Id: I9c22204217e70f32ca39417947a15fc1be408c59
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-28 05:28:17 +00:00
Anushree Ganjam fa693be19f Merge "Revert "Refactors Search results into separate RV for Toast."" into tm-dev 2022-04-28 04:52:01 +00:00
Anushree Ganjam 5cc7ff0990 Revert "Refactors Search results into separate RV for Toast."
This reverts commit 6729f0b950.

Reason for revert: This change caused b/230648542.

Please see https://b.corp.google.com/issues/230648542#comment5 for the video after reverting this change.

Bug: 206905515
Bug: 230648542

Change-Id: I85f063c56cad137c05b810204244bba7e8f94ee7
2022-04-28 01:37:49 +00:00
Alex Chau 0a4e0923d2 Merge "Update overview actions alignment" into tm-dev am: a80efcee9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17888303

Change-Id: Ibaa9c19e18f693c1a6552f622ef13218dbe2a4e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 12:46:11 +00:00
Alex Chau a80efcee9f Merge "Update overview actions alignment" into tm-dev 2022-04-27 12:24:24 +00:00
TreeHugger Robot eb4fa04985 Merge "Refactors Search results into separate RV for Toast." into tm-dev am: 0a6e9b4751
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17699868

Change-Id: Ibdf49c7fd6e0f485445c3e4cbfd9abbb214a6539
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-26 15:35:50 +00:00
TreeHugger Robot 0a6e9b4751 Merge "Refactors Search results into separate RV for Toast." into tm-dev 2022-04-26 15:06:49 +00:00
Pablo Gamito 2dcd118a14 Merge "Use shared background color animation for settings activity" into tm-dev am: 7379074007
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17875203

Change-Id: I2dabd8bb18bc6e94f8480fc258417a9499a1fa46
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-25 21:42:55 +00:00
Pablo Gamito 7379074007 Merge "Use shared background color animation for settings activity" into tm-dev 2022-04-25 21:22:21 +00:00
Alex Chau a2fc764405 Update overview actions alignment
- Align overview actions to the top with a defined margin below task thumbnail, except for vertical bar layout
- In modal state, use task view's bottom as pivot, and expand using all the space about pivot
- Simplified overview actions margin calculation and moved some logic to DeviceProfile

Bug: 209981696
Test: manual on various devices
Change-Id: I4c96cb02c6f3d6adf30633ddeb883bc4eec16f36
2022-04-25 19:20:21 +01:00
Thales Lima 25ac8b804f Increase empty space limits
Bug: 227344807
Test: manual
Change-Id: Id5d484d57da60f3cf90db9bf0571919d93288de3
2022-04-25 18:49:33 +01:00
Andy Wickham 6729f0b950 Refactors Search results into separate RV for Toast.
This will help enable transitions between A-Z apps lists and
search results because both can be seen simultaneously and
manipulated independently.

Some high level items of the refactor:
 - SearchRecyclerView is added; logic that populated the main
   (personal) tab with search results was simply redirected to
   this RV instead.
 - BaseAllAppsContainerView added isSearching() method. Returns
   false, and ActivityAllAppsContainerView overrides (as search
   is handled there).
 - Renamed BaseRecyclerView to FastScrollRecyclerView to better
   describe what it does. SearchRecyclerView extends this, but
   returns false for supportsFastScrolling().
 - AlphabeticalAppsList#mAllAppsStore is now optional, so the
   Search RV doesn't need to store/listen to apps. Note this
   doesn't affect the predicted app row which is still updated
   if one of the predicted apps is uninstalled (I tested this).

Future work:
 - Determine why dispatchRestoreInstanceState is not called for
   BaseAllAppsContainerView. Save is called, e.g. on rotation.
   Effect of restore not called: rotating while searching goes
   back to A-Z list.
 - Keep suggested apps in Header while searching. Currently they
   are rendered in the SearchRV above search results, as before.
 - Potentially extract Personal/Work tabs to move independently of
   header.
 - AlphabeticalAppsList is a misleading name because it can also
   contains search results. However, things are pretty intertwined
   between that and BaseAllAppsAdapter (effectively a circular
   dependency), so I figured cleaning all that up was out of the
   immediate scope of this refactor, which is mainly meant to
   unblock transition work.

Bug: 206905515
Test: Manually checked for regressions, ran tests.
Change-Id: I4d3757c8a8f9b774956ca6be541dd4fcdad1de13
2022-04-24 17:36:48 -07:00
Pablo Gamito a9e9c667b4 Use shared background color animation for settings activity
Test: check that the launcher home settings activity transitions use the clear color activity animation with the correct background color

Bug: 229898866
Change-Id: Ic96ceb0fdbd6c4f10b411492dc5be18e979796c8
2022-04-22 11:39:53 +00:00
TreeHugger Robot ddcfec57ab Merge "Bring Widget Picker message style inline with All Apps message style." into tm-dev am: 0bd7fbde6d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17890715

Change-Id: Id217a8e1070c7b1bb030ad105dde6efeda11456b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-22 02:43:28 +00:00
TreeHugger Robot 0bd7fbde6d Merge "Bring Widget Picker message style inline with All Apps message style." into tm-dev 2022-04-22 02:14:43 +00:00
Bill Yi db60e79024 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-22 00:17:18 +00:00
Zak Cohen 1dc4dea6ae Bring Widget Picker message style inline with All Apps message style.
Bug: 188227318
Test: Local flash with TestDPC to test message.
Change-Id: I63403f1472a582a63299e647604eaea25b50b8e7
2022-04-21 10:53:17 -07:00
Thales Lima 0c8351332b Merge "Making tablet grid scalable and tuning size" into tm-dev am: 1e583dfa0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17707273

Change-Id: Ie96bab9a597b56d10b43e37fb65cc452f3ede62a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-21 14:55:14 +00:00
Thales Lima 26aa8c2496 Making tablet grid scalable and tuning size
Bug: 227344807
Test: manual and HSV
Change-Id: I739cd814ecb8f693b4873cd78f2e8c182538be3b
2022-04-21 11:10:22 +00:00
Pat Manning 23c33dddbe Merge "Update widget edit icon to use material colors." into tm-dev am: 37edea679c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17656215

Change-Id: Ib30cbb630aca9b46e954e50c02e442c5e7305041
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 14:49:18 +00:00
Pat Manning 37edea679c Merge "Update widget edit icon to use material colors." into tm-dev 2022-04-20 11:54:36 +00:00
Bill Yi a7572a77d6 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I99b021e480994659cd0a29f18d6e315d8daff052
2022-04-19 19:04:37 +00:00
Thales Lima 497b8672cb Merge "Tune menu size" into tm-dev am: 1dcf3d1ab9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17570024

Change-Id: I51d6f4175302f92ba1968ca837190bc9484934aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 15:51:53 +00:00
Thales Lima 1dcf3d1ab9 Merge "Tune menu size" into tm-dev 2022-04-19 15:36:10 +00:00
Bill Yi da78e7047e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9ff5d01375187fe18ba873d32b73590a73844f50
2022-04-17 08:56:19 +00:00
TreeHugger Robot d0b7edd060 Merge "Polish the back to home gesture animation to match the spec." into tm-dev am: cf80645111
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17646341

Change-Id: I15123f319e79ae994a3b5b31f64596f29194d0f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-16 02:29:40 +00:00