Commit Graph

1301 Commits

Author SHA1 Message Date
Android Build Merger (Role)
8c7e5cb111 [automerger] Set correct target position for other targets am: 707c09d3e3
Change-Id: I953aaf62740e0e9408cde6a5a337e6f2a1f96be4
2018-06-07 14:40:54 +00:00
Jorim Jaggi
707c09d3e3 Set correct target position for other targets
Test: Open/close app in split screen
Bug: 109867619
Change-Id: Ice2325e1be2f45c135e1beca63a16afed2d21644
2018-06-07 16:40:18 +02:00
Android Build Merger (Role)
ea15d92bad [automerger] Overshoot when flinging up from an app am: b45444b250 am: 34838cf551
Change-Id: Ib6cd939131e5df32f713d39bb180f5e2759ddb1f
2018-06-06 23:21:01 +00:00
Android Build Merger (Role)
34838cf551 [automerger] Overshoot when flinging up from an app am: b45444b250
Change-Id: I25d7621d3b60b307d4eb7c466eafc893e78b7ea0
2018-06-06 23:20:59 +00:00
Tony Wickham
b45444b250 Overshoot when flinging up from an app
- Use OvershootInterpolator based on velocity (consistent with swiping up
  from home)
- Scale down recents as well, to be consistent with adjacent pages scaling
  up when you launch a task

Bug: 109709720
Change-Id: Ie47309058ccf673a4b86c40c843c415beb2d8dc7
2018-06-06 23:20:58 +00:00
Android Build Merger (Role)
8fa7632840 [automerger] Reset state amanger, when switching from state animation to task launch animation am: 0cd2a254b2 am: f99417f8bb
Change-Id: I345bca035f5b2c00dedb39bfc8652f0136c461d5
2018-06-06 18:45:09 +00:00
Android Build Merger (Role)
f99417f8bb [automerger] Reset state amanger, when switching from state animation to task launch animation am: 0cd2a254b2
Change-Id: Ide18fd680c598701a8521e5fca1fecb0efd5f3a2
2018-06-06 18:45:07 +00:00
Sunny Goyal
0cd2a254b2 Reset state amanger, when switching from state animation to task launch animation
A pending task launch animation can set some transient properties on state manager.
If the next animation is not a state animation, and reapply is not called, the
transient properties are never cleared

Bug: 79935289
Change-Id: I18398c74692960c460af537bf0c48801e69ac11e
2018-06-06 11:45:00 -07:00
Winson Chung
48412ca2c9 Merge "Fixing task window is not getting alpha set properly when long-swiping" into ub-launcher3-edmonton 2018-06-06 01:00:55 +00:00
Android Build Merger (Role)
9c940a551f [automerger] Fixing task window is not getting alpha set properly when long-swiping am: d01a28758d am: 4600bfca66
Change-Id: Ifaea5caac11678d268d4fd15dab1c34ee7febe69
2018-06-06 00:24:14 +00:00
Android Build Merger (Role)
4600bfca66 [automerger] Fixing task window is not getting alpha set properly when long-swiping am: d01a28758d
Change-Id: I83c8cb55b8d1ad95dc2f36ae3aa368dbcce3acdc
2018-06-06 00:24:13 +00:00
Sunny Goyal
d01a28758d Fixing task window is not getting alpha set properly when long-swiping
We were setting the alpha of the target window to 0 on the UI thread, and setting it
back to 1, through ClipAnimationHelper on background thread

Bug:109701914
Change-Id: I4abb73298b5e957a66f91c5654b184cdd398724b
2018-06-05 17:24:06 -07:00
Winson Chung
7938e9fbc6 Merge "Log source component instead of current task base intent" into ub-launcher3-edmonton 2018-06-06 00:20:32 +00:00
Winson Chung
fbfc33046b Merge changes from topic "am-f473c0ff-c51d-4d80-bdfd-be4951e83f73" into ub-launcher3-master
* changes:
  [automerger] Log source component instead of current task base intent am: 3cc3df59af am: dee4137e5e
  [automerger] Log source component instead of current task base intent am: 3cc3df59af
  Log source component instead of current task base intent
2018-06-06 00:20:32 +00:00
Winson Chung
a1b651dcaf Merge changes from topic "am-f473c0ff-c51d-4d80-bdfd-be4951e83f73" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Log source component instead of current task base intent am: 3cc3df59af
  Log source component instead of current task base intent
2018-06-06 00:20:32 +00:00
TreeHugger Robot
af19ffff62 Merge "Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions" into ub-launcher3-edmonton 2018-06-05 23:57:08 +00:00
Android Build Merger (Role)
fd662397b3 [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a am: 7ef92daaf5
Change-Id: Ia98e9e536debd114efe95d545639b48c081e558c
2018-06-05 23:48:02 +00:00
Android Build Merger (Role)
7ef92daaf5 [automerger] Adding a pending invisibility flag, which is used to indicate that the launcher is not really invisible, but consider it invisible for window transitions am: 1c63c72c1a
Change-Id: Ic88f7803c9a938f20f002f7d8eaf8df33e0f578f
2018-06-05 23:48:01 +00:00
Sunny Goyal
1c63c72c1a Adding a pending invisibility flag, which is used to indicate that the launcher
is not really invisible, but consider it invisible for window transitions

When a recents animation is cancelled, the callback can be received before or after the
wallpaper animation. To ensure that wallpaper animaiton runs properly, we keep the launcher
forceInvisible=true, only for that particular animaiton and false everywhere

Bug: 109735443
Change-Id: I5b22cc3327c8cd53a836d10e09fc88ae103becfc
2018-06-05 16:47:54 -07:00
Android Build Merger (Role)
7c3c1951cc [automerger] Log source component instead of current task base intent am: 3cc3df59af am: dee4137e5e
Change-Id: Ic88a4281bef9d1a07ab1360a2fd6d5834c239a0e
2018-06-05 21:09:35 +00:00
Android Build Merger (Role)
dee4137e5e [automerger] Log source component instead of current task base intent am: 3cc3df59af
Change-Id: If125e120eabe7ac2cd8e56b30f744c3999195dd8
2018-06-05 21:09:34 +00:00
Winson Chung
3cc3df59af Log source component instead of current task base intent
- Report original launch source component to ensure app relaunches can be
  associated with the same app for predictions.

Bug: 109698096
Bug: 109675704
Change-Id: Icc5e95560777ad827fd2430cf3b3b052b65eb1b6
2018-06-05 21:09:32 +00:00
Tony Wickham
406aefce10 Merge "Use getLocationOnScreen() to determine home bounds" into ub-launcher3-edmonton 2018-06-05 17:25:35 +00:00
Tony Wickham
cddb017e6f Merge changes from topic "am-95e6a52f-50ad-414d-a101-982ce29323e7" into ub-launcher3-master
* changes:
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823 am: 23c2b8c8ec
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
  Use getLocationOnScreen() to determine home bounds
2018-06-05 17:25:35 +00:00
Tony Wickham
e9216a80e4 Merge changes from topic "am-95e6a52f-50ad-414d-a101-982ce29323e7" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
  Use getLocationOnScreen() to determine home bounds
2018-06-05 17:25:35 +00:00
Android Build Merger (Role)
4826463555 [automerger] Do not change state in the middle of quickstep gesture am: d936f6a5e9 am: 7c8ffd1d3b
Change-Id: Iabd6fef0416f0672854ff352b13dffb870792bc1
2018-06-05 17:12:32 +00:00
Android Build Merger (Role)
7c8ffd1d3b [automerger] Do not change state in the middle of quickstep gesture am: d936f6a5e9
Change-Id: I6297797bb034ad8bd2600c8abb5a959ee0e6aa32
2018-06-05 17:12:30 +00:00
Sunny Goyal
d936f6a5e9 Do not change state in the middle of quickstep gesture
Changing states causing quickscrub to get cancelled and recentsView to
get reset to page 0, causing an abrupt jump.

Bug: 80537625
Bug: 80497058
Change-Id: I19cfe4380bbff15734b9d90dc31596904da27483
2018-06-05 10:12:23 -07:00
Android Build Merger (Role)
d63cbe49da [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823 am: 23c2b8c8ec
Change-Id: I949ce4eadc177f83c8dfbc2c1292242a00586761
2018-06-05 15:37:52 +00:00
Android Build Merger (Role)
23c2b8c8ec [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
Change-Id: I8e5fd78aabdb623d43772a805a5d53440f27dead
2018-06-05 15:37:50 +00:00
Tony Wickham
678be9b823 Use getLocationOnScreen() to determine home bounds
This correctly accounts for device cutouts in landscape.

Bug: 76220728
Change-Id: I34f022d92957caeffae49b21a89acaf13e188076
2018-06-05 08:36:44 -07:00
Android Build Merger (Role)
5ed9be7e18 [automerger] Skip logging if device profile is not initialized am: 87168ca1f7 am: 4534bd9423
Change-Id: Ic31dfb4f6b0f427a6999128cbd777479fc40a69c
2018-06-01 19:54:49 +00:00
Android Build Merger (Role)
4534bd9423 [automerger] Skip logging if device profile is not initialized am: 87168ca1f7
Change-Id: I2729ac8d3ac15ac7dd92aba2927c6cbb8dd7b3de
2018-06-01 19:54:47 +00:00
Sunny Goyal
87168ca1f7 Skip logging if device profile is not initialized
Since recentsAnimation and animationCancel come on the event queue, we may skip
recentsAnimation and only process animationCancel if they happen too close to
each other, before the first event is scheduled on eventQueue.
As a result deviceProfile is never initialized.
Prevent crash by skipping logging in this case, we shouldn't be logging it anyway

Bug: 80515833
Change-Id: Ife1d6009bcdc34af6c281d848665145cd235fa40
2018-06-01 12:54:10 -07:00
Android Build Merger (Role)
672ed10a11 [automerger] Skip shelf adjustment for PIP when quickscrubbing am: edd4f89f4d
Change-Id: I3ae41c47d1472dc9e3c63814223a186e06313ec7
2018-06-01 18:24:54 +00:00
Tracy Zhou
edd4f89f4d Skip shelf adjustment for PIP when quickscrubbing
Change-Id: I6dbf63dfda608601baa257125db5ec69af9f30ee
Fixes: 80316126
Test: Manual test
2018-06-01 11:24:42 -07:00
Jorim Jaggi
c1ee70bf3d Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton
* changes:
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi
6b42b27619 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-master
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781 am: a7fdc39755
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e am: 65456764cb
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi
02e2865ab9 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
TreeHugger Robot
f4392dbf5a Merge "Some launcher3 fixes so that it compiles with different configurations" into ub-launcher3-edmonton 2018-05-31 16:42:56 +00:00
Android Build Merger (Role)
a7d219f798 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7 am: 9e40ef9894
Change-Id: Ie3eed75fab341dfe274a566c71d6b6fdbab70854
2018-05-31 01:15:28 +00:00
Android Build Merger (Role)
9e40ef9894 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7
Change-Id: I4886d9a1880c35ebb36ccda20401e6c7e394dad9
2018-05-31 01:15:27 +00:00
Sunny Goyal
d0f43ceba7 Some launcher3 fixes so that it compiles with different configurations
Bug: 79996542
Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
2018-05-30 18:15:21 -07:00
TreeHugger Robot
c86805f433 Merge "Theme updates for dark text:" into ub-launcher3-edmonton 2018-05-30 23:06:26 +00:00
Android Build Merger (Role)
a648206cd5 [automerger] Theme updates for dark text: am: 337fcb7983 am: a4feb0c385
Change-Id: Id1edd1dfac985be021f84e92c9014bcbf61608bb
2018-05-30 22:53:18 +00:00
Android Build Merger (Role)
a4feb0c385 [automerger] Theme updates for dark text: am: 337fcb7983
Change-Id: Ib43cca83d5cc0e02a6f5cab4b20ecf325361b08b
2018-05-30 22:53:16 +00:00
Sunny Goyal
337fcb7983 Theme updates for dark text:
> Using white scrim on adjescent tiles in overview
> Using a ligher scrim in dark-theme+dark-text

Bug: 80253867
Change-Id: I3f257d3addaca8bc5970a61722f5ae0e7af89382
2018-05-30 15:53:10 -07:00
Android Build Merger (Role)
477c353e77 [automerger] Shift recents up slightly in quick scrub am: 2f347149af am: c000c34add
Change-Id: Ic0d0afea6bb69f13f35b95fee453311b059229eb
2018-05-30 21:28:40 +00:00
Tony
2f347149af Shift recents up slightly in quick scrub
Bug: 79883290
Change-Id: If57fd52505d7f965ea8a28e90e715c5723915e57
2018-05-30 14:28:20 -07:00
Android Build Merger (Role)
befcbd176e [automerger] Removing accessibility action for Clear-all am: 442fc108c3 am: a3e47fe80c
Change-Id: I470061377e6fb1dce4f17425e0d6b780b805bd85
2018-05-30 00:36:26 +00:00