Alex Chau
c9744631f4
Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev
2021-05-06 10:56:03 +00:00
Sunny Goyal
b47172bc4e
Linking various settings that control icon cache to icon state
...
Also separating icon provider for recents from Launcher as it used a fixed size
Bug: 183641907
Test: Verified on device
Change-Id: I6ea3caa0066d1483bfb8a81f0e8aaa472c813afe
2021-05-05 23:05:38 -07:00
Tony Wickham
48d6dc7708
Fix running task damped by overscroll when other tasks are offscreen
...
Test: Swipe up and to the left from an app, ensure the running task
scrolls freely until the adjacent task comes in from offscreen
Bug: 185411781
Change-Id: I9749124a6b6f014b55e3430d1764766a232eb9dd
2021-05-05 21:08:54 -07:00
Tony Wickham
e8b22d5e60
When overview appears from motion pause, come up from bottom
...
- Add vertical offset calculations to RecentsView (in addition to
the existing horizontal offset which has been renamed accordingly).
- LauncherState#getOverviewScaleAndOffset() now supports both
horizontal and vertical offsets and is specified such that overview
appears and disappears from the bottom of the screen rather than the
side.
- Quick switch still uses horizontal offset to come from the side.
- No longer need to scroll to page 0 when translating offscreen.
- Update interpolators for overview to home transition.
- Align 2 button mode transition with 0 button mode.
Test: Visually checking all of these. As appropriate, repeat in 0, 2, 3
button modes, landscape/portrait/fake landscape, and 3P launcher
- Quick switch from home
- Home to overview
- Overview to home (swipe up)
- Overview to home (tap outside)
- Overview to home (back invocation)
- Quick switch from app
- Swipe up and hold from app
- Dismiss an app
- Empty recents
- Split select state to home
- Modal state to home
Bug: 185411781
Change-Id: Ic59b877ccc0050afd7cd478778e9eeb60e2e47f7
2021-05-05 21:08:49 -07:00
Tony Wickham
bb3460c01f
Align home/back button from overview with tap outside
...
Set all interpolators in QuickstepAtomicAnimationFactory instead of
overriding some in OverviewToHomeAnim. This also means we can just
use a normal state transition instead of OverviewToHomeAnim when
tapping outside recents (i.e. startHome()).
Test: in all three gesture modes, the same animation is played
whether tapping outside recents, pressing home, or pressing back
Bug: 185411781
Change-Id: Ibe8734e8bd7041943eb76cac30d7cac26a90c73e
2021-05-05 21:08:21 -07:00
Tony Wickham
a1241a586d
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: I4190af1777e00723d4ed64d5e24c511bf69b3deb
2021-05-06 02:43:14 +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
c3f57f39fe
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: Ie1ec7e6050d4b2475b7843f0397a91cd1dc6f8f6
2021-05-06 02:41:21 +00:00
Tony Wickham
e5c2111d28
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: Icd2f8eea11b0249bbfb67abe3b334a8a85d2cee3
2021-05-06 02:41:11 +00:00
Tony Wickham
739420bc38
Merge "Some cleanup for handler invalidation" into sc-dev
2021-05-06 02:21:57 +00:00
Evan Rosky
a1837f7e34
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: Id86e853bd2581d5c6fca54c3bfbd9b2615378ae4
2021-05-06 00:51:09 +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
8721df88b9
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: Ib7fff2de72a5ea23449158cb7e158111076b077e
2021-05-06 00:49:18 +00:00
Evan Rosky
ffcd1131dd
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: Ibee1e48fae33127b3f6bb023b9cc9466d87c213c
2021-05-06 00:49:08 +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
Evan Rosky
7ee3651a19
Launch overview as transient
...
This way it won't cause the top running activity to pause until
the transition completes
Bug: 183993884
Test: enable shell_transitions, launch an app, go to overview,
observe dumpsys and see that app remains RESUMED
Change-Id: I4311ade2e47062129874ae92bc7f5bea81bf2439
2021-05-05 17:01:45 -07:00
Tony Wickham
4f78df9300
Explicitly set mAllowGoingDown = false when only up is allowed
...
Test: swipe up and down on a task, then scroll to clear all and
try it again; should go up but not down in the second case
Fixes: 187349538
Change-Id: I0879bafb3b5bb3c5ced8a502c98bfba7a3ce8a51
2021-05-05 16:59:38 -07: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
Vinit Nayak
673faf59ee
Add IME switcher/hide button bar when IME showing
...
Bug: 180046394
Change-Id: Ic2bd919ab3d27e0a430b081c771ea8dc5827be81
2021-05-05 12:50:39 -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
511fd3bd7f
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: I87348741e8c71cf8a445a42156ff03f17f806d92
2021-05-05 19:29:45 +00:00
TreeHugger Robot
ad73d45d5a
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: I2da7c6106a544f209e8d59d0b815367e1815ada4
2021-05-05 19:29:34 +00:00
TreeHugger Robot
1c55c0b645
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: I1cd80fc8b4843ada54292b8419fc9271189b2631
2021-05-05 19:08:57 +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
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