Commit Graph

20478 Commits

Author SHA1 Message Date
TreeHugger Robot 46d420bf14 Merge "Add funtional animation for SplitSelect from Grid." into sc-dev 2021-05-05 19:03:47 +00:00
TreeHugger Robot 6d9bab323f Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev am: 2f890c4ab7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436800

Change-Id: Id3dda28a80e2695983721397204f26a975a89224
2021-05-05 19:01:32 +00:00
TreeHugger Robot 4536594248 Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev am: 2f890c4ab7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436800

Change-Id: I1ccb205af6f139e42f4e3d821ca5047802cfb9ee
2021-05-05 18:59:58 +00:00
TreeHugger Robot 4432ef7735 Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev am: 2f890c4ab7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436800

Change-Id: I2ec77709d65955e9874b07bd11d4669261ca655d
2021-05-05 18:59:37 +00:00
TreeHugger Robot 6812cc8bd4 Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev am: 2f890c4ab7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436800

Change-Id: Ia5d65d584fb4d21420d4bf964f32b91f613fc5ff
2021-05-05 18:59:24 +00:00
TreeHugger Robot 2f890c4ab7 Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev 2021-05-05 18:37:25 +00:00
Vinit Nayak 16fd85629d Initial commit of 3 button work
Home, Back and Recents basic functionality working

Fixes: 180046394
Change-Id: Ifc5c767e35e88183500d14d14736eb40df436369
2021-05-05 11:25:36 -07:00
TreeHugger Robot 795ca19a3c Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev am: 9297064b2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440777

Change-Id: I456f2c2dbb158af6947cc8352aa7b19c2ac3da37
2021-05-05 18:15:09 +00:00
TreeHugger Robot ddaab15dba Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551

Change-Id: Ia089634e14dc1db6f50985369d6b2a43e894c1b0
2021-05-05 18:14:54 +00:00
Winson Chung 60148a1716 Merge "Allow binder calls from creating recents orientated state for now" into sc-dev am: cc03a9afa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14421143

Change-Id: I4f401767475afa6eaeeb9d810b6cf02d6e5ca0fd
2021-05-05 18:14:35 +00:00
Sunny Goyal 53ceb7df56 Some 3P launcher transition fixes am: 91d26f0b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430440

Change-Id: I9c2f0ff9dc09c0aaf2814c2fe75459dbe2937c19
2021-05-05 18:13:56 +00:00
TreeHugger Robot ae1d07c3ed Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev am: 9297064b2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440777

Change-Id: Ibcf9dec303bfc38f84036575f77ef6061164e6d4
2021-05-05 18:03:21 +00:00
TreeHugger Robot ebc73b1139 Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev am: 9297064b2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440777

Change-Id: I223efc6f4c23fd0e215b308be66e069762c1f1af
2021-05-05 18:03:10 +00:00
TreeHugger Robot d9e48fceec Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev am: 9297064b2e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440777

Change-Id: I555de34cad7b7316ad503b81a5b47302870cf5e7
2021-05-05 18:03:09 +00:00
TreeHugger Robot b02d804b48 Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551

Change-Id: Idbf545544316d93757ac5779ebae696e27d6cc4e
2021-05-05 18:03:04 +00:00
TreeHugger Robot 5c3ce04d0a Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551

Change-Id: I0c3e9ab80f9a67721adf266b96aedf41f50950e4
2021-05-05 18:03:00 +00:00
Winson Chung 167033df6f Merge "Allow binder calls from creating recents orientated state for now" into sc-dev am: cc03a9afa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14421143

Change-Id: Ifc2b7bd29929fa3109d54e990bbc129798199085
2021-05-05 18:03:00 +00:00
TreeHugger Robot 114ed01217 Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551

Change-Id: Ifb3b0faa8b2c896f948eca080a7312ad8bb5cd1a
2021-05-05 18:02:57 +00:00
Sunny Goyal 90e32eb605 Some 3P launcher transition fixes am: 91d26f0b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430440

Change-Id: I4da1f470c9311acd3eb237f1690656f7a3970898
2021-05-05 18:02:56 +00:00
Winson Chung d39c3b4347 Merge "Allow binder calls from creating recents orientated state for now" into sc-dev am: cc03a9afa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14421143

Change-Id: Ie19b35ea09b28e3ed53f2ef2248e35784ae9dd76
2021-05-05 18:02:55 +00:00
Winson Chung 7852ec43e4 Merge "Allow binder calls from creating recents orientated state for now" into sc-dev am: cc03a9afa9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14421143

Change-Id: I07db8cb95207567ae17c3472e4ea6ce0378fcb28
2021-05-05 18:02:52 +00:00
Sunny Goyal 5ded309dcd Some 3P launcher transition fixes am: 91d26f0b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430440

Change-Id: Ief2991dc716e30a970ffd033df6eddf2d095e834
2021-05-05 18:02:46 +00:00
Sunny Goyal 772ff6a427 Some 3P launcher transition fixes am: 91d26f0b5e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430440

Change-Id: I7b8434c01f4549271f1eed4167551afccb0cc340
2021-05-05 18:02:37 +00:00
TreeHugger Robot 9297064b2e Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev 2021-05-05 17:50:57 +00:00
TreeHugger Robot cf6900d9ee Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev 2021-05-05 17:41:48 +00:00
Winson Chung cc03a9afa9 Merge "Allow binder calls from creating recents orientated state for now" into sc-dev 2021-05-05 17:39:15 +00:00
Vinit Nayak 2dbdddb4ba Add funtional animation for SplitSelect from Grid.
Long ways to go to final UI - TODO(b/186800707)
Add comments to grid layout code,
no functional changes at all.

Bug: 181705607
Test: Enter split screen from overview task menu
in grid and carousel. Able to select all items
and enter split.

Change-Id: Ib62f1b286acf0781ec47862fa31b670e6ff1892a
2021-05-05 09:38:42 -07:00
Cyrus Boadway f5c9900686 Add OnGlobalLayout listener to WidgetFloatingView
This mirrors the FloatingIconView implementation.

Bug: 169042867
Test: manual
Change-Id: Ic5531dd847af66b9b17f6806dc7fc04c00c42f06
2021-05-05 16:11:35 +00:00
Sunny Goyal 91d26f0b5e Some 3P launcher transition fixes
Bug: 182494821
Test: Manual
Change-Id: Ia003b50493dce24a439fc735c990ee470975f68f
2021-05-05 09:09:36 -07:00
Cyrus Boadway e25a5157b4 Fix FloatingWidgetView post-animation fallback background handling am: e41034034f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440781

Change-Id: Id697f4b941d6358f756fafdd64e82e9fd08e8402
2021-05-05 16:04:34 +00:00
Cyrus Boadway f8b0d6f3c1 Fix FloatingWidgetView post-animation fallback background handling am: e41034034f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440781

Change-Id: If1146ba268af3817474213cafc2a320081268499
2021-05-05 16:03:02 +00:00
Cyrus Boadway 44e1d463af Fix FloatingWidgetView post-animation fallback background handling am: e41034034f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440781

Change-Id: I56131e0b57e71de16f9b83525acf5e30f38ec221
2021-05-05 16:02:56 +00:00
Cyrus Boadway 1a36c637e4 Fix FloatingWidgetView post-animation fallback background handling am: e41034034f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440781

Change-Id: I3dc5a43bfc407ca89d67c494deee6d70a596b8bd
2021-05-05 16:02:29 +00:00
Cyrus Boadway e41034034f Fix FloatingWidgetView post-animation fallback background handling
The background drawables should only be restored to the original view if
the values are non-null. The original view may have had a background drawable
be a drawable, just not one that's elligible for animation. In that
case the local reference is null. We should not restore that.

Bug: 169042867
Test: manual
Change-Id: I54eaac5632e3f4f25daee2c36d7609e8b2ffedaf
2021-05-05 14:23:35 +00:00
TreeHugger Robot 20caf8147a Merge "Support live tile for 3rd party launchers" into sc-dev am: 7645422e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409355

Change-Id: I5f88903f2e00833c4e5ade01b488bb02ad20f1ce
2021-05-05 06:16:43 +00:00
TreeHugger Robot 38d897a9a4 Merge "Support live tile for 3rd party launchers" into sc-dev am: 7645422e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409355

Change-Id: I8e9143a259a1ab49c1a7f5af622fad27d1adeb9f
2021-05-05 06:15:05 +00:00
TreeHugger Robot 1cd78c3317 Merge "Support live tile for 3rd party launchers" into sc-dev am: 7645422e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409355

Change-Id: If00238d4f7b6d87bf1742863f68de2d923c31f68
2021-05-05 06:14:43 +00:00
TreeHugger Robot b285d3174b Merge "Support live tile for 3rd party launchers" into sc-dev am: 7645422e37
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409355

Change-Id: I67771d383e9f166a2f39e4a69fa1440285ed28e3
2021-05-05 06:14:43 +00:00
TreeHugger Robot 7645422e37 Merge "Support live tile for 3rd party launchers" into sc-dev 2021-05-05 06:04:10 +00:00
Tony Wickham ae4e31d3ae Fix a couple of issues with quick switch from home to empty recents
- Add SKIP_SCRIM for mNonOverviewAnim, as the scrim  is already
  handled by mXOverviewAnim (this prevents some flickering).
- If RecentsView is empty, fade it in. This is less jarring than
  the "No recent items" appearing immediately without animation,
  and ensures it fades out seamlessly if you return home instead.

Test: Quick switch from home with no tasks and 1 task
Bug: 174228745
Change-Id: I57edc0cea4d1dfa40f87f7ccc5aa3d6b8929a1ff
2021-05-04 22:08:42 -07:00
Andy Wickham 90097d873d Fixes NPE in AbsSwipeUpHandler.
Fixes: 187243410
Test: Manual (not sure of exact repro steps, but I was hitting it
before installing - though reinstall itself may have fixed it).

Change-Id: I7510a675da9d2c1a484da8e00ca856f19445025c
2021-05-04 22:02:16 -07:00
Tracy Zhou 7497a874ee Support live tile for 3rd party launchers
Fixes: 183725555
Test: tapl and manually install launcher3 with quickstep

Change-Id: Id7727c8d87db61de992e6341939c322da9ff5204
2021-05-04 21:48:58 -07:00
TreeHugger Robot 4bad94b86d Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: Ie4f66fb78065c6ca19ce5a4fe5953476e811e40e
2021-05-05 03:23:59 +00:00
TreeHugger Robot 910e62eaae Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: I0684a0c54ecf615a46ec257094ff4e40563e661d
2021-05-05 03:22:56 +00:00
TreeHugger Robot 0b391711d5 Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: Id000f1f81eff3a2cb5f1476090f2d734f962a050
2021-05-05 03:22:52 +00:00
TreeHugger Robot 70e8b28c12 Merge "Adds AllSetActivity in Launcher." into sc-dev am: 19a1c4765f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14419322

Change-Id: I33f1d7c223e3b12c04b9fc8935fbdd7a95fbb879
2021-05-05 03:22:43 +00:00
TreeHugger Robot 19a1c4765f Merge "Adds AllSetActivity in Launcher." into sc-dev 2021-05-05 03:12:07 +00:00
Andy Wickham 474c616e98 Adds AllSetActivity in Launcher.
Mostly copied from its location in Tips.

Some exceptions:
 - Accent color (used for the icon at the top and link text)
   is derived from intent extras to match the rest of SUW.
   If needed, we could also pass other colors this way;
   currently they just use default light/dark mode colors.
 - Currently there is no animation in the middle. Not sure
   if one is expected, but we can add it later if so.

Bug: 184722307
Test: Manually passing arbitrary colors via adb:
adb shell am start -a com.android.quickstep.action.GESTURE_ONBOARDING_ALL_SET --ei accent_color_dark_mode -2134901760 --ei accent_color_light_mode 2147418112

Change-Id: I1fb8b20b88b7485d28f06afd2b421999ad847266
2021-05-04 18:44:22 -07:00
TreeHugger Robot 3c0312c128 Merge "Make overview color tinting work properly." into sc-dev am: 4ca60d50bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430443

Change-Id: Id717e1fe720215309e82c716cbe80bd95517200b
2021-05-04 23:30:35 +00:00
TreeHugger Robot 93abf33bbe Merge "Make overview color tinting work properly." into sc-dev am: 4ca60d50bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430443

Change-Id: I3ca6a8869f9377ce684503ddbce5150436149e67
2021-05-04 23:28:56 +00:00