Commit Graph

49925 Commits

Author SHA1 Message Date
Lucas Dupin f1151a21e4 Merge "Apply depth even when surface is null" into sc-dev am: 818ed4b794
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055654

Change-Id: I3a0ac6094a00ad3f8ab4d4ddd148284d9848ba8d
2021-06-22 01:22:41 +00:00
Lucas Dupin 07b3fc2d2c Merge "Apply depth even when surface is null" into sc-dev am: 818ed4b794
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055654

Change-Id: I66b092af5dc6ca580672865f65aaffe7eb98de33
2021-06-22 01:21:14 +00:00
android-build-team Robot 6cc574b0cc Snap for 7479185 from a29220f6b6 to sc-v2-release
Change-Id: I3ec2119bbf229f5dd9a798801f14054f13abd76c
2021-06-22 01:11:26 +00:00
Lucas Dupin 818ed4b794 Merge "Apply depth even when surface is null" into sc-dev 2021-06-22 01:10:23 +00:00
android-build-team Robot 8e61a66cba Snap for 7478986 from fe139cdf69 to sc-release
Change-Id: I0189154c4c604bd9f594d9b3019085819bcd2f58
2021-06-22 01:09:21 +00:00
TreeHugger Robot 9490c694c7 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 86690e5e49 am: b1e9e11f79
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: Ic50405e5861980035060a4085dbb327cdc72802e
2021-06-22 01:07:41 +00:00
TreeHugger Robot f5aea7b1e3 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 790a623849 am: a236a9a90b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I7137a509d942ab6771782e6f49f5cf9d8db41034
2021-06-22 01:07:24 +00:00
TreeHugger Robot b1e9e11f79 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 86690e5e49
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I9781e86c4716ace392a202bbefda8bb16438b643
2021-06-22 00:56:02 +00:00
TreeHugger Robot a236a9a90b Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 790a623849
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: Ie8429263ff510592514a33d11c732d6eebf394b3
2021-06-22 00:55:42 +00:00
TreeHugger Robot 0e9e8f114a Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12 am: 6ee3ed063f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I64bef48746bdf8233e4b178aa3309da81a3cb3fa
2021-06-22 00:51:41 +00:00
TreeHugger Robot 86690e5e49 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I9d28adc904b60c13fe220c86bdc9597596e5dc37
2021-06-22 00:42:15 +00:00
TreeHugger Robot 790a623849 Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: I9cd5bf607f45fc976659c63ff6f3bc6acb4b05de
2021-06-22 00:37:39 +00:00
TreeHugger Robot 6ee3ed063f Merge "NIU Actions: Update background and dark mode colors" into sc-dev am: 3f45639b12
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15055430

Change-Id: Ie2543915b3b7227626ba016a48118e3f19aa5634
2021-06-22 00:37:35 +00:00
TreeHugger Robot 3f45639b12 Merge "NIU Actions: Update background and dark mode colors" into sc-dev 2021-06-22 00:27:44 +00:00
Sunny Goyal bb41dd38a0 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2 am: b1fb20f23f am: 5246141057
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: Ia2ed69f19f413da2ecb6a24ec52b762c98a37dc9
2021-06-21 23:50:30 +00:00
Sunny Goyal cb057ad580 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2 am: b861d4dc77 am: f5445d784d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: I5401c190cf31bffeafc22d6ecd98a62e1b461c2c
2021-06-21 23:49:56 +00:00
Jon Spivack 02bbd80ee9 NIU Actions: More specific permissions error codes
The user must enable two different Assistant permissions for the NIU Actions feature to function. Previously, a single error code was sent if either permission was missing. Now a different code is sent depending on which permission is missing, allowing Google Go to better direct the user to the proper setting.

Bug: 191109150
Test: Manual (Pixel 3A)
Test: m -j RunLauncherGoGoogleRoboTests
Change-Id: Id301ffddf36b992b5722c52ccc6e597e003942dd
2021-06-21 16:49:40 -07:00
Sunny Goyal 5246141057 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2 am: b1fb20f23f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: I317300cf2e136656e1dd813d01c111a2559bd233
2021-06-21 23:40:09 +00:00
Sunny Goyal f5445d784d Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2 am: b861d4dc77
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: Ie1f68a7bb09b7ec1f74f2a1c6d3f1deaa620abe2
2021-06-21 23:35:56 +00:00
Sunny Goyal f9ea3f9d87 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2 am: b7bd28692a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: Ia6a11b3b0f533b73771d33e1f47debf5f1bab577
2021-06-21 23:35:15 +00:00
Lucas Dupin a6c38be150 Apply depth even when surface is null
We need to update mDepth even when the surface is null, otherwise
events will be ignored and mDepth will have the wrong value when
waking up from screen-off.

Test: pull up app drawer, screen off, unlock
Test: go to overview, screen off, unlock
Test: launch app, observe blurs and zoom
Fixes: 191153501
Change-Id: I33f5d84a50e24f05a09769b1f7f3c27969f847cd
2021-06-21 16:27:11 -07:00
Sunny Goyal 3db2002966 Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb am: a29220f6b6 am: 0ed488baf2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: Ieaba328735303690b9697bbe3bf678966c75e2fb
2021-06-21 23:21:42 +00:00
Tony Wickham 7e7247af52 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5 am: 16119f5004 am: a7d203ce90
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: Ia63a7c09e7ef5f2dbab228bbbe02429151de57f2
2021-06-21 23:21:34 +00:00
Sunny Goyal b861d4dc77 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: I6cb97b3162e13037b4400d7c90105ccf62c565d8
2021-06-21 23:21:14 +00:00
Sunny Goyal 83230f5fec Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb am: a56c1e0617 am: 2653cd5eb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: I8c73609fc39711b0d31c2a1ca2376b076eb24a0b
2021-06-21 23:20:57 +00:00
Tony Wickham 5d12c49a21 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5 am: f0e1e8bf00 am: 66b60ab354
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: I56ed04e0efc3224d3adc9d204e7af231e1676d4d
2021-06-21 23:20:13 +00:00
Sunny Goyal b1fb20f23f Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: I6f11306821f4e4356fd66e82ce28f8c04745ce39
2021-06-21 23:19:46 +00:00
Sunny Goyal b7bd28692a Merge "Finish wrapped launcher animations if impl is gone" into sc-dev am: 871d435be2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15054029

Change-Id: I13ee44bada34c3906591de8b619ce236100f1af7
2021-06-21 23:19:45 +00:00
Brian Isganitis 4a76315805 Use wallpaper colors for widgets in wallpaper change preview
Test: Widgets should adapt to new wallpaper colors in launcher preview.
Bug: 191499358
Change-Id: I3fb76b6036cb909771b789eac15742df78c2c742
2021-06-21 19:18:17 -04:00
Sunny Goyal 6cc492941b Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb am: b6cdee307b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: I250b79241b12f23c0f53d1710887bf7327071cfb
2021-06-21 23:11:44 +00:00
Tony Wickham 10018d2191 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5 am: 4de1650940
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: I3943bc9286ae242dca9e9256ea34e65937463a10
2021-06-21 23:11:35 +00:00
Sunny Goyal 0ed488baf2 Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb am: a29220f6b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: Iebe7df38a201ee1eae6e3eaac083e7dffa454573
2021-06-21 23:07:55 +00:00
Tony Wickham a7d203ce90 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5 am: 16119f5004
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: I6e8bc29acd085990294f8b715cde9b6c18561617
2021-06-21 23:07:50 +00:00
Sunny Goyal 696c612964 Fixing TaskView.launchTask.onEndCallback is not called
Sometimes onAnimaitonCancelled can be called without onCreate. Calling
onEnd in this case so that the sate is cleared

Removing additional subclassing for the runner

Bug: 190856140
Test: Manual
Change-Id: If105cb343cab446a4eac90a45184ce50c6e4c485
2021-06-21 16:06:40 -07:00
Sunny Goyal 871d435be2 Merge "Finish wrapped launcher animations if impl is gone" into sc-dev 2021-06-21 23:03:27 +00:00
Jon Spivack 2a2eee1949 NIU Actions: Update background and dark mode colors
This updates the Recents screen to use the default background colors and updates the NIU Actions buttons to better contrast with the background in dark mode.

Bug: 191049004
Test: Manual (Pixel 3A)
Change-Id: I8aef9968623be373fb71a729a0b99a7b9899cff1
2021-06-21 15:54:05 -07:00
Sunny Goyal 2653cd5eb0 Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb am: a56c1e0617
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: I40c3949b3427e05a0f86f85d6f82c0a325962c6b
2021-06-21 22:53:33 +00:00
Tony Wickham 66b60ab354 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5 am: f0e1e8bf00
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: Icf283921b956e9822ecd7b3fa26755bc809b25da
2021-06-21 22:53:11 +00:00
Sunny Goyal a29220f6b6 Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: I0361531f4ff2695d97b5e48c5abc0c40fe505112
2021-06-21 22:42:06 +00:00
Tony Wickham 16119f5004 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: Ia8a964effbc89754cd7f29986404d6ba1474a668
2021-06-21 22:41:32 +00:00
Sunny Goyal a56c1e0617 Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: I68c12433ba07dcba23bb9f6ed1ed507ea21484bb
2021-06-21 22:40:34 +00:00
Sunny Goyal b6cdee307b Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev am: b3eafe97bb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15032078

Change-Id: Ia84604f9126b2dc142c1d99ae54c71f36accaa0f
2021-06-21 22:40:28 +00:00
Tony Wickham 4de1650940 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: I0842941791cddd5c8c33c73f7feb68edee78b69b
2021-06-21 22:40:20 +00:00
Tony Wickham f0e1e8bf00 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev am: 82fc5c83a5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15052402

Change-Id: I8a21b8c6826cda2341bdf2f23698e1c4aa014246
2021-06-21 22:40:09 +00:00
Sunny Goyal b3eafe97bb Merge "Fixing animation end not-called when cancelling state the animation recursively" into sc-dev 2021-06-21 22:32:23 +00:00
zakcohen 061548668d Fade overview action buttons faster in overview -> home
Spec says transition should take ~80ms, default for this transition is
~300ms, so clamp to a quarter of the range.

Bug: 191699762
Test: Local
Change-Id: I5ef6701eee0d25d5d9987e05cb53aee3e5e8e143
2021-06-21 15:18:16 -07:00
Tony Wickham 82fc5c83a5 Merge "Ensure mConsumer isn't set to null in reset()." into sc-dev 2021-06-21 22:15:48 +00:00
Steven Ng 50f1ff1808 Update all apps & widget pickers personal / work tabs
Test: Open all apps to confirm tab style match the mock in both dark &
      light mode.
      Open widgets picker to confirm tab style match the mock in both
      dark & light mode.
Bug: 191387242
Change-Id: Ie0111f65813128fef5befbdefd451cf0e9f01be9
2021-06-21 22:02:54 +01:00
Evan Rosky 08c3480b84 Finish wrapped launcher animations if impl is gone
If the runner impl is gone (since it is a weakreference), we
still need to complete the animation contract by calling the
finish callback, so do that.

Bug: 183993924
Test: atest ActivityMetricsLoggerTests
Change-Id: Idce1859f0417cb74bbb9884e0d06750539e4545e
(cherry picked from commit 8a672e15cc)
2021-06-21 20:51:12 +00:00
Sunny Goyal de644313b0 Fixing animation end not-called when cancelling state the animation recursively
Bug: 190856140
Test: Manual
Change-Id: I5d6a00c1d1c0e95e615b7f2115e3e4ebb56b987f
2021-06-21 13:47:49 -07:00