Alex Chau
0f233dcd61
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev am: c9744631f4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425536
Change-Id: I1c1f57e02aa53708c2abb1a46c58b3f4d0e43cac
2021-05-06 11:14:27 +00:00
Alex Chau
c9744631f4
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev
2021-05-06 10:56:03 +00:00
Tony Wickham
59159ba379
Merge "Some cleanup for handler invalidation" into sc-dev am: 739420bc38
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442753
Change-Id: I7cf99b5ce229922959ddcee73bf78012e6e090ff
2021-05-06 02:41:35 +00:00
Tony Wickham
739420bc38
Merge "Some cleanup for handler invalidation" into sc-dev
2021-05-06 02:21:57 +00:00
Evan Rosky
fa6f62aef1
Merge "Fix a bug in TouchInteractionService for fixed-display input rotation" into sc-dev am: 6255fd20f8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14429344
Change-Id: I56d049420e4305ecbfff940b1322af19751e525d
2021-05-06 00:49:24 +00:00
Evan Rosky
6255fd20f8
Merge "Fix a bug in TouchInteractionService for fixed-display input rotation" into sc-dev
2021-05-06 00:24:24 +00:00
Tony Wickham
95e62812b2
Some cleanup for handler invalidation
...
- Cancel reapplyWindowTransformAnim when STATE_HANDLER_INVALIDATED
- Set mActivity and mRecentsView = null in
invalidateHandlerWithLauncher() instead of posting from
invalidateHandler()
- Just in case, ignore onActivityInit() if we're already invalidated
Test: Tap repeatedly in nav region in an app, no crash
Fixes: 186983662
Change-Id: I3c005099b46ebb7c9203bcfcceedf48679dd1965
2021-05-05 16:20:17 -07:00
TreeHugger Robot
34881df9a3
Merge "Add funtional animation for SplitSelect from Grid." into sc-dev am: 46d420bf14
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14373811
Change-Id: Iecb2d8ce70fd7cd6491be9f4017b4b5491e2983b
2021-05-05 19:29:45 +00:00
TreeHugger Robot
46d420bf14
Merge "Add funtional animation for SplitSelect from Grid." into sc-dev
2021-05-05 19:03:47 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot
4ca60d50bd
Merge "Make overview color tinting work properly." into sc-dev
2021-05-04 23:18:48 +00:00
TreeHugger Robot
7b53c1edbe
Merge "Add NEW_TASK flag to Quickstep App Widget activity start" into sc-dev am: 4d5c733411
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425541
Change-Id: I40f6a3955cbbf9b8e5bb599c03ac75fcd33b0bd1
2021-05-04 22:39:30 +00:00
Sunny Goyal
1e6c62f794
Merge "Adding support for determining split layout for launcher." into sc-dev am: c52c0782a7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14286682
Change-Id: I303700e17d4917540d6f1067b0ac883afe181b5f
2021-05-04 22:39:24 +00:00
TreeHugger Robot
4d5c733411
Merge "Add NEW_TASK flag to Quickstep App Widget activity start" into sc-dev
2021-05-04 22:33:44 +00:00
Sunny Goyal
c52c0782a7
Merge "Adding support for determining split layout for launcher." into sc-dev
2021-05-04 22:33:38 +00:00
Steven Ng
711c242e02
Merge "Add a flag to enable custom local filter for recommended widgets" into sc-dev am: 3e6b93cedb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14339827
Change-Id: I2d0a2e6f3525058260085e5b994212ee5f453c7c
2021-05-04 22:32:18 +00:00
Steven Ng
3e6b93cedb
Merge "Add a flag to enable custom local filter for recommended widgets" into sc-dev
2021-05-04 22:02:25 +00:00
TreeHugger Robot
c88b5f92af
Merge "AssistContentRequester-weaken references to system callback" into sc-dev am: 7d54a31ba9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14413471
Change-Id: I72a1b5ab2c96460ea67ff926d5c6405f589907e0
2021-05-04 21:38:12 +00:00
Tracy Zhou
eca4cb62e8
Merge "Revert "Revert "Revert "Finish recents animation upon home rotation"""" into sc-dev am: a570b82aff
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430716
Change-Id: I5efc5bd520f52eeef97d24f2aa81bcb80af01d54
2021-05-04 21:37:46 +00:00
TreeHugger Robot
7d54a31ba9
Merge "AssistContentRequester-weaken references to system callback" into sc-dev
2021-05-04 21:28:22 +00:00
Tracy Zhou
a570b82aff
Merge "Revert "Revert "Revert "Finish recents animation upon home rotation"""" into sc-dev
2021-05-04 21:17:45 +00:00
Tracy Zhou
06df8fe4d8
Revert "Revert "Revert "Finish recents animation upon home rotation"""
...
This reverts commit ef7b4d5dae .
Reason for revert: Possibly broke a test
Bug: 187112839
Change-Id: I16ac2a155af9a0ae2ea60f55c52e0b3bf4307089
2021-05-04 21:17:36 +00:00
zakcohen
7167c3f3c9
Make overview color tinting work properly.
...
Bug: 179922117
Test: Local
Change-Id: I0b6620be8184bab836ed91d087739df57817eb37
2021-05-04 13:56:34 -07:00
Evan Rosky
04fb7ee44c
Fix a bug in TouchInteractionService for fixed-display input rotation
...
DisplayManager display size seems to be pre-rotation, so adjust
logic in TouchInteractionService to account for that.
Bug: 179274888
Test: atest Launcher3Tests:com.android.launcher3.ui.TaplTestsLauncher3
Change-Id: Ie89d7b7d74c8bece8a2c109a0b350bc190356bf2
2021-05-04 11:52:26 -07:00
Cyrus Boadway
04b8ac607e
Add NEW_TASK flag to Quickstep App Widget activity start
...
Include the NEW_TASK flag to activity starts launched from Quickstep
hosted App Widgets.
This is consistent with the default non-Quickstep generated
ActivityOptions from RemoteViews::getLaunchOptions.
Bug: 169042867
Test: manual
Change-Id: Iba370731f4126d92a11a4e348e74888b533d4d8b
2021-05-04 18:38:48 +00:00
Cyrus Boadway
95b17b25f0
Merge "Change flag type to control Quickstep widget app launch" into sc-dev am: 3c94052bb5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425537
Change-Id: I88d783dbbd83d4be495542ca5a0f9e9155d040ed
2021-05-04 17:49:44 +00:00
Cyrus Boadway
3c94052bb5
Merge "Change flag type to control Quickstep widget app launch" into sc-dev
2021-05-04 17:34:01 +00:00
Samuel Fufa
049815e689
Merge changes Ice83b544,If0bc2a6d into sc-dev am: 30ffc3f95c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411239
Change-Id: Ieae1b982fc67db8c81e35fba07ac56dea0d0343f
2021-05-04 15:27:21 +00:00