Jon Miranda
54441f5df9
Refactor LauncherAppTransitionManager & polish for new app transitions.
...
* Add start delay when launcher resumes from all apps or landscape.
* Track the last app transition animator and cancel it before beginning a new one,
otherwise the animators can conflict with each other.
ie. Opening an app from all apps and then immediately pressing back to return to
all apps.
* Use class overrride instead of UiFactory.
Bug: 70220260
Change-Id: I4755d45d820f9d551e443d6c4a148e8789c5bc57
2018-01-25 14:32:47 -08:00
Sunny Goyal
82d010f0d2
Fixing insets not getting scaled properly in thumbnail
...
Bug: 72329990
Change-Id: I575c0a29cfbcf2849679eae3b7797a291ec8c72a
2018-01-24 18:55:48 -08:00
Tony Wickham
5378b9ab01
Set sQuickScrubEnabled = false in onDestroy()
...
When the touch interaction service is disconnected, let's make sure
we cleanup so we don't get in a state where all touches are ignored.
Bug: 72444652
Change-Id: I089ad63f9f855651f305c4650c99743d3bde3a94
2018-01-24 14:48:23 -08:00
Tony Wickham
eb1c9ea018
Merge "Simplifying/fixing logic for ignoring touches in quick scrub" into ub-launcher3-master
2018-01-24 21:52:29 +00:00
Tony Wickham
b4175d89ed
Simplifying/fixing logic for ignoring touches in quick scrub
...
Now we directly set a static boolean as soon as we get the
onQuickScrubStart and end binder callbacks, instead of having
a member variable in QuickScrubController. Notably, QSC was
getting onQuickScrubStart() when doing quick switch, but not
onQuickScrubEnd(). This is a byproduct of some other unrelated
logic, which the new approach circumvents.
Bug: 72444652
Change-Id: I0a3d1ae2e9970cfffc38a25df0b8f04f26cb4cfa
2018-01-24 13:06:23 -08:00
Sunny Goyal
cfb630f8de
Using a single launcher layout for all configurations
...
Bug: 71709920
Change-Id: Ib23112bc1636007cb41e1919a855bbf5298884b6
2018-01-23 14:31:26 -08:00
TreeHugger Robot
aa6b1117b2
Merge "Check for permission before registering remote animations to prevent crash." into ub-launcher3-master
2018-01-23 22:30:08 +00:00
TreeHugger Robot
285c190ba7
Merge "Removing unused app discovery support" into ub-launcher3-master
2018-01-23 22:26:52 +00:00
Jon Miranda
184b6444c3
Check for permission before registering remote animations to prevent crash.
...
Bug: 70220260
Change-Id: I2591fe05991f4d944a199acf82666df2cd7196ff
2018-01-23 14:18:12 -08:00
Jonathan Miranda
5bce66195b
Merge "Use AllAppsTransitionController to animate the hotseat & scrim." into ub-launcher3-master
2018-01-23 22:15:43 +00:00
Jon Miranda
701b0f528e
Use AllAppsTransitionController to animate the hotseat & scrim.
...
Bug: 70220260
Change-Id: I69bff4234c2fd0c76cb43cdd89342dcc04f2db40
2018-01-23 14:05:13 -08:00
Sunny Goyal
01ce755753
Removing unused app discovery support
...
Change-Id: I670be29851b232caa5c05624ae37ae5e92a8b65f
2018-01-23 13:53:03 -08:00
Tony Wickham
d17862c441
Merge "Ignore touches on launcher while quick scrub is enabled" into ub-launcher3-master
2018-01-23 18:23:10 +00:00
Sunny Goyal
7bebef40e3
Merge "Reusing the existing handler when quickscrub starts" into ub-launcher3-master
2018-01-23 18:01:03 +00:00
Jonathan Miranda
b57721182c
Merge "Launcher app close transition." into ub-launcher3-master
2018-01-23 17:39:28 +00:00
Jon Miranda
7853bdb8b5
Launcher app close transition.
...
Bug: 70220260
Change-Id: I0a3a6153dc1cba53546f792bf3ec037b1a5f6d90
2018-01-22 17:43:04 -08:00
Sunny Goyal
56ff06a8e8
Merge "Adding referrer information when launching market intent" into ub-launcher3-master
2018-01-23 00:29:29 +00:00
Sunny Goyal
2c80b0f4f9
Reusing the existing handler when quickscrub starts
...
Bug: 72173796
Change-Id: I0517a09c10238f15e012f7edcab957aacef22444
2018-01-22 16:24:16 -08:00
Sunny Goyal
67e75e20cc
Adding referrer information when launching market intent
...
Bug: 72331091
Change-Id: I75ed764fd9964b58de97c287b8a26d24a0caa3fc
2018-01-22 15:14:23 -08:00
Jon Miranda
6586b54ded
Fix crash for apps launched through non-BubbleTextView views.
...
* Same transition/animation, except we don't create a visual copy of the View.
Bug: 72314029
Bug: 70220260
Change-Id: I79898be1cae7160b5dc35cc1ea8ba3dc5b2db05c
2018-01-22 13:55:58 -08:00
Jon Miranda
2c896767e2
Fix opening app transitions in RTL.
...
Bug: 70220260
Change-Id: If7eed80fc94c30ccc11c11c6976a61ec02187eb1
2018-01-22 12:33:44 -08:00
Jorim Jaggi
f86de6141b
Merge "Make app-controlled animations more robust" into ub-launcher3-master
2018-01-22 20:09:37 +00:00
Tony Wickham
339d1957ba
Ignore touches on launcher while quick scrub is enabled
...
Bug: 72189689
Change-Id: Ic4564719a35442670226a021ae2c8799a884b201
2018-01-22 11:59:57 -08:00
Jorim Jaggi
4ed2c9db82
Make app-controlled animations more robust
...
- Sometimes the system decides to destroy our surface before we
have finished animating. While this is a bug in the system, we
need to protect ourselves against any crashes in this case by
checking getNextFrameNumber() != -1 with the new SystemUI lib.
- Apply position of animation target for multi-window open
animation.
Test: Open Drive multiple times, observe no crash
Fixes: 72301120
Change-Id: I47520cea0d11cab109bf6190ea0cc828efc62275
2018-01-22 20:16:53 +01:00
Sunny Goyal
08af6b7984
Using state controller for moving the hotseat.
...
Using state controller ensures that when the state changes the UI is
properly updated based on the state properties.
This would prevent user getting stuck in an inconsistent UI
Bug: 72173796
Change-Id: I7690a94eed7c8a620479e4247d2b681a7374ce45
2018-01-22 10:13:41 -08:00
TreeHugger Robot
50def21a4b
Merge "Fix position of task menu in RTL" into ub-launcher3-master
2018-01-20 00:34:14 +00:00
Tony Wickham
0d00e52bd8
Fix position of task menu in RTL
...
Bug: 71902072
Change-Id: I03659171a41448347dd6d13e8915125ee5ad4aaa
2018-01-19 16:22:41 -08:00
Tony Wickham
180f777029
Merge "Don't crash when invoking quickscrub with no recent tasks" into ub-launcher3-master
2018-01-20 00:17:08 +00:00
Tony Wickham
0b170d86e5
Don't crash when invoking quickscrub with no recent tasks
...
Bug: 72222355
Change-Id: I6410507062392f1e91eb4fca01da1f646f550259
2018-01-19 15:54:48 -08:00
TreeHugger Robot
732cf33ce0
Merge "Fixing InvariantDeviceProfile for Launcher3Go" into ub-launcher3-master
2018-01-19 23:34:02 +00:00
Sunny Goyal
41b36e0f22
Merge "Removing multi-state apha control for hotseat" into ub-launcher3-master
2018-01-19 23:25:42 +00:00
Sunny Goyal
cd77ba0cdd
Merge "Adding a horizontal popup when when workspace is longPressed" into ub-launcher3-master
2018-01-19 23:22:21 +00:00
Sunny Goyal
02424b20f3
Adding a horizontal popup when when workspace is longPressed
...
Change-Id: I5b3c48262c246bfe53e0010ca89c820f42503eef
2018-01-19 15:11:10 -08:00
Sunny Goyal
19d32b76dd
Removing multi-state apha control for hotseat
...
Change-Id: I68ccbe96caa70921aefd18fc8ec9ad0638c3fab1
2018-01-19 14:26:44 -08:00
Jonathan Miranda
23608f7c9f
Merge "Fallback to default launch options for users with old version of platform." into ub-launcher3-master
2018-01-19 22:19:30 +00:00
Jon Miranda
3e6fb6c080
Fallback to default launch options for users with old version of platform.
...
Bug: 70220260
Change-Id: I12aa1ecbc5823770b2b43384f3e3b0645394d714
2018-01-19 13:44:26 -08:00
Sunny Goyal
d8a3f3c251
Merge "Using same layout for drop-target bar in landscape and portrait" into ub-launcher3-master
2018-01-19 20:39:46 +00:00
Sunny Goyal
d1b3f5cb38
Using same layout for drop-target bar in landscape and portrait
...
> Adding a tooltip on drag over when the text is not visible
Bug: 71709920
Change-Id: I1897a8dacd191fb1aeaec37f5d5c73c49517192a
2018-01-19 12:16:54 -08:00
Jonathan Miranda
14fbc08f6f
Merge "Change all rounded corners to 8dp." into ub-launcher3-master
2018-01-19 19:37:09 +00:00
Sunny Goyal
8397ede324
Merge "Fading edges in landscape UI" into ub-launcher3-master
2018-01-19 19:36:56 +00:00
Sunny Goyal
f59d0e47f3
Fading edges in landscape UI
...
Bug: 70179916
Change-Id: I62421d872fd788fbf3fcd6d4fca37d60b0b98a79
2018-01-19 11:28:24 -08:00
Jon Miranda
c385e3a2d0
Change all rounded corners to 8dp.
...
Bug: 71775241
Change-Id: I15b499a1f75d530c874b8616cbb330eae7e3ab07
2018-01-19 11:01:00 -08:00
Sunny Goyal
3b48472621
Fixing crash in TraceHelper when dragging same message across multiple threads
...
Change-Id: I976a8ae5ac1786d3984b1ff069a8a0c348f48e1c
2018-01-19 09:39:57 -08:00
Sunny Goyal
e15d1d1f97
Fixing InvariantDeviceProfile for Launcher3Go
...
Change-Id: I7b912370ff1603703baf07f772c784bd3f5b9cb5
2018-01-19 09:01:00 -08:00
TreeHugger Robot
599752ed81
Merge "Only move AllAppsContainerView when opening apps from All Apps." into ub-launcher3-master
2018-01-19 01:32:07 +00:00
Jon Miranda
b3335da9ab
Only move AllAppsContainerView when opening apps from All Apps.
...
Instead of moving the entire DragLayer, we only move
AllAppsContainerView. This prevents the hard white line caused
by the AllApps background translating downwards.
Bug: 70220260
Change-Id: I8249e8bbeea616e728d5502a35c95cbae401efdc
2018-01-18 17:20:30 -08:00
TreeHugger Robot
6682318dc7
Merge "Don't show the discovery bounce when running test harness" into ub-launcher3-master
2018-01-19 00:31:17 +00:00
Adam Cohen
2e95ce8b8c
Don't show the discovery bounce when running test harness
...
Change-Id: I03d31e5b8eaf5b61920c63fd455dab4b817a2466
2018-01-18 16:13:03 -08:00
TreeHugger Robot
1d35642858
Merge "Import translations. DO NOT MERGE" into ub-launcher3-master
2018-01-19 00:12:21 +00:00
TreeHugger Robot
04ff8b1ca6
Merge "Fix work tab is gone when leaving search mode" into ub-launcher3-master
2018-01-18 23:31:55 +00:00