Commit Graph

6493 Commits

Author SHA1 Message Date
Andy Wickham 59e6016ee1 Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev am: 36e2ae4cba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20730517

Change-Id: I6ccb4d5d120846323507c0b1c6c0f168b5eaa2aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-19 11:46:12 +00:00
Alex Chau 4537638dfd Merge "Polish hotseat and taskbar with 3 buttons" into tm-qpr-dev 2022-12-19 11:37:39 +00:00
Andy Wickham 36e2ae4cba Merge "Adds additional top padding in All Apps with floating searchbar." into tm-qpr-dev 2022-12-19 11:23:14 +00:00
Bill Yi a6117320eb Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-17 14:30:15 +00:00
Thales Lima 6a59006592 Polish hotseat and taskbar with 3 buttons
Change margin spaces and logic of how many items the hotseat and taskbar should show.

Fix: 246424857
Test: DeviceProfileDumpTest
Test: HotseatWidthCalculationTest
Change-Id: I8ec71c56a0aa362483c43d6400c762d12cf45f5b
2022-12-17 11:20:21 +00:00
Bill Yi 432ca5f5ba Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-17 01:38:47 +00:00
Alex Chau 40ac71e8b3 Merge "Update bottom sheet color to black with 65% opacity for Lt and Dk modes." into tm-qpr-dev am: 8f98a162ac am: be7df7b150
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747316

Change-Id: Ib5b54c2e932a0cffbeb8ee49aa40f2b0b2404d87
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 20:05:10 +00:00
Sihua Ma 1db8bc2467 Add QuickstepWidgetHolder for widget handling
Fix: 235358918
Test: Manual
1. Rebooted the device and verified that widgets are still updating properly
2. Changed the theme from dark to daylight, then from daylight back to dark and verified that widgets are working
3. Kept the device on for several days and verified that widgets are still updating
4. Turn on auto-rotate for the launcher, open any app then exit, verified that widgets will not vanish and reappear
5. Add & remove widgets from the screen, added widgets are still updating

Change-Id: I98ee902f7d16b47bd77626201a4fefc897ba17a0
2022-12-16 11:56:36 -08:00
Alex Chau be7df7b150 Merge "Update bottom sheet color to black with 65% opacity for Lt and Dk modes." into tm-qpr-dev am: 8f98a162ac
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20747316

Change-Id: Id888c2d9734985fba3a2a8b5946efd46940bf990
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 19:21:02 +00:00
Alex Chau 8f98a162ac Merge "Update bottom sheet color to black with 65% opacity for Lt and Dk modes." into tm-qpr-dev 2022-12-16 19:16:51 +00:00
Bill Yi a653d55379 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I04d3e99b1fdbc8ba5fd317b53abbb11718667910
2022-12-16 04:47:11 -08:00
Bill Yi 0f9982e6bd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iff51228333ddbf1cc6dd4b74d4ab6f6f63f3bead
2022-12-16 04:46:39 -08:00
Pat Manning c3c12e01fb Update bottom sheet color to black with 65% opacity for Lt and Dk modes.
Fix: 224739565
Test: manual
Change-Id: Iae341a0380532c670d748d8a845e52f04f76c9a4
2022-12-16 10:49:28 +00:00
Bill Yi 615c4d2dd0 Merge "Import translations. DO NOT MERGE ANYWHERE" 2022-12-16 02:23:30 +00:00
Alex Chau 9de98280b8 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev am: 0c2d7e8da3 am: 7a7f6ce2c8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746546

Change-Id: I052bec3d1505574c50c583d01f4b03d890f27cea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 00:11:02 +00:00
Alex Chau 7a7f6ce2c8 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev am: 0c2d7e8da3
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20746546

Change-Id: Idacd0665d3e53d3db722217decd0841661d1a333
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16 00:00:44 +00:00
Sunny Goyal 8591bbc892 Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d am: 37dd2e6691
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205

Change-Id: I073f6cb4d3a912b585cd1cd0e57f1ced1b0ed3a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 23:48:58 +00:00
Andy Wickham 9cdba2f395 Adds additional top padding in All Apps with floating searchbar.
This is by UX/PM request.

Test: Manually with and without work profile on phone and tablet
with floating search enabled and disabled.
Bug: 213954333

Change-Id: I024aed629ab6f09b3dfd22a39c2149974863538e
2022-12-15 15:29:46 -08:00
Alex Chau 0c2d7e8da3 Merge "Use overridden default xml for TwoPanelWorkspaceTest" into tm-qpr-dev 2022-12-15 23:09:13 +00:00
Sunny Goyal 37dd2e6691 Merge "Unifying multiple all-apps implementations" into tm-qpr-dev am: 09fab7ee7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20713205

Change-Id: I1bd905e44924ec55f8f7cb254d66f9f751357590
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15 17:28:53 +00:00
Sunny Goyal 09fab7ee7d Merge "Unifying multiple all-apps implementations" into tm-qpr-dev 2022-12-15 17:03:05 +00:00
Alex Chau f8b79d4235 Use overridden default xml for TwoPanelWorkspaceTest
- Partially reverted TAPL and TwoPanelWorkspaceTest changes on http://ag/19195512

Fix: 262627208
Fix: 262632384
Test: TwoPanelWorkspaceTest
Change-Id: I8b793bfb3874cc6305ce8b0f9f7b0a116d01222b
2022-12-15 15:48:09 +00:00
Bill Yi 2d476db8a6 Merge "Import translations. DO NOT MERGE ANYWHERE" into tm-qpr-dev 2022-12-15 14:08:52 +00:00
Alex Chau b015054390 Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev am: 8a7dc2b244 am: 4fb5e62810
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195512

Change-Id: If50694adfcaaf0b98987e7ac840a82740e3e1b41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 22:49:20 +00:00
Bill Yi 08f6a4e7c1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I71ffbebc713309a68b98f159ec3d87bf089c6f40
2022-12-14 14:17:12 -08:00
Bill Yi a0091acd6d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic505774d7ba6077bb238ea03ba53ed6d84b9cdc6
2022-12-14 14:16:22 -08:00
Alex Chau 4fb5e62810 Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev am: 8a7dc2b244
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/19195512

Change-Id: I781bf1cb012683704193330bd5de35573e2295bd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 22:14:00 +00:00
Alex Chau 8a7dc2b244 Merge "Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute" into tm-qpr-dev 2022-12-14 21:50:34 +00:00
Jon Miranda a965d14c42 Merge "Taskbar All Apps button visual updates" into tm-qpr-dev am: a0743cf62c am: 80f6ece5ad
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20724415

Change-Id: Id066aeb46d61d892ce6e30688e1b215d958206db
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 20:11:38 +00:00
Jon Miranda 80f6ece5ad Merge "Taskbar All Apps button visual updates" into tm-qpr-dev am: a0743cf62c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20724415

Change-Id: Ib3ff9ebcfd645a6f929e17e17aec4f14b070b7ec
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-14 19:33:23 +00:00
Sunny Goyal adb364a104 Unifying multiple all-apps implementations
> Using a single layout for the all-apps content
> Removing some unnecessary themes
> Fixing search chashes in SecondaryDisplayLauncher

Bug: 259733681
Test: Existing TAPL tests verify that Launcher/AllApps work properly
Change-Id: Icd5310316499cd421bc039cdbd4d398b813cd477
2022-12-14 11:27:12 -08:00
Jon Miranda a0743cf62c Merge "Taskbar All Apps button visual updates" into tm-qpr-dev 2022-12-14 19:00:18 +00:00
Jon Miranda e7417ce2ae Taskbar All Apps button visual updates
- Moved to new position
- Using 3x3 icon
- New Colors

Checked with visd that this half is good to go,
will follow up with positioning of the 3x3 icon within
its container.

Bug: 259712417
Test: manual, LTR/RTL modes, transient/persisent models

Change-Id: I298b6dbca004cdb8920e6533fffc8ca83e0197f9
2022-12-13 15:16:01 -08:00
TreeHugger Robot e884c9e9f6 Merge "Changed widget picker personal-work tab layout" into tm-qpr-dev am: 742294305f am: ea4ea36918
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20670833

Change-Id: If541fc735e5f1ae7986a7fb3ec0000bd3afb9464
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-13 00:18:31 +00:00
TreeHugger Robot ea4ea36918 Merge "Changed widget picker personal-work tab layout" into tm-qpr-dev am: 742294305f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20670833

Change-Id: I819035f8c5de425978abf50bb16d097ca993fd99
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 23:42:46 +00:00
TreeHugger Robot 742294305f Merge "Changed widget picker personal-work tab layout" into tm-qpr-dev 2022-12-12 22:59:08 +00:00
Andy Wickham 67e171a872 Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev am: 29b95b58ba am: a89df1e47f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546292

Change-Id: I9614ee34df20a367907c9d9860e2f085690e93b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 20:03:44 +00:00
Andy Wickham a89df1e47f Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev am: 29b95b58ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20546292

Change-Id: I09030c24485b7b25a2eb72d90e4515d6e9ea3960
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-12 19:29:48 +00:00
Andy Wickham 29b95b58ba Merge "Adds header protection on tablet all apps panel." into tm-qpr-dev 2022-12-12 19:08:37 +00:00
Sihua Ma 60813a89f7 Changed widget picker personal-work tab layout
Used layout margin instead of padding. Also making sure that Talkback would focus on the widgets title once the widget picker is opened.

Before: https://screenshot.googleplex.com/AgZspqTc7yS2Lte
Now: https://screenshot.googleplex.com/5W66ky7XAByCFRZ

Fix: 247121867
Test: Manual
Change-Id: I76534454754c5e57ab51ae7ce06ca4370a3fd22b
2022-12-09 13:58:57 -08:00
Bill Yi 5b235359bb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ifabaa6394d850ae49d470c20029d29f42ee1cc87
2022-12-08 02:37:29 -08:00
Bill Yi 1fae94761a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ibdfae18cb652adb0be0e17e4346d31fd44f79137
2022-12-08 02:36:55 -08:00
Andy Wickham dfe6791d0e Merge "Fixes for floating search bar (e.g. background protection)." into tm-qpr-dev am: abb18ea62a am: 83a06d68f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20518558

Change-Id: Ia295e75b3d584a035151fec5f46969e2dce9b25b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 19:43:31 +00:00
Andy Wickham 83a06d68f7 Merge "Fixes for floating search bar (e.g. background protection)." into tm-qpr-dev am: abb18ea62a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20518558

Change-Id: I07c5849c0371dd6e25ea435c810f25422bce4784
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-07 19:25:16 +00:00
Alex Chau 766cd2b4b9 Remove unnecessary GridDisplayOption_defaultSplitDisplayLayoutId attribute
- Can use deviceCategory to make grid specific to splitDisplay instead
- Update TwoPanelWorkspaceTest for new workspace items

Fix: 233736588
Test: Clear launcher and check the default
Test: TwoPanelWorkspaceTest
Change-Id: I6ad3a2d866d847af281e10b802edbd4bcc892c39
2022-12-07 15:18:28 +00:00
Andy Wickham 0adad24408 Adds header protection on tablet all apps panel.
Removes background and manually draws it while drawing scrim. Then
draws header protection on top as needed.

Currently this only applies to all apps from Launcher, as Taskbar
doesn't seem to use the same scrim flow. So taskbar adds the same
static background that was previously used.

Demo videos: https://drive.google.com/drive/folders/11PyFsrLV6-QhU_E-zD3s5bfzZK2nOU87?resourcekey=0-E41uw5TP9xuqTifLAs71yw&usp=sharing

Test: Manually on phone and tablet with dark/light mode, floating
search bar on/off, work profile present/absent, taskbar/home entry
Bug: 240670050

Change-Id: I81dcc956d9dbbc7552c8a227a49741bcf71eed71
2022-12-06 18:31:33 -08:00
Andy Wickham 493831af1a Fixes for floating search bar (e.g. background protection).
- Adds background protection for the search bar
 - Views animating based on keyboard now support manual swipes.

Bug: 213954333
Bug: 259004115
Bug: 251460671
Test: Manual
Change-Id: I055766126fb46a8e8b48907e442c9e54aaa4badf
2022-12-06 17:59:53 -08:00
Rajat Jain a59f2231c5 Merge "Low contrast for Personal and Work Tab in launcher" into tm-qpr-dev 2022-12-03 05:00:45 +00:00
Jon Miranda 36c8093a4a Merge "Add transient taskbar sizing for twoPanel devices." into tm-qpr-dev am: 01e90b7787 am: 9c053594e9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20613321

Change-Id: Ia185a4d3e1eb014109842c37fe5f30e746ba7bfd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 20:03:28 +00:00
Jon Miranda 9c053594e9 Merge "Add transient taskbar sizing for twoPanel devices." into tm-qpr-dev am: 01e90b7787
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20613321

Change-Id: Id47761c23154fe04e0cb1a5c1e7807ad02c22f1b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-02 19:29:06 +00:00