Hongwei Wang
baedbeb438
Merge "Support entering PiP from live tile" into sc-dev am: ea34ef9f5f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14455858
Change-Id: I79e104de6a81f7fa6ede067a6a6a34f86e31ac04
2021-05-07 01:03:32 +00:00
Hongwei Wang
ea34ef9f5f
Merge "Support entering PiP from live tile" into sc-dev
2021-05-07 00:57:46 +00:00
Winson Chung
1e018374a0
Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869
Change-Id: I700a6742cd4d9a2a43e4ff7c897a921d9c5fd484
2021-05-07 00:54:11 +00:00
Winson Chung
bcc2fdeb69
Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869
Change-Id: I43d3cd3cd9523051491de7e9d3b2ae8fb80639a5
2021-05-07 00:52:32 +00:00
Winson Chung
70c0c806c0
Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869
Change-Id: I9a874d5f45f64573b266a8096bf5cbf9a346f31f
2021-05-07 00:52:18 +00:00
Winson Chung
d9b8603dfb
Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869
Change-Id: Ib53d2ae2c0b4bce271cb0f5040fe5c646ea7e453
2021-05-07 00:52:13 +00:00
Winson Chung
45849e22c9
Merge "Handle volume key events while in overview" into sc-dev
2021-05-07 00:36:48 +00:00
Winson Chung
5da72b5be8
Handle volume key events while in overview
...
- Normally this gets dispatched to an app's phone window to notify
the media session manager, but because the recents input consumer
routes to the launcher window bypassing phone window, the event
never gets processed.
Fixes: 185520916
Test: Open overview from an app, ensure volume dialog still shows
Change-Id: I8784a6211e56f320b8b9d688fa0568c583652725
2021-05-07 00:36:34 +00:00
TreeHugger Robot
6b5c7da9d5
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776
Change-Id: I068e414ea83d67f2672a04f5ca2a8441c6cb0840
2021-05-06 23:49:53 +00:00
TreeHugger Robot
39cc77ba92
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776
Change-Id: I081a7e4e365f902b701ca3319641666686ef529b
2021-05-06 23:48:02 +00:00
TreeHugger Robot
818218df56
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776
Change-Id: I7a81baff54dddeee3590963710c8059f079af024
2021-05-06 23:47:49 +00:00
TreeHugger Robot
5d365d6e23
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776
Change-Id: I562f118afcaaa8bb8ce080e67fd8d8a5af08c717
2021-05-06 23:46:32 +00:00
Tracy Zhou
adc109cabe
Null check RecentsView before calling launchSideTaskInLiveTileMode
...
Test: N/A
Fixes: 185066406
Change-Id: Ic85bbe02b93c7cc652543138d3ea79f7892c7268
2021-05-06 16:36:31 -07:00
TreeHugger Robot
2b93dbb0b8
Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev
2021-05-06 23:26:14 +00:00
Hongwei Wang
a608df0c81
Support entering PiP from live tile
...
When finish the recents animation, send user leave hint if live tile is
currently on. Note that we force the PiP window fades in in this case.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/bLoRpbgcyZBt1UiQPZEXcF
Bug: 187421300
Test: manual, see video
Change-Id: I07bc307c5eb895cd23b764af92e39ff7e6f8e805
2021-05-06 16:10:44 -07:00
Hongwei Wang
9d1514b4f2
Get PiP round corner radius from WMShell
...
Fixed also the issue that when
SystemUiProxy#setPinnedStackAnimationListener is called,
SystemUiProxy#mPiP may not have been initialized, defer the set/register
action in SystemUiProxy#setProxy if applicable.
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/dmUy8qBEMxHShFcFKB3cT3
Bug: 171721389
Test: make sure autoEnterPip has round corner support, see video
Change-Id: I38866bbc77bc2fa94f0197bb90c02e786198443e
2021-05-06 14:39:23 -07:00
Sunny Goyal
8fb9fd76c3
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ia9c080649db45a095aa25a8cfc47e81443bcce32
2021-05-06 21:20:16 +00:00
Sunny Goyal
c24ab51afb
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: I078a02d5b7682e2ae8842fc8620941f87172782e
2021-05-06 21:19:59 +00:00
Sunny Goyal
41077b8c06
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ia29435e1c144a668367cf757e05b23fbaa57a0fc
2021-05-06 21:19:39 +00:00
Sunny Goyal
5386e98900
Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001
Change-Id: Ib85d5ee9beb61bb21e9e72d9589b9906e3b09f83
2021-05-06 21:03:58 +00:00
Sunny Goyal
eab1f9bfbe
Merge "Linking various settings that control icon cache to icon state" into sc-dev
2021-05-06 20:59:54 +00:00
Vinit Nayak
f5f6fd0e21
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I694075af1cab1c98e3a4a473a09af6b749519701
2021-05-06 20:56:43 +00:00
Vinit Nayak
35d67239f7
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: I0b1b5fb6c865d3e100a49b9f31cf34ccb6146b5f
2021-05-06 20:56:42 +00:00
Vinit Nayak
c97a9c9e6b
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I0fa38b70057522057556e6d12f9c1a4cba349d7a
2021-05-06 20:54:57 +00:00
Vinit Nayak
17e84027fe
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: I34007cf2d6dd0b1328ae3e248bcafef801502d68
2021-05-06 20:54:56 +00:00
Vinit Nayak
0fc3718edc
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: If444c8f0deec3cc8843df8e3686570539a8484b3
2021-05-06 20:54:44 +00:00
Vinit Nayak
82872dc5ce
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: Ief64479b0600863b6b539a48dd45d35c6492a6c8
2021-05-06 20:54:43 +00:00
Vinit Nayak
a66716d953
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248
Change-Id: I29e35a601ee7972b394c4adf402999e1c6c3ee0a
2021-05-06 20:54:22 +00:00
Vinit Nayak
d0aa4130c1
Initial commit of 3 button work am: 16fd85629d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017
Change-Id: Iff11098781b1470c629a8ee505ead67476fa0862
2021-05-06 20:54:21 +00:00
Vinit Nayak
b2993d65b7
Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev
...
* changes:
Add IME switcher/hide button bar when IME showing
Initial commit of 3 button work
2021-05-06 20:47:41 +00:00
Tony Wickham
878a005d07
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: If2cd0304bb0677cb8b03070fc2e882ae11dc2aba
2021-05-06 17:49:21 +00:00
Tony Wickham
97a97f882b
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: I5066847dd1dd8b38407bd02d6db51315655a0d46
2021-05-06 17:47:48 +00:00
Tony Wickham
9065aef3af
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: Ia47243fc63bc42d852b2323efbf1db9c3e91cedb
2021-05-06 17:47:23 +00:00
Tony Wickham
c2b4a149db
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428
Change-Id: I5cd900a98ea9f36eb2009ef0a6142fc78a981ee3
2021-05-06 17:47:23 +00:00
Tony Wickham
1282050f2f
Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev
...
* changes:
Fix running task damped by overscroll when other tasks are offscreen
When overview appears from motion pause, come up from bottom
Align home/back button from overview with tap outside
2021-05-06 17:29:25 +00:00
Alex Chau
c8bd480bd5
Make focus task a bit bigger
...
Bug: 175939487
Test: manual
Change-Id: I0e4a13e02331ab9f4a8b1634197d7bf268edac68
2021-05-06 17:28:55 +01:00
ryanlwlin
c08253f3df
Do not detect system gesture with new system ui state flag
...
If the device is in 2-button or gesturl navgiation mode,
touch events will be cancelled in the nav bar area. It leads
to that users couldn't drag the window magnification via
draghandle.
To fix it, we add a new system ui state flag to stop detecting
system gesture if it is set to true. This flag should be set only
when the window magnification is overlapped with the nav bar from
windowinsets.
Bug: 179648683
Test: manually test
Change-Id: I978a4b7d631e4115b293d341a89baee151c2881a
2021-05-06 20:45:09 +08:00
Alex Chau
8e0022c532
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: Id96456598f28ddf6542c3b1242bcdcddbffdd857
2021-05-06 11:16:11 +00:00
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
90d0cc3a0f
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: Iecf23e867b10636e54446e7f7c9144996c4bc193
2021-05-06 11:14:07 +00:00
Alex Chau
a4d3a9e4f7
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: I8732143225877c09a9a3860b3cec62f2f34dc086
2021-05-06 11:14:03 +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
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