Commit Graph

11392 Commits

Author SHA1 Message Date
Sunny Goyal 6ba7479cf5 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I4683179ba16afb819a7059ea3fa5f1f2321c72ff
2021-05-25 18:43:35 +00:00
Sunny Goyal d2adddc386 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I72cafafc430b2995226575d3f5d64a0a13a78107
2021-05-25 18:42:03 +00:00
Sunny Goyal 1d5c0754d6 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I771a69b3c734ba3de73a84d07a6ce29c125ecc40
2021-05-25 18:41:48 +00:00
Sunny Goyal c4c3269206 Crossfading splashscreen if icon is themed
Bug: 188840653
Test: Manual
Change-Id: Ibd00bb1a94576a7512872eba39a936c174f9871d
2021-05-25 18:25:18 +00:00
Sunny Goyal 47da5d628c Merge "Using icon color for dot and halo" into sc-dev 2021-05-25 18:24:56 +00:00
Evan Rosky e902918a31 Fix launcher-in-transition-targets detection
Shell transitions promotes animation up to root task so
we can't compare to leaf-taskid derived from ActivityRecord.getTaskId
since home tasks are all children of a root and thus aren't
organized.

This replaces the task-id check with a componentname check.

Bug: 172695387
Test: with shell transit enabled, launch an app from launcher
      and observer launcher content animating.
Change-Id: Ieeca72b57ec47c9cbe15e635f5026b53edebd0ad
2021-05-25 10:22:54 -07:00
András Klöczl c295503361 Merge "Add two panel home support for page binding logic" into sc-v2-dev am: adbe369451 am: 614a98fdea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14589972

Change-Id: Id17504effb8304c401d61d4efe29d6581bdb5c0e
2021-05-25 13:28:06 +00:00
shawnlin f39ace2ea7 Support the nav animation in widget launch remote animation am: 3380ab3053 am: b3b2b64588 am: a66d58196e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: Icf0246186ea553143ae15443ec4fc00e3ea91eaa
2021-05-25 13:25:57 +00:00
Alex Chau a3f2286609 Always focus a task in overview am: 960a2b2696 am: 95f4548a7d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622874

Change-Id: I06ffc92da6cd5ee864b84c33e4171fed0813a2ce
2021-05-25 13:25:19 +00:00
András Klöczl 614a98fdea Merge "Add two panel home support for page binding logic" into sc-v2-dev am: adbe369451
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14589972

Change-Id: I5ba292eb91bdafc480b9032c07fb0ad9e5c77192
2021-05-25 12:24:49 +00:00
shawnlin a66d58196e Support the nav animation in widget launch remote animation am: 3380ab3053 am: b3b2b64588
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I5e96da20feb2660ba809aed77772a3a645b23ea5
2021-05-25 12:23:37 +00:00
Alex Chau 95f4548a7d Always focus a task in overview am: 960a2b2696
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14622874

Change-Id: Icc0c5acb6701347d1d68e45819a8f03406848441
2021-05-25 12:23:17 +00:00
András Klöczl adbe369451 Merge "Add two panel home support for page binding logic" into sc-v2-dev 2021-05-25 12:04:55 +00:00
shawnlin b3b2b64588 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I9e8632a69c8baa0ffdb4b3d1e83d3f361e40d340
2021-05-25 11:55:07 +00:00
shawnlin 80b0080149 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: Ia3b76df2624e9441f256c32ca3930bb1320a6898
2021-05-25 11:49:53 +00:00
shawnlin a55c5923d3 Support the nav animation in widget launch remote animation am: 3380ab3053
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14694591

Change-Id: I71a5271424f76bbbeed44ae6c094f122defee67f
2021-05-25 11:49:41 +00:00
shawnlin 3380ab3053 Support the nav animation in widget launch remote animation
Launcher now support remote animation for widget but doesn't add the nav
animation for this type of animation.

Add the nav animation in widget launch remote animation in launcher.

Bug: 185303414
Test: manual - launch a widget in launcher and observe the nav bar
Change-Id: I11f4bd75b9624118b8ffef09c99f54fc7f1fbbca
2021-05-25 03:43:25 +00:00
vadimt 6fad078a31 Adding more diags for WellbeingModel
Test: presubmit
Bug: 189139513
Change-Id: Ic52ef42d2cd0a3f19f55aee048911526dd8c732f
2021-05-24 16:42:07 -07:00
Schneider Victor-tulias b199e20acc Enable unpausing apps from the workspace.
Fixes: 188675002
Test: manual
Change-Id: I02715450016e9b91fff774525b5e32c337c74547
2021-05-24 21:44:29 +00:00
Andras Kloczl 55edfe55f7 Add two panel home support for page binding logic
There's a logic which prioritizes the binding for the
current page and defers the other pages' binding.
If two panel home is enabled, we want to bind both pages
together. LauncherPageRestoreHelper has been created to
contain the logic for persisting restoring and calculating
which pages to load immediately.

Test: manual + run LauncherPageRestoreHelperTest robo test
Bug: 174464691
Change-Id: I57ac3f7150303b95b272e922f44bda26f9d5ce2a
2021-05-24 23:22:06 +02:00
Alex Chau 7d964726d5 Ensure RecentsOrientedState.mRecentsRotation is up to date on swipe up
- Updates RecentsOrientedState.mRecentsRotation after launcher is started, as it's not updated when RecentsView is in foreground when device rotates e.g. inside another app
- No longer calls updateOrientationHandler in onConfigurationChanged, as updateOrientationHandler is already called in setInsets, which get called on rotation

Bug: 181550945
Test: Swipe up to enter overview, launch app, rotate, then swipe up again
Test: Swipe up to enter overview from landscape only app, while holding device in portrait
Change-Id: I268093617d51333678e510c910ed15275706f984
2021-05-24 19:10:49 +01:00
Alex Chau 960a2b2696 Always focus a task in overview
- Focus first task when applying load plan
- Focus the next task in shorter row when focused task is dismissed, scale the snapshot and translate the task into focused position
- Always show actions view as there is always a focused task. Update scroll alpha when toggling grid enabled
- In fallback recents, take into account that home task will be dismissed when determining rows for the grid, ensuring next focused task won't affect row balancing
- Bring back clearAllShortTotalCompensation as there isn't always a snappedTaskView (e.g. when snapped to ClearAllButton)
- Ensure that getFocusedTaskView is only used when showAsGrid is true

Bug: 187839470
Fixes: 188001858
Fixes: 189057812
Test: manual
Change-Id: I6f31ef469c58fda70d2dd8caa2ee7d8a80c7f03b
2021-05-24 18:13:04 +01:00
Bill Yi 8fb123cbe2 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-05-22 05:26:50 +00:00
Jonathan Miranda 736e7ef92e Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b am: f3649f5e98 am: 6f8bc6502f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I3c510212b7475f52fc345065ef7d928f61393604
2021-05-22 05:16:14 +00:00
Jonathan Miranda 6f8bc6502f Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b am: f3649f5e98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I9c6c072b82ae8ef8f52f8ec80f0f71057d1ee787
2021-05-22 05:01:45 +00:00
Jonathan Miranda f3649f5e98 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I4090adb746e959d66ac33940e1989ea30c97ee8f
2021-05-22 04:38:50 +00:00
Jonathan Miranda 0f57756e70 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: I3ac95b881206b65bb73e7ff38a4f6a8cbd219382
2021-05-22 04:37:33 +00:00
Jonathan Miranda a4b834fe72 Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev am: 81f5ff3b3b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14688336

Change-Id: Idf378e441611a5dc6f2c291c0ec5b0db8239a587
2021-05-22 04:37:31 +00:00
Jonathan Miranda 81f5ff3b3b Merge "Fix PathParser error when parsing app close interpolator in RTL languages." into sc-dev 2021-05-22 03:45:29 +00:00
Sunny Goyal 259cc18632 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e am: 1b72c0ea35 am: 7796916a88
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I4dc7a3fc2ee26cfdaa802fed600ef9850ef87319
2021-05-22 03:00:45 +00:00
Sunny Goyal 7796916a88 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e am: 1b72c0ea35
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: Id67c295d6a09ea99b39497654fd1eb7cfce34bf5
2021-05-22 02:46:58 +00:00
Sunny Goyal 12829aee27 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: Ic3aa579ebc2df7b3053f8df14bceebea0e2850aa
2021-05-22 02:32:40 +00:00
Sunny Goyal 7977a6f8b4 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I3a834869b46697c1983bc8a2c40553d2970ef61f
2021-05-22 02:31:01 +00:00
Sunny Goyal 1b72c0ea35 Merge "Renamin TaskbarContainerView to TaskbarDragLayer" into sc-dev am: 2f0595e76e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14680570

Change-Id: I4668106ead95e6a58d3fe30d5c4e0da3d90e11c4
2021-05-22 02:29:23 +00:00
Jon Miranda 7c9dca2df2 Fix PathParser error when parsing app close interpolator in RTL languages.
Setting locale to english so that the numbers don't get reverted

Bug: 188552618
Test: set language to arabic, swipe up to home
Change-Id: I736c83984b472d9ad09207927743c87b18637db4
2021-05-21 17:20:07 -07:00
Sunny Goyal 5584513500 Renamin TaskbarContainerView to TaskbarDragLayer
Bug: 187353581
Test: Presubmit
Change-Id: I9164a956aaa896111f287ab4e97b091a7d4d30ee
2021-05-21 14:42:18 -07:00
Sunny Goyal 6755587219 Using icon color for dot and halo
Bug: 188839628
Test: Manual
Change-Id: I8a393cc7073d5a249619b4033ec860c55f17167a
2021-05-21 12:57:38 -07:00
Bill Yi 2c86c6d83e Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I06e192ad4396655b3e84649193acfb4e8b8093e4
2021-05-21 19:42:31 +00:00
Sunny Goyal b9945f51cb Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50 am: 8d996187ea am: 00a0efca95
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: I05b89930d87f76c66db03eb47dda1008a659da64
2021-05-21 16:37:17 +00:00
Sunny Goyal 00a0efca95 Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50 am: 8d996187ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: I9d647d893cb955091ecef0b4c289597a0dc39632
2021-05-21 16:22:15 +00:00
Sunny Goyal fa851c78e9 Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: Ia589d1d6178ccf2f5b7931cfd5c8d9c4a00cad59
2021-05-21 16:06:43 +00:00
Sunny Goyal d656b6c1ec Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: I5c0dfbb853c903784ea262f91179ac9eaf7b7bcc
2021-05-21 16:05:04 +00:00
Sunny Goyal 8d996187ea Merge changes from topic "revert-14664190-JGHJCCJYPM" into sc-dev am: 67914aff50
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14669170

Change-Id: I6a72e4492f5078aab2442ee0f5722a49f95cf76b
2021-05-21 16:02:45 +00:00
Sunny Goyal 301eaf2b8c Initiate taskbar only after the user is unlocked
Bug: 188755902
Test: Presubmit
Change-Id: Ida4bc07f45396e82ab404a617aa6833afeea78bc
2021-05-21 07:05:38 +00:00
Sunny Goyal f8b1c3b38e Revert "Revert "Renaming TaskbarController to LauncherTaskbarUIC..."
Revert submission 14664190

Reason for revert: Errorprone fixed in ag/14667108
Reverted Changes:
Icd1ddd43e:Revert "Renaming TaskbarController to LauncherTask...
I465013697:Revert "Moving taskbar lifecycle to TouchInteracti...

Change-Id: I1dcccb43d8206830e2b7c1974e775c94ac8c542f
Bug: 187353581
2021-05-21 07:05:31 +00:00
Sunny Goyal d5500548dc Revert^2 "Moving taskbar lifecycle to TouchInteractionService"
430465a3d5
Bug: 187353581
Change-Id: I7b2280d16adfafd3e85ffc1d22e32d0c00d12b67
2021-05-21 07:05:02 +00:00
Winson Chung c01ab34bf1 Merge "Tweak ordering of first match search" into sc-dev am: 07414d5cd5 am: 7af9af114d am: 09ce40258e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14668159

Change-Id: Ibdb52d8b901f5b7b6bcb3e1f014f0b420a3e6c7b
2021-05-21 04:23:10 +00:00
Winson Chung 09ce40258e Merge "Tweak ordering of first match search" into sc-dev am: 07414d5cd5 am: 7af9af114d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14668159

Change-Id: Iff8b98f4bb448420ae2b0cfa3c2407bf7e877f61
2021-05-21 04:08:25 +00:00
Winson Chung 7af9af114d Merge "Tweak ordering of first match search" into sc-dev am: 07414d5cd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14668159

Change-Id: Ib9ee0e0850f1f3cbb38bd7037cb2a9b0f6c5cf53
2021-05-21 03:42:29 +00:00
Winson Chung 8efc40aeb4 Merge "Tweak ordering of first match search" into sc-dev am: 07414d5cd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14668159

Change-Id: Iad6853d1476bdc53c2e309eb2dca6b6d16341772
2021-05-21 03:41:08 +00:00