Commit Graph

58436 Commits

Author SHA1 Message Date
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
Brian Isganitis 45444e1727 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69 am: c3d74c43b0 am: 592e4b1146
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I7a0b46a41620844b403abc9f88d5cf1eef60af7a
2021-06-21 20:31:19 +00:00
Schneider Victor-tulias 2a322833bd Merge "Update All set screen icon" into sc-dev am: 689d69572b am: b9528fb046 am: f76dfa7916
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: I62503092078dc0e022ffa708f8c03a979c8ab1bc
2021-06-21 20:24:40 +00:00
Tony Wickham 9c10d08e1e Ensure mConsumer isn't set to null in reset().
mResetGestureInputConsumer is not initialized until onUserUnlocked(), meaning it might still be null in reset(). Use NO_OP input consumer in that case.

Test: none
Bug: 191669813
Change-Id: Ib9edde50fba0b6164390ec2b5c877d3db74ddfeb
2021-06-21 13:24:01 -07:00
Brian Isganitis 592e4b1146 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69 am: c3d74c43b0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I6e293adf34dda0ea532ff7b8f5352c7fb8a69af8
2021-06-21 20:22:23 +00:00
Schneider Victor-tulias f76dfa7916 Merge "Update All set screen icon" into sc-dev am: 689d69572b am: b9528fb046
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: I11cd7bb5d9f712771d10b07cd81528fe1565fc51
2021-06-21 20:22:17 +00:00
Stevie Kideckel 1353235e69 Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d am: 84176d5601 am: 37a6723100
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: I35993b225da950ccf66f85d2244c9235621fb09e
2021-06-21 20:20:27 +00:00
Brian Isganitis b9a0985522 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69 am: 7d7b5e6106
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I59aa61468b63a03c6ea7207f97d4f9a2980fd809
2021-06-21 20:19:37 +00:00
Schneider Victor-tulias 2c546d1ce0 Merge "Update All set screen icon" into sc-dev am: 689d69572b am: ebc85f672d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: If57af21e6ed93997c3c4915d6316fd043ecf52de
2021-06-21 20:18:15 +00:00
Stevie Kideckel 37a6723100 Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d am: 84176d5601
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: Ib630fd7189e737a23b3628a04fe69cfa09229ea5
2021-06-21 20:17:58 +00:00
Steven Ng 8165eaecdf Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c am: 2087d7ee47 am: f36497af38
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: I28de9cf1b26eff7ea4b648772d19022129161568
2021-06-21 20:16:46 +00:00
Stevie Kideckel 2cecea84d1 Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d am: 2306ce3bdb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: Ie012d057b025460a7468919fcf9b866880982fd4
2021-06-21 20:16:30 +00:00
Steven Ng f36497af38 Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c am: 2087d7ee47
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: I10ba565b363b2cdec5a161dc6b0e8b3b3ecec782
2021-06-21 20:16:00 +00:00
Brian Isganitis 95438e9ae7 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69 am: 96f496df03 am: aed37b05e7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I70498e9ce47e28a8d76023b62b8635bafc20bb30
2021-06-21 20:15:46 +00:00
Steven Ng 2c9170f07a Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c am: 15ce3292fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: I81d432137f9f0a26c70916788ebdb65da95a4975
2021-06-21 20:15:11 +00:00
Schneider Victor-tulias abfca747bc Merge "Update All set screen icon" into sc-dev am: 689d69572b am: ad65347a98 am: d431b9cd0c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: I8d932671942957a8e7ab802bf5a2c8b8762b3ff3
2021-06-21 20:15:03 +00:00
Stevie Kideckel 4ef9cc99ab Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d am: f792c64c6a am: dbfded01db
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: I796fee16073dfd2f1a6054fa117b4810579cbd2a
2021-06-21 20:14:52 +00:00
Brian Isganitis aed37b05e7 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69 am: 96f496df03
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I1083b778cbf1fe743a9f4d336fd9953363d08639
2021-06-21 20:14:15 +00:00
Schneider Victor-tulias d431b9cd0c Merge "Update All set screen icon" into sc-dev am: 689d69572b am: ad65347a98
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: Ib89e8eca1810273ece698c67bf66466fcee913ee
2021-06-21 20:13:23 +00:00
Steven Ng 4fab7d8030 Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c am: 99db0b2bd1 am: 011d1f70d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: Ie34d5f0895a4b745a3ae284f91787499cacafe4c
2021-06-21 20:11:56 +00:00
Brian Isganitis 96f496df03 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I7a9b72f099c4e8908615cc8a7b13aa69b72e0f41
2021-06-21 20:08:20 +00:00
Schneider Victor-tulias ad65347a98 Merge "Update All set screen icon" into sc-dev am: 689d69572b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: Ib1864113e4ec2942eeb111d6b2b9277bf13e59ec
2021-06-21 20:07:59 +00:00
Stevie Kideckel dbfded01db Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d am: f792c64c6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: I5d99c26d1a2473b474947c5b5926ba0496013744
2021-06-21 20:07:29 +00:00
Steven Ng 011d1f70d8 Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c am: 99db0b2bd1
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: I61c08dffb442c18096df10a574286a82280433b0
2021-06-21 20:06:22 +00:00
Stevie Kideckel f792c64c6a Merge "Add spacing between items as decorations instead of margins" into sc-dev am: e03784478d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15028527

Change-Id: Iccc9f7d9b3add624b47557350cd85567b17206b1
2021-06-21 19:59:36 +00:00
Steven Ng 99db0b2bd1 Merge "Copy minSpanX & minSpanY when copying from an existing ItemInfo" into sc-dev am: 95c969530c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15046761

Change-Id: Icb87afa869ba70652911b779ec8163fc12f2ba92
2021-06-21 19:58:41 +00:00
Brian Isganitis c3d74c43b0 Merge "Revert "Fix home settings landing page"" into sc-dev am: fe139cdf69
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15030323

Change-Id: I04d964a3e0a37b36d73e2cc97e3a573de47dc6a7
2021-06-21 19:58:09 +00:00
Schneider Victor-tulias b9528fb046 Merge "Update All set screen icon" into sc-dev am: 689d69572b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15031481

Change-Id: Ibc35be313e6f53042157daf4a8ced190e74092f7
2021-06-21 19:58:00 +00:00