Commit Graph

2224 Commits

Author SHA1 Message Date
Vadim Tryshev d16af940f2 Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev am: e7f313dc0c
am: be8f7d2845

Change-Id: I9d24a4ef7f5f44018863ab23cc86435de1ce2f78
2019-06-05 17:10:47 -07:00
Vadim Tryshev be8f7d2845 Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev
am: e7f313dc0c

Change-Id: I210029248261971df07524e7836a54bd721daa4e
2019-06-05 16:48:56 -07:00
Vadim Tryshev e7f313dc0c Merge "Taking local screenshot before navigation state is restored" into ub-launcher3-qt-dev 2019-06-05 23:34:05 +00:00
vadimt 7a38854284 Taking local screenshot before navigation state is restored
Change-Id: Id8003b17c68af5b4882bdbf5e14a142875791cbc
2019-06-05 16:18:55 -07:00
Tony Wickham 819201b5c8 Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev am: be1fde798c
am: dd31cda247

Change-Id: Ice5076609f68fa0dcaf2051d47c3ec2cbc8b354d
2019-06-05 15:42:31 -07:00
Tony Wickham dd31cda247 Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev
am: be1fde798c

Change-Id: I490a890b122a87a42e21b2dda30abb32c209a717
2019-06-05 15:36:30 -07:00
Tony Wickham be1fde798c Merge "Fade out scrim when swiping to home" into ub-launcher3-qt-dev 2019-06-05 22:27:49 +00:00
Sunny Goyal 07d30064b4 Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev am: 4ab6254bdc
am: 17ccea1ec9

Change-Id: I49250c599bef82b973025858123daeb5740ec57d
2019-06-05 14:53:46 -07:00
Sunny Goyal 17ccea1ec9 Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev
am: 4ab6254bdc

Change-Id: I6a4e56565114a30b9b98c640b54fb55c6ea10e15
2019-06-05 14:49:45 -07:00
TreeHugger Robot 4ab6254bdc Merge "Adding some state for fallback recents View" into ub-launcher3-qt-dev 2019-06-05 21:40:38 +00:00
Winson Chung 53da83749b Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev am: ff9fe09b3f
am: 4934b6f89f

Change-Id: I76721194f421843c6b9d2f124b59e1d56c37c1f0
2019-06-05 11:38:54 -07:00
Winson Chung 4934b6f89f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev
am: ff9fe09b3f

Change-Id: Ife915a7d822a865da477979bb3ca290949843c69
2019-06-05 11:32:52 -07:00
Sunny Goyal 2fb6ae9d0c resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
am: 87c8a511cd

Change-Id: Ie63fe8078b1b9d29d76e1e6e9626fe0be914c100
2019-06-05 11:32:51 -07:00
Zak Cohen 8d19146b7b Remove unused hints code.
This layout is handled by the provider of the hints now.

Bug: 132886768
Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
(cherry picked from commit f3231f417d)
2019-06-05 11:18:09 -07:00
Sunny Goyal 87c8a511cd resolve merge conflicts of f17eb616a8 to ub-launcher3-qt-r1-dev
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I4e177dfb7ba3bde6eb53f63c2f2df273feef90ee
2019-06-05 10:44:02 -07:00
Tony ae087dc9b8 Fade out scrim when swiping to home
Bug: 134517106
Change-Id: Ica725e3a327c1c069e3859732ea6a878d361a3d8
2019-06-04 19:25:03 -07:00
Winson Chung ff9fe09b3f Merge "Use device locked input consumer when an activity is showing when locked" into ub-launcher3-qt-dev 2019-06-04 21:42:44 +00:00
Sunny Goyal 1b52c7e5de Some RecentsView layout fixes
> Only creating task overlay for one view at a time
> Fixing setOverviewStateEnabled called twice when going
  between OVERVIEW and BACKGROUND state

Bug: 132815672
Bug: 122345781
Change-Id: I51ac5b0744af87194eca08e07fd2c75b8fa0d3e0
2019-06-04 14:17:30 -07:00
Winson Chung ed6a3eada7 Use device locked input consumer when an activity is showing when locked
Bug: 133871965
Change-Id: I51a32a99990813e510c757e5e295a09f041c0514
2019-06-04 10:40:31 -07:00
Zak Cohen 70ec2a4213 Merge "Remove unused hints code." into ub-launcher3-qt-r1-dev
am: 0f405d78d7

Change-Id: I88b0186a60948e6bed8c4db4a9b186a1e71bdf2f
2019-06-03 16:17:00 -07:00
Sunny Goyal 9d8b1376e8 Adding some state for fallback recents View
Maintaining a boolean corresponding to overview or QuickSwitch which
updates the visuals for RecentsView accordingly

Bug: 134166337
Change-Id: If1aec99257de4db1796335f2cf39d2d35789915b
2019-06-03 16:00:06 -07:00
Zak Cohen f3231f417d Remove unused hints code.
This layout is handled by the provider of the hints now.

Test: manual
Change-Id: Ifc0db2395a7503b1b03dcb796961ef6647c0413b
2019-06-03 14:58:18 -07:00
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
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
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
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 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