Commit Graph

32300 Commits

Author SHA1 Message Date
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
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
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
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
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 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
Steven Ng edfec2fc0b Fix scrolling issue in the full widgets picker
Before this change, the widgets recommendation table handles all the
touch events. The table doesn't distinguish a touch event from a scroll
event. This change forwards the motion event to the active recycler view.
If the recycler view doesn't handle the event, it will then forward the
event back to the view hierarchy.

Test: Open the full widgets picker, then start scrolling on the
      recommended widgets UI. The full widgets picker scrolls perfectly.
      Drag-n-drop a recommended widget
Bug: 186567644
Change-Id: I89d473179796c516d2394332dd75f8e9a1d8b388
2021-05-05 23:19:09 +01:00
TreeHugger Robot 0d74388f8a Merge "Call windowInsetController.hide method when hiding keyboard" into sc-dev am: 7ef5456182 am: 0804768c9f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409050

Change-Id: Id1b0a3d844b4122eb3e32351152d273ef77f2c11
2021-05-05 21:02:30 +00:00
TreeHugger Robot 0804768c9f Merge "Call windowInsetController.hide method when hiding keyboard" into sc-dev am: 7ef5456182
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14409050

Change-Id: I6f4f7c4bb68d2ced86f60013fd00a66c7ccbea98
2021-05-05 20:39:42 +00:00
TreeHugger Robot 7ef5456182 Merge "Call windowInsetController.hide method when hiding keyboard" into sc-dev 2021-05-05 20:14:42 +00:00
TreeHugger Robot a9fdf59c35 Merge "Add funtional animation for SplitSelect from Grid." into sc-dev am: 46d420bf14 am: 1c55c0b645
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14373811

Change-Id: I8d9097951a91a886df34c67f7dce0dc8735f5c43
2021-05-05 19:30:16 +00:00
TreeHugger Robot 48c0526ea6 Merge "Fix a couple of issues with quick switch from home to empty recents" into sc-dev am: 2f890c4ab7 am: 6d9bab323f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436800

Change-Id: Iec907d53752befdcba1a1ba853f458a776860710
2021-05-05 19:29:16 +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 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
Steven Ng e40ddf688e Merge "Fix class cast exception in a11y service for widget resize action" into sc-dev am: 16d74e5d7f am: cd163000f9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440782

Change-Id: I9d3792d854cecea49227a6c149629d1084e2f81d
2021-05-05 18:31:32 +00:00
Steven Ng e334bcbb7b Merge "Fix LayoutParams cast exception in drag-n-drop" into sc-dev am: f8af753b6a am: 6e6c62dd6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332404

Change-Id: I0659034767f0c82c47260d0937c47a3314ceb6df
2021-05-05 18:31:28 +00:00
TreeHugger Robot 3d56b20703 Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev am: 9297064b2e am: 795ca19a3c
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440777

Change-Id: Ic634831226915fd54fa8b685a678d8497f848799
2021-05-05 18:31:23 +00:00
Vinit Nayak a1d6dd0500 Merge "Set menu item to MATCH_PARENT for tap target" into sc-dev am: bf51afd420 am: e3fe6d18cc
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14434286

Change-Id: I95bd7cc0f2fdf6d1193834d012e810fb0804a00a
2021-05-05 18:31:20 +00:00
TreeHugger Robot aaaddc7c31 Merge "Fixes NPE in AbsSwipeUpHandler." into sc-dev am: cf6900d9ee am: ddaab15dba
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14436551

Change-Id: I71daff767faee502cdcfe767c08ba44baca794b6
2021-05-05 18:31:16 +00:00
Winson Chung 6159fe9b7e Merge "Allow binder calls from creating recents orientated state for now" into sc-dev am: cc03a9afa9 am: 60148a1716
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14421143

Change-Id: I2ee9baf3c012fbdc65cd550001f2fd5d7f7c09df
2021-05-05 18:31:00 +00:00
Sunny Goyal 0144fe1bce Some 3P launcher transition fixes am: 91d26f0b5e am: 53ceb7df56
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14430440

Change-Id: I24d4d36b6bb5aa5183217c0745a8620093b5c68e
2021-05-05 18:30:46 +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
Steven Ng cd163000f9 Merge "Fix class cast exception in a11y service for widget resize action" into sc-dev am: 16d74e5d7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14440782

Change-Id: If93e3acfac46ca3e3217387e683c29a4d9499d6c
2021-05-05 18:15:18 +00:00
Steven Ng 6e6c62dd6a Merge "Fix LayoutParams cast exception in drag-n-drop" into sc-dev am: f8af753b6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14332404

Change-Id: I96139dee49cb969ff8140cad6818031b0d86e504
2021-05-05 18:15:14 +00: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
Vinit Nayak e3fe6d18cc Merge "Set menu item to MATCH_PARENT for tap target" into sc-dev am: bf51afd420
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14434286

Change-Id: Ibbd405bcc6f940230ba2d5148c02e1fb7bea0008
2021-05-05 18:15:05 +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
Steven Ng 16d74e5d7f Merge "Fix class cast exception in a11y service for widget resize action" into sc-dev 2021-05-05 18:07:53 +00:00
Steven Ng f8af753b6a Merge "Fix LayoutParams cast exception in drag-n-drop" into sc-dev 2021-05-05 18:07:32 +00:00
TreeHugger Robot 9297064b2e Merge "Add OnGlobalLayout listener to WidgetFloatingView" into sc-dev 2021-05-05 17:50:57 +00:00
Vinit Nayak bf51afd420 Merge "Set menu item to MATCH_PARENT for tap target" into sc-dev 2021-05-05 17:43:27 +00:00