Commit Graph

32332 Commits

Author SHA1 Message Date
Tracy Zhou 9784e21a61 Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev am: 8d8a655bbb am: 68d7cad863
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14457135

Change-Id: I8f825daf809100504eab78e52ccbed934b6b5e3f
2021-05-07 04:25:21 +00:00
Tracy Zhou 68d7cad863 Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev am: 8d8a655bbb
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14457135

Change-Id: I93609650fa70935edd177dd8cfb697aee84b3612
2021-05-07 04:12:12 +00:00
Tracy Zhou 8d8a655bbb Merge "Null check RecentsView before calling launchSideTaskInLiveTileMode" into sc-dev 2021-05-07 03:49:52 +00:00
Hongwei Wang d80f4a1f94 Merge "Support entering PiP from live tile" into sc-dev am: ea34ef9f5f am: baedbeb438
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14455858

Change-Id: Ib522f30564b7cbc812b27e2bdfac90882be1f16f
2021-05-07 01:12:43 +00:00
Winson Chung d4c6a31b5e Merge "Handle volume key events while in overview" into sc-dev am: 45849e22c9 am: 1e018374a0
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14456869

Change-Id: I2e01e6ff3ba951b3659e5c8c6fa99018f719638b
2021-05-07 01:11:23 +00:00
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 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
Samuel Fufa 98b11f2eaf Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a am: 413e64d398
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679

Change-Id: If93002efd11569289bc4ad545c194acbd628c915
2021-05-07 00:04:18 +00:00
TreeHugger Robot 4fcb2892d1 Merge "Explicitly set mAllowGoingDown = false when only up is allowed" into sc-dev am: 2b93dbb0b8 am: 6b5c7da9d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14444776

Change-Id: I55f920a7c5959cf6030f92333dd76280c5b9c1af
2021-05-07 00:03:55 +00:00
Samuel Fufa 413e64d398 Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev am: f94540b28a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14411679

Change-Id: Ie43572bc81628f336452040ec717e130ce687b77
2021-05-06 23:50:49 +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
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
Samuel Fufa f94540b28a Merge "[WorkProfile] Update work/personal tab to pills" into sc-dev 2021-05-06 23:33:06 +00: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
Steven Ng b16b9f2971 Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a am: ddada389f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618

Change-Id: I2f091b703b438c08ed8fc111a05932bc1857f9f4
2021-05-06 22:31:23 +00:00
Steven Ng ddada389f7 Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev am: 1b28e6d40a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453618

Change-Id: I3ae5a7e0770624f93ff4ef17991bd36ee68d5245
2021-05-06 22:15:54 +00:00
Steven Ng 1b28e6d40a Merge "Only show collapse handle when the bottom widgets picker is scrollable" into sc-dev 2021-05-06 21:55:19 +00:00
Sunny Goyal e5945c77df Merge "Linking various settings that control icon cache to icon state" into sc-dev am: eab1f9bfbe am: 5386e98900
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430001

Change-Id: I02f302f232dca3f761f14829d2dad077b71b80f2
2021-05-06 21:11:02 +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
Vinit Nayak 12df8aa9f2 Merge changes from topics "taskbar3Button", "taskbarIME" into sc-dev am: b2993d65b7 am: f5f6fd0e21
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14215248

Change-Id: I599bd74665785c1d5e55b8f469355823c8736f6c
2021-05-06 21:03:30 +00:00
Vinit Nayak fddee817cd Initial commit of 3 button work am: 16fd85629d am: 35d67239f7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13989017

Change-Id: Ifcd7094ecdbb9a846800dcd8bc61b4b72a9f81fa
2021-05-06 21:03:29 +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 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 c68b04c54b Merge changes I9749124a,Ic59b877c,Ibe8734e8 into sc-dev am: 1282050f2f am: 878a005d07
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14448428

Change-Id: Ifb451869fbc58b339aab1385156feafbe7085096
2021-05-06 18:03:17 +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 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
Steven Ng 57347bd6b7 Only show collapse handle when the bottom widgets picker is scrollable
Test: Go to contact bottom widgets picker. No collapse handle is
      shown because the content isn't scrollable. Go to Google calendar
      bottom widget picker. Collapse handle is hown because the content
      is scrollable.
Bug: 185134663
Change-Id: Ic6109c055a072aa1cf3521f829833fd5f4cece0f
2021-05-06 17:39:49 +01:00
Alex Chau ab83035246 Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev am: c9744631f4 am: 8e0022c532
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14425536

Change-Id: Ic64ac2203c0a0fda8b1da7d7728fc6cf2bf00211
2021-05-06 11:37:47 +00: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 c9744631f4 Merge "Maintain TaskView's scroll invariant when swiping down" into sc-dev 2021-05-06 10:56:03 +00:00
Steven Ng c8e91713e8 Merge "Fix scrolling issue in the full widgets picker" into sc-dev am: 9b68983790 am: 7331c70b9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442197

Change-Id: I74e88f5642df4ea7645e9116248360b813173526
2021-05-06 09:59:20 +00:00
Steven Ng 7331c70b9e Merge "Fix scrolling issue in the full widgets picker" into sc-dev am: 9b68983790
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442197

Change-Id: I9a6156cb38638f57eea483b655ad56849dd9ca7c
2021-05-06 09:43:50 +00:00
Steven Ng 9b68983790 Merge "Fix scrolling issue in the full widgets picker" into sc-dev 2021-05-06 09:24:23 +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 ba14e90066 Merge "Some cleanup for handler invalidation" into sc-dev am: 739420bc38 am: a1241a586d
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14442753

Change-Id: I6273a3ebdf1170ba381de4da758759f3c6ef6cc6
2021-05-06 03:13:14 +00: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 739420bc38 Merge "Some cleanup for handler invalidation" into sc-dev 2021-05-06 02:21:57 +00:00
Evan Rosky 728053e9bb Merge "Fix a bug in TouchInteractionService for fixed-display input rotation" into sc-dev am: 6255fd20f8 am: a1837f7e34
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14429344

Change-Id: If07b35913d523805ca4c40c7c953feb3e922eeab
2021-05-06 01:04:01 +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 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 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