Commit Graph

5863 Commits

Author SHA1 Message Date
Bill Yi 1ac7eaaf8d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib8139f43c19b13563449c2a9c5dfe5b646d0fa61
2021-05-09 10:51:28 -07:00
TreeHugger Robot 61b3d3b990 Merge "Import translations. DO NOT MERGE ANYWHERE" 2021-05-07 18:01:17 +00:00
Bill Yi dc46d015ce Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ie1df5d95c18c20cbf10992ff839f153b100a02fb
2021-05-07 14:44:49 +00:00
TreeHugger Robot 1092432a40 Merge "Remove widget launch CUJ from jank monitoring" into sc-dev am: 7f6691bef5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14467302

Change-Id: I3e4d04f1540a24584357a3be1dbda9ba1c3df936
2021-05-07 11:09:13 +00:00
TreeHugger Robot 7f6691bef5 Merge "Remove widget launch CUJ from jank monitoring" into sc-dev 2021-05-07 10:52:53 +00:00
Cyrus Boadway 1c5ddff010 Remove widget launch CUJ from jank monitoring
The widget launch animation should not be measured with the icon launch
animations. No widget launch CUJ yet exists, so no jank monitoring
should be applied to widget app launches.

Bug: 169042867
Test: manual
Change-Id: I2a525c42cca8dd17c4a96bde7f11b14cfe87cabc
2021-05-07 09:38:40 +00:00
TreeHugger Robot 2043261214 Merge "Make focus task a bit bigger" into sc-dev am: 1eba68385a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14453617

Change-Id: Id79244d5e611c42b830c5781bac4f48828aaa0f0
2021-05-07 06:13:32 +00:00
TreeHugger Robot 1eba68385a Merge "Make focus task a bit bigger" into sc-dev 2021-05-07 05:53:52 +00:00
Tracy Zhou 120ed6c35a 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: I7ddc5dc711a4068aaffafecac7fa8547dd79b939
2021-05-07 04:12:15 +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 1a39a6b13b 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: I512de20a93cf1b47cfc30b54b835e2cf966b8a3f
2021-05-07 01:11:12 +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 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 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 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
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
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 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 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 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 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 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
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 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 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 739420bc38 Merge "Some cleanup for handler invalidation" into sc-dev 2021-05-06 02:21:57 +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
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 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 46d420bf14 Merge "Add funtional animation for SplitSelect from Grid." into sc-dev 2021-05-05 19:03:47 +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 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 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 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
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 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