Commit Graph
76729 Commits
Author SHA1 Message Date
Android Build Coastguard Worker dc7e331971 Snap for 9386067 from 969606e2ba to udc-release
Change-Id: I90a7fe9a852564b6896ad08eed1f7882209a5c94
2022-12-09 03:55:46 +00:00
Fengjiang Li a6a67e347d Support mouse right click on HomeScreen to show the customization menu
Bug: b/250089861
Fix: b/250089861
Test: Manual Testing
Video: https://b.corp.google.com/action/issues/250089861/attachments/40243664?download=true
Change-Id: Ia23e302bf8f3e18fafd6ccd079740c8005ae7860
2022-12-09 02:44:09 +00:00
Ats Jenk 5c3e394aec Merge "Check for both proto flags for common logic" into tm-qpr-dev am: e8c57e94e7 am: 7868989e50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653403

Change-Id: I4a6caf4fc8ac4df2b19e3c636b5b5ade948f339a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:57:59 +00:00
Ats Jenk 7868989e50 Merge "Check for both proto flags for common logic" into tm-qpr-dev am: e8c57e94e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20653403

Change-Id: I155bba8ce3621fcb235d3b5cc245e381f3c22947
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:54:23 +00:00
Ats Jenk e8c57e94e7 Merge "Check for both proto flags for common logic" into tm-qpr-dev 2022-12-09 00:43:04 +00:00
Brian Isganitis 9a7d443a28 Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev am: ddc7ef2eb1 am: 2b5ba5eb5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20672612

Change-Id: I517c94e189d7e4a2e8a2d0fb7b4cb835b66911df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:27:18 +00:00
Android Build Coastguard Worker b013522468 Snap for 9385690 from 9898d7906e to tm-qpr2-release
Change-Id: I0b89824fd52685af139838b4925fb24ab9c62529
2022-12-09 00:25:48 +00:00
Brian Isganitis 2b5ba5eb5f Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev am: ddc7ef2eb1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20672612

Change-Id: Ie302f00d1ba369210caf9910422a1df305a8a4ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-09 00:02:31 +00:00
Becky Qiu 6b52305b28 [Toast] Add a new attribute for rich answer type.
Bug: 261205664
Test: local
Change-Id: I2ff89c02c72d0a8ef3572b51f9429ab199231c3f
2022-12-08 15:41:37 -08:00
Brian Isganitis ddc7ef2eb1 Merge "Add EDU lottie animations for persistent and transient." into tm-qpr-dev 2022-12-08 23:11:27 +00:00
Federico Baron 3f82a06c7f Remove delightful page indicator
Due to design changes, we are no longer going to use the  changes guarded under the flag SHOW_DELIIGHTFUL_PAGINATION, so we remove the flag and the code that was guarded by that flag

Bug: 261904707
Test: verify flag SHOW_DELIGHTFUL_PAGINATION no longer exists and that the regular pagination works without issues after removing all this code
Change-Id: I244b88b98df0357aa99a325a11988e8248a03206
2022-12-08 15:00:02 -08:00
Holly Sun 66a7fdcd90 Set the default value for SCROLL_TOP_TO_RESET to true.
Per UX, we can enable this feature by default.

Bug: 218846025
Test: manual
Change-Id: I828515ec45e84007cee3893cd2b76fca7c5afee2
2022-12-08 14:13:07 -08:00
Federico Baron 47d81686e6 Move AnimatedFloat from quickstep to launcher
We are moving AnimatedFloat to launcher to be able to use this in class in launcher. Having it in launcher will allow us to do restore icon treatment animations to do with scaling the icon size

Bug: 254858049
Test: verified that the device still works
Change-Id: I1c4c47ab436c389a94abf7c910c1a44724efc955
2022-12-08 13:58:07 -08:00
Jeremy Sim 2cbd7bbfdf Use already-running app instances when splitting
This patch makes it so that when the user initiates a split from Home, a running app instance is used instead of always attempting to spawn a new Intent. If no matching app instance is found, behavior is unchanged.

Previously, splitting from Home always resulted in a new Intent being staged, which ignored the fact that an app of the same type could already be running. This resulted in undesirable situations like being able to attempt splitting an app with itself in Overview.

Fixed by querying the RecentsModel when a split of this type is initiated, checking to see if there is a running task of the desired type, and using that to perform the split operation if one is found. When Overview is loaded, applyLoadPlan() will now check to see if there is a staged task, and remove the associated tile as needed. If the removed task is part of a pair, this involves creating a temporary TaskView to hold the other task.

Also fixes a bug where using the Taskbar to select one's second app would incorrectly choose the oldest instance of a multi-instance app rather than the newest.

Fixes: 257513447
Fixes: 259936298
Test: Manual
Change-Id: I97a62f34c03aa4980f9cd743e35e9fc6ef4c092d
2022-12-08 13:24:43 -08:00
Stefan Andonian 969606e2ba Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab am: 47035c7165 am: 61c23f1efb am: 73c2b40724
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: I615c035173372acb74568a16856e2fd8fc254567
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 21:08:54 +00:00
Stefan Andonian 73c2b40724 Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab am: 47035c7165 am: 61c23f1efb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: If6c1f018b439205cf914e5036f4b743f7bdd5d98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 20:46:12 +00:00
Stefan Andonian 61c23f1efb Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab am: 47035c7165
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: I5dd9b5e9457d2becb7da668bcb779e3f0092a80d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 20:19:07 +00:00
Stefan Andonian 629a915eee Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab am: 078bb9338c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: I7d290353e06e588491d7a13a1597793a2a7bc5e1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 20:18:28 +00:00
Stefan Andonian 47035c7165 Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: Ie20521302dc0bd37621dfe471906ab349b6db074
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:32:31 +00:00
Stefan Andonian 078bb9338c Fix for bug where expensive launcher animations were being paused and never resumed. am: 677978c8ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20582304

Change-Id: Ice492ce44086ab2fe0e21631b067e489ced310ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:32:14 +00:00
Sunny Goyal 7243523b3e Merge "Adding support for generating manachrome icon from a colored icon" into tm-qpr-dev am: 9898d7906e am: 4cdb55e5a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20647520

Change-Id: I05d6bbba6751d86de041593da23d07f3fc402e2b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:29:48 +00:00
Sunny Goyal 4cdb55e5a7 Merge "Adding support for generating manachrome icon from a colored icon" into tm-qpr-dev am: 9898d7906e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20647520

Change-Id: I575f4cda0e7ad07a0a9b968bb667c260c333804b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 19:05:27 +00:00
Sunny Goyal 9898d7906e Merge "Adding support for generating manachrome icon from a colored icon" into tm-qpr-dev 2022-12-08 18:54:59 +00:00
Brian Isganitis b962950ae9 Add logging to investigate updateOverviewTargets state.
Test: Manual (logcat)
Bug: 258022658
Change-Id: I50640124f1e8fd5ae4aaf6240c044ded108849b5
2022-12-08 18:26:22 +00:00
Sunny Goyal 54fa110bba Removing some unnecessary interfaces and merging them to ActivityContext
Bug: 259733681
Test: Everything compiles
Change-Id: If6b530f6e589a851cf8554f5de0849843bd66dd4
2022-12-08 10:15:55 -08:00
Schneider Victor-tulias 80b25c756a [DO NOT MERGE] Log gesture velocity to help debug and help direct future gesture nav thresholds.
Bug: 259021562
Test: performed gestures and checked logs
Change-Id: If0dec4ef74c2ef2d1617d8c37f10f3ef9d96b2f5
2022-12-08 17:42:53 +00:00
Schneider Victor-tulias eb4a5c7cbd Log gesture velocity to help debug and help direct future gesture nav thresholds.
Bug: 259021562
Test: performed gestures and checked logs
Change-Id: If0dec4ef74c2ef2d1617d8c37f10f3ef9d96b2f5
2022-12-08 17:40:09 +00:00
Tony Wickham a008f510c5 Merge "Add IS_RUNNING_IN_TEST_HARNESS check for isTransientTaskbar" into tm-qpr-dev am: 788f8e09fe am: 6ecdbc69b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20666524

Change-Id: I18305f4cf6874a418845b719996955e861fb005b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 17:01:33 +00:00
Jon Miranda 7234034cee Enable transient taskbar flag on by default.
Bug: 261859222
Test: manual
Change-Id: I46ed930aba743f76da3b6fe94629fdb0f585ee55
2022-12-08 16:45:10 +00:00
Tony Wickham 6ecdbc69b2 Merge "Add IS_RUNNING_IN_TEST_HARNESS check for isTransientTaskbar" into tm-qpr-dev am: 788f8e09fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20666524

Change-Id: Id1c71be116afa8bb77bb2213064939ea34f86d1c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 16:39:43 +00:00
Tony Wickham 788f8e09fe Merge "Add IS_RUNNING_IN_TEST_HARNESS check for isTransientTaskbar" into tm-qpr-dev 2022-12-08 16:21:43 +00:00
Tony Wickham 5de5ac9008 Add IS_RUNNING_IN_TEST_HARNESS check for isTransientTaskbar
This avoids us trying to read FORCE_PERSISTENT_TASKBAR feature flag
which apparently crashes tests due to permission issues. Going forward,
when we support persistent taskbar better, we should update the tests
and this check as commented in the code.

Test: com.google.android.apps.nexuslauncher.TaplTestsNexus#testSearchNoInputs
Fixes: 261604544
Change-Id: I35c20825e8171766834f0f32be4f3818d02ab1df
2022-12-08 16:19:16 +00:00
Schneider Victor-tulias 673d6a01ed Merge "Revert "Cancel gestures on launcher destroy"" into tm-qpr-dev am: ad48decd4f am: d132ad4393
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20664263

Change-Id: I13f6d462dc8fabc0010661aea379bcf2357f9a24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 15:47:36 +00:00
Schneider Victor-tulias d132ad4393 Merge "Revert "Cancel gestures on launcher destroy"" into tm-qpr-dev am: ad48decd4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20664263

Change-Id: Icfdd29ce44e4ff73bfb79b3150addca41b7517cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 15:25:37 +00:00
Schneider Victor-tulias ad48decd4f Merge "Revert "Cancel gestures on launcher destroy"" into tm-qpr-dev 2022-12-08 14:55:15 +00:00
Brian Isganitis 77de0d5a28 Add EDU lottie animations for persistent and transient.
This CL introduces separate lottie assets for light and dark themes, as
well as each step. Each asset contains all of the steps currently but is
constrained to a min and max frame. In future CLs, we will optimize the
storage these take up by using the global assets and controlling min and
max frames programmatically, or trimming each individual asset.
Additionally, we should only be importing one theme variant and then
converting to the opposite programmatically, but the color mappings are
not ready yet.

Future polish to the EDU sheet, such as better handling the stashed
taskbar, will be introduced in future CLs.

Test: Manual in transient and persistent modes.
Bug: 217261955
Change-Id: I5b219ea02e25de0c5c887b5b5640f909e1219287
2022-12-08 14:06:09 +00: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
Bill Yi 11dc7602ed Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id4a3af2702e7226014db0af9728c33353e72da09
2022-12-08 02:35:44 -08:00
Bill Yi 841089b4be Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4ef37f944e56e3c095689720fc64d228f2b08964
2022-12-08 02:35:12 -08:00
TreeHugger Robot 5c3146dab3 Merge "Simiplifying the Parner override definition so that it can be used for multiple overrides" into tm-qpr-dev am: 117865726f am: 4c44df1edb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470533

Change-Id: If020405c00ca1fdf00e58ea3d16de77babaa4a3f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 07:15:09 +00:00
Sunny Goyal d954229d1a Adding support for generating manachrome icon from a colored icon
Bug: 261625158
Test: Verified on device
Change-Id: Ibda922fd2c9c0a856ea02a8e73f43af8573f2450
2022-12-07 22:57:24 -08:00
TreeHugger Robot 4c44df1edb Merge "Simiplifying the Parner override definition so that it can be used for multiple overrides" into tm-qpr-dev am: 117865726f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20470533

Change-Id: I351d81002525189f3877fefeb75a5190482ad3df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 06:49:56 +00:00
TreeHugger Robot 117865726f Merge "Simiplifying the Parner override definition so that it can be used for multiple overrides" into tm-qpr-dev 2022-12-08 06:12:24 +00:00
Android Build Coastguard Worker 4af81c9c27 Snap for 9381811 from bdee8e4313 to udc-release
Change-Id: Icb46e80f991c5f5e786c622d03db981de0162bef
2022-12-08 02:31:54 +00:00
Brandon Dayauon 65de436e38 Merge "Change method name as suggested" into tm-qpr-dev am: f772ba18ab am: b4b23d848a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20646119

Change-Id: I98a81336fce29190f787f204716a4f1cba644876
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 01:01:31 +00:00
Brandon Dayauon b4b23d848a Merge "Change method name as suggested" into tm-qpr-dev am: f772ba18ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20646119

Change-Id: Ia01613470adb89e9e15dbc2c6b91f1cdfeb2c98b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-08 00:38:19 +00:00
Android Build Coastguard Worker 118a5a0e22 Snap for 9381392 from 878ae3fc85 to tm-qpr2-release
Change-Id: I2db891859584382bdda12a38513f4767e7eac23f
2022-12-08 00:26:07 +00:00
Brandon Dayauon f772ba18ab Merge "Change method name as suggested" into tm-qpr-dev 2022-12-08 00:18:26 +00:00
Brandon Dayauon bb3146271b Change method name as suggested
bug: 261098912
bug: 261099706

test: Manual - presubmit go/forest
Change-Id: I2e18ddaf2b9647bccaecccbfa7faf88e51b84f12
2022-12-08 00:15:06 +00:00