Commit Graph

4839 Commits

Author SHA1 Message Date
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
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
TreeHugger Robot cf80645111 Merge "Polish the back to home gesture animation to match the spec." into tm-dev 2022-04-16 01:51:10 +00:00
Shan Huang 4ce2b40f91 Polish the back to home gesture animation to match the spec.
Bug:228533817
Test: Enable back animation from FlagFlipper (Predicitve Back Animation)
and swipe back on Flag Flipper. Try in both portrait and landscape mode.

Change-Id: I7792dc5079698c1b5a7dd3cd06344ba46c4a2da6
2022-04-15 19:26:11 +00:00
Sihua Ma d703ce5926 Merge "Showing alert dialog when shortcut version higher than the App" into tm-dev am: af91920955
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17538946

Change-Id: Ibd3e621fa7d39b17c8a030509f335feab8ba2207
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 19:24:50 +00:00
Sihua Ma af91920955 Merge "Showing alert dialog when shortcut version higher than the App" into tm-dev 2022-04-14 18:26:10 +00:00
Bill Yi 614046bd46 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-dev 2022-04-14 15:06:26 +00:00
TreeHugger Robot a29c9086aa Merge "Update edit state drop target and hotsteat margins." into tm-dev am: 5ee9d60fd0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/17731950

Change-Id: I9ebb2588d50f24392688bf858f3e2fe5dea08624
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-14 12:21:51 +00:00
Sihua Ma da8759ae29 Showing alert dialog when shortcut version higher than the App
Creating an AlertDialog when the disabled reason of the shortcut is DISABLED_REASON_VERSION_LOWER, which happens when the backed-up shortcut was created from an application that has a version higher than the one installed on the device. The AlertDialog will direct the user to the play store and update the application.

Test: Manual
Fix: 224796975
Change-Id: I0125fada60b48176775de6782ba03ee6790904aa
2022-04-14 01:34:44 -07:00
Thales Lima 7bb79ae8e2 Tune menu size
Fix: 223351193
Bug: 214586519
Test: check sizes with HSV and Window
Change-Id: I2fa8d03eb80e952ebc238e6f4db5563f774128cd
2022-04-13 14:21:36 +01:00
Pat Manning 8c4dd9e6dc Update edit state drop target and hotsteat margins.
Bug: 227336507
Test: manual
Change-Id: Id47f312e00d86143e6c95d21d6e37b7196590cef
2022-04-13 12:04:08 +01:00
Bill Yi 1d313372fe Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifc067459518e15838a8a472234a26eb7b2214ebd
2022-04-12 21:25:52 +00:00
Pat Manning 48beebbed5 Update widget edit icon to use material colors.
Fix: 216821024
Test: manual
Change-Id: I3c3e463e33d7a611010e426eca1378cde027c6d6
2022-04-12 18:26:06 +01:00
Pat Manning 4349d21246 Merge "Adjust grid cell visualizations." into tm-dev 2022-04-12 11:50:38 +00:00