Commit Graph

6393 Commits

Author SHA1 Message Date
TreeHugger Robot f7231bb4fc Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev am: e81ac4f170 am: 884c22fb0d am: 60fa4f51f5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14723558

Change-Id: I9cfccbfcf8489b4b77b8b7982a7ef8c7095624ab
2021-05-26 01:06:58 +00:00
TreeHugger Robot c6c7536eb8 Merge "Crossfading splashscreen if icon is themed" into sc-dev am: 55060ca7ea am: a8c8b9d88d am: 60a768ef9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14687100

Change-Id: Idb8e2139bfa29042a372b2476d9ffda42d898240
2021-05-26 01:06:40 +00:00
TreeHugger Robot 60fa4f51f5 Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev am: e81ac4f170 am: 884c22fb0d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14723558

Change-Id: I82d7173d538413bc48989089d2cffe8740d0a318
2021-05-26 00:51:48 +00:00
TreeHugger Robot 60a768ef9b Merge "Crossfading splashscreen if icon is themed" into sc-dev am: 55060ca7ea am: a8c8b9d88d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14687100

Change-Id: If8991862802a0d4137a3c36d7cf32064c9b40665
2021-05-26 00:51:33 +00:00
TreeHugger Robot 3ed8a62ac3 Merge "Overview - Remove the space withheld for proactive chips" into sc-dev am: d98a784d0e am: 89c8b063eb am: ec0c9a0efa
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706422

Change-Id: I83ddcc84024cbe998b2ced55f09297f5b1d15e6b
2021-05-26 00:32:57 +00:00
Vinit Nayak 59e7e7cdbb Merge "TaskMenu in overview UI polish" into sc-dev am: b74b9d2966 am: 60aa661a0f am: a66955d335
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604156

Change-Id: I074b42ba20c38f3ae0e985847ab0b88315c22342
2021-05-26 00:32:24 +00:00
TreeHugger Robot 884c22fb0d Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev am: e81ac4f170
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14723558

Change-Id: Idc93ece04633575d328b1c6575952566485e184d
2021-05-26 00:31:54 +00:00
TreeHugger Robot a8c8b9d88d Merge "Crossfading splashscreen if icon is themed" into sc-dev am: 55060ca7ea
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14687100

Change-Id: I77a11e42d2704a07c2a3a9307c79dcab6cbdb69c
2021-05-26 00:31:04 +00:00
TreeHugger Robot e81ac4f170 Merge "Set mEnableDrawingLiveTile = false in RecentsView#reset()" into sc-dev 2021-05-26 00:29:11 +00:00
TreeHugger Robot 55060ca7ea Merge "Crossfading splashscreen if icon is themed" into sc-dev 2021-05-26 00:26:22 +00:00
TreeHugger Robot ec0c9a0efa Merge "Overview - Remove the space withheld for proactive chips" into sc-dev am: d98a784d0e am: 89c8b063eb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706422

Change-Id: Ib18b0e002e7dd9793c287856613d0b1f4618b2fc
2021-05-26 00:21:48 +00:00
Vinit Nayak a66955d335 Merge "TaskMenu in overview UI polish" into sc-dev am: b74b9d2966 am: 60aa661a0f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604156

Change-Id: I7e506cd9d19cd3b19136abfad234abea9174889b
2021-05-26 00:16:53 +00:00
TreeHugger Robot 89c8b063eb Merge "Overview - Remove the space withheld for proactive chips" into sc-dev am: d98a784d0e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14706422

Change-Id: Idaaa1ab0c829f0e65ca6131cceda25f502914b10
2021-05-26 00:16:14 +00:00
TreeHugger Robot d98a784d0e Merge "Overview - Remove the space withheld for proactive chips" into sc-dev 2021-05-26 00:11:18 +00:00
TreeHugger Robot 829d551bc1 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-05-26 00:05:05 +00:00
Vinit Nayak 3716f61615 Merge "TaskMenu in overview UI polish" into sc-dev am: b74b9d2966
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604156

Change-Id: If7567a5c2639b03d95ffb1b34bf3466858d2f67d
2021-05-26 00:01:48 +00:00
Vinit Nayak 60aa661a0f Merge "TaskMenu in overview UI polish" into sc-dev am: b74b9d2966
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14604156

Change-Id: I358331b507bfc8a93c3ac487a1a1e6706064293e
2021-05-25 23:59:39 +00:00
Vinit Nayak b74b9d2966 Merge "TaskMenu in overview UI polish" into sc-dev 2021-05-25 23:56:00 +00:00
TreeHugger Robot 03334795e7 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-05-25 23:41:26 +00:00
TreeHugger Robot fce84542ad Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-v2-dev 2021-05-25 23:20:18 +00:00
Tony Wickham 1fe96abb86 Set mEnableDrawingLiveTile = false in RecentsView#reset()
This should help ensure we only finish the recents controller when we're actually still in live tile mode.

Test: theoretical (no repro steps)
Fixes: 187354606 (hopefully)
Change-Id: If0632f03535e4aafaea751724f080f272a6af58f
2021-05-25 15:59:31 -07:00
Bill Yi c2aec9b3b2 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I804fd295d96ddf2123ccaa8ff48c66ea92b70d33
2021-05-25 22:39:43 +00:00
Bill Yi 5a3b982292 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4c8c62ce573c641cf38c6fc6cb15fcf208289c20
2021-05-25 22:37:05 +00:00
Bill Yi e70d6c492b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I46496d705598b872aedbf575425d371d291c157d
2021-05-25 22:36:33 +00:00
zakcohen dad8a80d19 Overview - Remove the space withheld for proactive chips
Remove the space in the ui that was being used for chips.
Centralize some of the logic around calculating the action margins to aid
that.

Bug: 179922117
Test: Local build and flash and run
Change-Id: Icd2f894c858fab475c5411f3f7c412b899d5b220
2021-05-25 15:29:08 -07:00
Vinit Nayak 063cb2d892 TaskMenu in overview UI polish
Bug: 188168717
Test: TaskMenuLooks closer to mocks.
Change-Id: I1560b66a48c4c70c7c79f7307b2b76f22e30c653
2021-05-25 14:42:35 -07:00
Sunny Goyal 1b8bad7610 Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 6ba7479cf5 am: 3d22fce89b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: I89c8da71f97016a81466462e03c4a0fb7d54854c
2021-05-25 19:28:55 +00:00
Sunny Goyal 3d22fce89b Merge "Using icon color for dot and halo" into sc-dev am: 47da5d628c am: 6ba7479cf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14684870

Change-Id: Ibe400b26bf6ab6466d7c3a3753d307c37b706c45
2021-05-25 18:56:47 +00:00
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 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
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 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
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 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 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