Commit Graph

110 Commits

Author SHA1 Message Date
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
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
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
Jon Miranda
7853bdb8b5 Launcher app close transition.
Bug: 70220260

Change-Id: I0a3a6153dc1cba53546f792bf3ec037b1a5f6d90
2018-01-22 17:43:04 -08:00
Sunny Goyal
2c80b0f4f9 Reusing the existing handler when quickscrub starts
Bug: 72173796
Change-Id: I0517a09c10238f15e012f7edcab957aacef22444
2018-01-22 16:24:16 -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
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
f59d0e47f3 Fading edges in landscape UI
Bug: 70179916
Change-Id: I62421d872fd788fbf3fcd6d4fca37d60b0b98a79
2018-01-19 11:28:24 -08: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
Sunny Goyal
234b92d4ec Merge "Reapplying state UI when the insets change" into ub-launcher3-master 2018-01-18 23:05:51 +00:00
TreeHugger Robot
dbcd632214 Merge "Move scrim from DragLayer to LauncherRootView." into ub-launcher3-master 2018-01-18 22:26:37 +00:00
Jon Miranda
de43a71b06 Move scrim from DragLayer to LauncherRootView.
This change will make opening/closing animations a lot cleaner.

Change-Id: I7f8ae301a9a126023833e282d6654bebd09bb306
2018-01-18 14:15:45 -08:00
Sunny Goyal
ce8809a588 Reapplying state UI when the insets change
Change-Id: Ief9588400f332b2c5b084a8a11c3102b2c20c4ea
2018-01-18 14:03:19 -08:00
TreeHugger Robot
f12cfaa156 Merge "Fading the edges of the thumbnail if the size is different than the view size" into ub-launcher3-master 2018-01-18 20:06:08 +00:00
Sunny Goyal
bac7f64fcc Fading the edges of the thumbnail if the size is different than the view size
Change-Id: I7bfb9d55ccbf4fa0338bc962632cfeac37cd69be
2018-01-18 11:48:40 -08:00
Jon Miranda
69057173a7 Synchronized opening app transition animations.
Bug: 70220260
Change-Id: I3c8e1c477266fb3bd7a39f74e3e1191e82ce58e9
2018-01-18 09:44:54 -08:00
Sunny Goyal
690f249843 Updating the workspace card in recents UI
> Removing the widgets button from the card
> Making the height of the card same as that of the second card
> Using the same swipe rage for going between Normal and Overview state

Change-Id: Ib8bd050c52294bb01522fbcd0236f2221e6fe62d
2018-01-17 16:38:50 -08:00
Sunny Goyal
8d9384e27b Using a default bitmap if we fail to take a screenshot
Change-Id: I7fbde49ee01732795618c2e664c406043ba7831b
2018-01-17 14:30:06 -08:00
Sunny Goyal
000e0a1480 Removing packageName from home intent to avoid duplicate launcher activity
Change-Id: I9a693f04aed2d40b95088e7a939390de5281ce31
2018-01-16 12:16:15 -08:00
Sunny Goyal
75c59acf5c Ensuring that Recents view is always loaded when going to Overview state
Change-Id: If2337a0be66f4ca68dd54954b7368f38d70a40d4
2018-01-16 12:01:57 -08:00
Sunny Goyal
05a3bbdef8 Adding swipe gestures in overview screen
> When on home time, swiping up goes to all_apps, and swiping down goes to normal
> When on a recents tile, swiping up the tile dismisses it, swiping down launches it
> When on a recents tile, swiping up on the hotseat opens allApps.

Change-Id: I59f8c02f5c5d9cb88c0585a083fbc33d33b1c806
2018-01-16 10:31:36 -08:00
TreeHugger Robot
dfa46e1d62 Merge "Adding a back stack to go to overview from all-apps" into ub-launcher3-master 2018-01-12 23:27:52 +00:00
Adam Cohen
f4fce2943e Don't reload the Recents model if it's already loaded
-> This was causing a race condition which would lead to many black
   thumbnails when invoking overview from home

Change-Id: I24221fd42a18a339c1b8bbdc63e63513561be9b9
2018-01-12 13:02:58 -08:00
Tony
6d6fe041c7 Implement quick scrub and quick switch callbacks
Bug: 70180755
Change-Id: I011dd5b0435cea7ba493e83b973ce5be7d18c1f0
2018-01-11 17:20:35 -08:00
Sunny Goyal
1a52ef57c7 Removing some dependency on Launcher UI
Change-Id: Ic1c84880cfe4daa9398b8eb27c3afc0837c5a8ca
2018-01-11 15:33:23 -08:00
Sunny Goyal
49bcf34e81 Adding a back stack to go to overview from all-apps
Change-Id: I94e7c27aa505123ddbe40ffa29b1bbc9b2748293
2018-01-11 14:45:11 -08:00
Sunny Goyal
9bb0d72640 Adding feature to support two different swipe targets from all-apps and overview
Change-Id: I7e7b4abbcebcbd6de43805c57ee40b0edd5ba5aa
2018-01-11 14:13:44 -08:00
TreeHugger Robot
b5d047ca14 Merge "Removing layout handling in DeviceProfile and moving it to individual views" into ub-launcher3-master 2018-01-10 23:25:26 +00:00
Sunny Goyal
07b6929cd9 Removing layout handling in DeviceProfile and moving it to
individual views

Bug: 71709920
Change-Id: I8300fa7a84b31898bdb135d774cca576d2928525
2018-01-10 15:13:25 -08:00
Tony Wickham
5cf0fbcfc5 Merge "Add onWidgetsBound() callback to TaskMenuView" into ub-launcher3-master 2018-01-09 02:07:33 +00:00
Sunny Goyal
228153d92a Updating landscape layout for launcher/quickstep
> Hotseat is tied to navbar (on left in seascape)
> Search box shows up in Overview (clicking it would crash for now)
> All-apps is no longer fullscreen in landscape
> Recents cards are appropriately scaled down
> Hotseat is visible in Overview

Bug: 70179916
Change-Id: I53149eaeac9557e8a01021b7e2d139f3d6ceef37
2018-01-08 13:53:44 -08:00
Tony Wickham
07b1d670f2 Animate to the workspace card when transitioning from overview to home
Change-Id: Ib2c2288fd935f678a5c7a354be09c6d852d86b41
2018-01-05 14:15:10 -08:00
TreeHugger Robot
a92638ab7d Merge "Two state swipe interaction fixes" into ub-launcher3-master 2018-01-03 23:20:28 +00:00