Commit Graph

19626 Commits

Author SHA1 Message Date
Tony Wickham 1d2acc1a67 Merge "Fix getting stuck in BackgroundAppState for 2-button mode" into ub-launcher3-qt-dev am: 72c6e7b736
am: dcff2f1875

Change-Id: Ifd59f5e3a82aa956993d1546118f047b75c595bf
2019-05-31 16:51:37 -07:00
Sunny Goyal 6865fb9723 Merge "Fixing overview scrim not initialized properly when launcher starts" into ub-launcher3-qt-dev am: 061c43eb4f
am: 3695646987

Change-Id: I83a1c1b95e48d1e2b919be4ead7e28d14e0bc3b1
2019-05-31 16:51:11 -07:00
Tony Wickham dcff2f1875 Merge "Fix getting stuck in BackgroundAppState for 2-button mode" into ub-launcher3-qt-dev
am: 72c6e7b736

Change-Id: I6ab2194d50a6d7dfb7bd7c13bab776331c426c23
2019-05-31 16:26:39 -07:00
Sunny Goyal 3695646987 Merge "Fixing overview scrim not initialized properly when launcher starts" into ub-launcher3-qt-dev
am: 061c43eb4f

Change-Id: I58aa5801e698c8e8b2e0133f6995d77b341cc76f
2019-05-31 16:26:05 -07:00
TreeHugger Robot 72c6e7b736 Merge "Fix getting stuck in BackgroundAppState for 2-button mode" into ub-launcher3-qt-dev 2019-05-31 23:22:30 +00:00
Tony Wickham a04e746e84 Fix getting stuck in BackgroundAppState for 2-button mode
When ending in recents, we reapply the state - therefore, it's important
to make sure we are in OverviewState before onSwipeUpComplete(). This is
done by mLauncherTransitionController, which sets OverviewState on end.
We already force mLauncherTransitionController to end before calling
onSwipeUpComplete(), but in this case we were calling cancel() and
setting mLauncherTransitionController = null, which meant we could never
call end() on it. Instead, we should always call end() if we set it to
null.

Also ensure mLauncherTransitionController is created even if the gesture
is completed, if an existing controller isn't already running. This can
happen if you swipe up quickly enough that we get onGestureEnd before
launcher is drawn, and in that case we still want the launcher component
to animate once its ready. This is even more important for 2-button
mode, because again, we rely on mLauncherTransitionController to set the
state to OverviewState before we reapply it.

Finally, clarified some methods by renaming "swipeUp" to
"swipeUpToRecents".

Bug: 132757019
Change-Id: Ieb24a4f36a39780e5d64d7bc312791608db474d1
2019-05-31 16:11:40 -07:00
TreeHugger Robot 061c43eb4f Merge "Fixing overview scrim not initialized properly when launcher starts" into ub-launcher3-qt-dev 2019-05-31 23:01:36 +00:00
Perumaal S 9f8dac1dbd Merge "Disable chips in qt_dev" into ub-launcher3-qt-dev am: 045dc86d9f
am: 165a28fd26

Change-Id: I0e43659dd5f3eecaeda063ae1dbc459596791668
2019-05-31 15:28:36 -07:00
Perumaal S 165a28fd26 Merge "Disable chips in qt_dev" into ub-launcher3-qt-dev
am: 045dc86d9f

Change-Id: I3ab54017ec08ff868001ddde2dda58d7d6119961
2019-05-31 15:23:35 -07:00
TreeHugger Robot 045dc86d9f Merge "Disable chips in qt_dev" into ub-launcher3-qt-dev 2019-05-31 22:12:40 +00:00
Vadim Tryshev 36a97714ec Merge "More debug tracing for switching to all apps not sending the final event" into ub-launcher3-qt-dev am: 719908c84b
am: 55ebd4e653

Change-Id: If580bc5b9a5abd39e90907324dfa1565a127f36e
2019-05-31 14:53:24 -07:00
Vadim Tryshev 55ebd4e653 Merge "More debug tracing for switching to all apps not sending the final event" into ub-launcher3-qt-dev
am: 719908c84b

Change-Id: Ife320795c1034d0b332a652b44d4f2c6e1a66418
2019-05-31 14:46:22 -07:00
Perumaal S 464dda250b Disable chips in qt_dev
- Not for use in qt_r1_dev

Bug: 134164918
Change-Id: Ib49289060a39a1a5615e762a4e72b105ed166135
2019-05-31 21:28:46 +00:00
Vadim Tryshev 719908c84b Merge "More debug tracing for switching to all apps not sending the final event" into ub-launcher3-qt-dev 2019-05-31 21:20:21 +00:00
vadimt a8f77a6afd More debug tracing for switching to all apps not sending the final event
(to the test)

Bug: 134172603
Bug: 133867119
Change-Id: I00cf3a35daefa23d2e72a89d21e6ce37c8a9a46d
2019-05-31 13:34:24 -07:00
Vadim Tryshev 76fbff84e2 Merge "Annotating hierarchy dump for the error description" into ub-launcher3-qt-dev am: 43522d25f2
am: c201fe6b0b

Change-Id: Ie56ffbcb0d89fb5bc15c32d2438185420b082a4c
2019-05-31 12:18:25 -07:00
Vadim Tryshev c201fe6b0b Merge "Annotating hierarchy dump for the error description" into ub-launcher3-qt-dev
am: 43522d25f2

Change-Id: If5870760faa0150f94487ed9acfd7db724f10a4a
2019-05-31 12:10:25 -07:00
Vadim Tryshev 43522d25f2 Merge "Annotating hierarchy dump for the error description" into ub-launcher3-qt-dev 2019-05-31 18:54:02 +00:00
Govinda Wasserman f85febdaff Merge "Adds trigger for new gesture entrypoint to Assistant bundle" into ub-launcher3-qt-dev am: 164ebb2e8c
am: c985c6e563

Change-Id: Icd0c602956e643c9dd1c87352481760b121ca863
2019-05-31 11:44:15 -07:00
Govinda Wasserman c985c6e563 Merge "Adds trigger for new gesture entrypoint to Assistant bundle" into ub-launcher3-qt-dev
am: 164ebb2e8c

Change-Id: I43d6d72765b6d7aa69dce40a3350001a18c6ac63
2019-05-31 11:33:11 -07:00
vadimt 8fcf7059ed Annotating hierarchy dump for the error description
Change-Id: I10285d451f4816b4988ce0645669b9ec9cceac81
2019-05-31 11:32:09 -07:00
Govinda Wasserman 164ebb2e8c Merge "Adds trigger for new gesture entrypoint to Assistant bundle" into ub-launcher3-qt-dev 2019-05-31 18:09:53 +00:00
Tony Wickham 82e8b32f99 Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev am: 8765e262c2
am: ab384404b1

Change-Id: I8abe9febf5734e16c0506fc37ea6f9890d7aa454
2019-05-31 11:00:56 -07:00
Sunny Goyal 03d32ddb23 Fixing overview scrim not initialized properly when launcher starts
State UI depends on visible content, which can change due to predicitons.
Reapplying the state whenever then happens ensures that we are in correct
start UI

Change-Id: I9f195a92b747fda8a5b217dc960f230d7a695255
2019-05-31 11:00:35 -07:00
Tony Wickham ab384404b1 Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev
am: 8765e262c2

Change-Id: Ieb53126643d9f41a5ba5b85ca0d8b02ef2f6eb47
2019-05-31 10:55:54 -07:00
Tony Wickham 8765e262c2 Merge "Don't recreate the launcher animation controller if gesture ended" into ub-launcher3-qt-dev 2019-05-31 17:46:03 +00:00
Tony Wickham 436d5971b1 Don't recreate the launcher animation controller if gesture ended
This can happen if we get onApplyWindowInsets() after onGestureEnded().
In that case, we can get into some bad states because the running
animation is overwritten and thus can't be canceled.

Bug: 134096917
Bug: 133806285
Change-Id: Ic517d68a46a4446ca382445df1ba62c26e8243ad
2019-05-31 10:21:28 -07:00
Sunny Goyal 8fada8c6d7 Letting touch pass even in disabled states am: 33838e8a2f
am: f0a5ffe0fc

Change-Id: I26bd2a6ec5b0633228eb20d4f705eeba7b50e34b
2019-05-31 09:48:32 -07:00
Sunny Goyal f0a5ffe0fc Letting touch pass even in disabled states
am: 33838e8a2f

Change-Id: I3ff0d3218cf961c6a5f96c2aa9be9795386aed9a
2019-05-31 09:45:28 -07:00
Govinda Wasserman 254be7b0e4 Adds trigger for new gesture entrypoint to Assistant bundle
BUG:130186141
Change-Id: I43a4c3d3c9a46b4a1a5c53a81b037ba2be194188
FIX:130186141
2019-05-31 12:20:50 -04:00
Sunny Goyal 33838e8a2f Letting touch pass even in disabled states
In disabled states, dragLayer should not receive touch anyway. Removing
the additional check to avoid user getting stuck.

Bug: 134062513
Change-Id: Id31a31254377e9a737ecd6e9905e66c54e4eb740
2019-05-31 08:56:13 -07:00
Sunny Goyal 1977e1e4f8 Merge "Fixing interactive state for background states and notifying LauncherCallback accordingly" into ub-launcher3-qt-dev am: f36e5e002a
am: 1343a69647

Change-Id: Ied77f8857fe2516a925752b09f8c6de3acbb8df6
2019-05-30 23:24:03 -07:00
Sunny Goyal 1343a69647 Merge "Fixing interactive state for background states and notifying LauncherCallback accordingly" into ub-launcher3-qt-dev
am: f36e5e002a

Change-Id: I7cf80c0047fce5c189dcaf0c77d3642300eaa458
2019-05-30 23:18:03 -07:00
TreeHugger Robot f36e5e002a Merge "Fixing interactive state for background states and notifying LauncherCallback accordingly" into ub-launcher3-qt-dev 2019-05-31 06:01:25 +00:00
Jon Miranda 3b10d31a0e Fix bug where QSB flickers on app close. am: 2ff7b53ec5
am: 88c2fd603d

Change-Id: Idb7a540ee38ce482c3acc127c3d373c7736b2d5a
2019-05-30 21:22:10 -07:00
Jon Miranda 88c2fd603d Fix bug where QSB flickers on app close.
am: 2ff7b53ec5

Change-Id: I0dedd1a8e054d06593253ed3c94303b42427b0c4
2019-05-30 21:16:09 -07:00
Jon Miranda 2ff7b53ec5 Fix bug where QSB flickers on app close.
Bug: 123900446
Change-Id: I9b03b2d91d264de237328511b5406e5fcd22dbac
2019-05-30 20:53:27 -07:00
Jon Miranda 1b110b695d Merge "Tuning app open/close animation." into ub-launcher3-qt-dev am: 958cc0657f
am: 457deedd53

Change-Id: Ie57ba362323c98ccc4fa02cf674871717276eb7b
2019-05-30 19:23:13 -07:00
Jon Miranda 457deedd53 Merge "Tuning app open/close animation." into ub-launcher3-qt-dev
am: 958cc0657f

Change-Id: I7a36afd0b02ee3c3892d14c4210246841b904d74
2019-05-30 19:18:13 -07:00
TreeHugger Robot 958cc0657f Merge "Tuning app open/close animation." into ub-launcher3-qt-dev 2019-05-31 02:04:03 +00:00
Jon Miranda b3c9077c76 Tuning app open/close animation.
* Mostly value changes.
* Added a way to round the corners during swipe up to home animation.

Bug: 123900446
Change-Id: Id61d241d919ba51ced0633585e36b7d93efe30b0
2019-05-30 18:43:22 -07:00
Tony Wickham 63e78955bd Merge "If y velocity > x velocity in 2-button mode, go to recents" into ub-launcher3-qt-dev am: ba33d1d216
am: e358d1fb92

Change-Id: I5c8a075aef91d93f179b52e2ea27f675e40ec793
2019-05-30 18:08:56 -07:00
Tony Wickham e358d1fb92 Merge "If y velocity > x velocity in 2-button mode, go to recents" into ub-launcher3-qt-dev
am: ba33d1d216

Change-Id: I393f6e3dfc12c3b97196454322e0012a2a287489
2019-05-30 18:02:54 -07:00
TreeHugger Robot ba33d1d216 Merge "If y velocity > x velocity in 2-button mode, go to recents" into ub-launcher3-qt-dev 2019-05-31 00:49:10 +00:00
Tony Wickham 1689d65ac3 If y velocity > x velocity in 2-button mode, go to recents
Also, when landing in recents, snap to the nearest page so that swipe up
consitently goes to task 0 instead of sometimes scrolling to task 1.

Bug: 133518678
Change-Id: I63a161a9f1f87266d3c3fc71c98cd5fc5e2f8874
2019-05-30 17:38:46 -07:00
Sunny Goyal 9de8c8e9b3 Merge "Disabling horizontal swipes if the app has draggable content at the bottom" into ub-launcher3-qt-dev am: f4fa4be5d6
am: c7b214bf50

Change-Id: I3f9cdc108eedb159a34ee777ef82ee5411a1f4ac
2019-05-30 15:38:36 -07:00
Vadim Tryshev 52303aef91 Merge "Waiting for the recycler to populate when opening all apps" into ub-launcher3-qt-dev am: 5d7dbd914a
am: 5241c41a12

Change-Id: Iab00b4d1130bf9a91257507feaccda615825be24
2019-05-30 15:38:17 -07:00
Sunny Goyal c7b214bf50 Merge "Disabling horizontal swipes if the app has draggable content at the bottom" into ub-launcher3-qt-dev
am: f4fa4be5d6

Change-Id: I863b97d7073b492fafef18cd2389d1e1aaec6d46
2019-05-30 15:37:31 -07:00
Vadim Tryshev 5241c41a12 Merge "Waiting for the recycler to populate when opening all apps" into ub-launcher3-qt-dev
am: 5d7dbd914a

Change-Id: I94fb2f7b9e669541436928042e9292a353b3a6d7
2019-05-30 15:30:16 -07:00
Sunny Goyal f4fa4be5d6 Merge "Disabling horizontal swipes if the app has draggable content at the bottom" into ub-launcher3-qt-dev 2019-05-30 22:29:05 +00:00