Commit Graph

1301 Commits

Author SHA1 Message Date
Tony
cc3755da6e Swipe up overshoot always plays
Instead of using an OvershootInterpolator, we adjust the end progress to > 1 and
add a second interpolator to settle back to 1. That way, even if the animation runs
starting very late, e.g. 1.0, it still has room to overshoot. We use this same
OvershootParams class to calculate an overshoot for a blocked long fling as well.

Bug: 109709720
Change-Id: I43152237e4350f93e7c462c22e68d09d05c1dd57
2018-06-27 12:25:35 -07:00
Android Build Merger (Role)
a43a22dad7 [automerger] Revert "Add stagger and "springs" to app closing transition." am: f274996ef3
Change-Id: Ic3e64ddfcd62489548e0b929d899270d0fccf9e6
2018-06-26 23:26:35 +00:00
Jonathan Miranda
f274996ef3 Revert "Add stagger and "springs" to app closing transition."
This reverts commit cd57901ca4.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I13e9d2db8f6d6118a1448ba04b67c81b4e485447
2018-06-26 23:24:20 +00:00
Android Build Merger (Role)
c30621cff9 [automerger] Revert "Refactor "spring" code into one method." am: 6a2a1a91a0
Change-Id: I158aa43199f611917b2a2f24a05c0431c8017699
2018-06-26 23:00:46 +00:00
Jonathan Miranda
6a2a1a91a0 Revert "Refactor "spring" code into one method."
This reverts commit b83c71aa24.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I747dfc2ed63709f5f4032b4d4bd2cf3cd5d9e8ce
2018-06-26 23:00:44 +00:00
Matthew Ng
93ea9517fc Dismiss pip will fade task in and snap to it
Test: pip maps and dismiss when on overview
Fixes: 73097187
Change-Id: I6eedb8c2a57963f29d5655dd8f2bcdd350ed4792
2018-06-26 14:25:59 -07:00
Android Build Merger (Role)
012dad7523 [automerger] Revert "Tune app closing/launcher resume animation "spring" values." am: 5023771e05
Change-Id: I7216325a14ad1328311eecc59e7c99f79dc54521
2018-06-26 20:21:09 +00:00
Jonathan Miranda
5023771e05 Revert "Tune app closing/launcher resume animation "spring" values."
This reverts commit c9a7c50fac.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I7ed4270b742803265ed4e3e13b63688842e0b48c
2018-06-26 20:21:07 +00:00
Android Build Merger (Role)
a39ad8044a [automerger] Tune app closing/launcher resume animation "spring" values. am: c9a7c50fac
Change-Id: I620eb8f6d2c86b64eb2ff2ed6df2efecfd80a169
2018-06-25 23:43:41 +00:00
Jon Miranda
c9a7c50fac Tune app closing/launcher resume animation "spring" values.
Bug: 109828964
Change-Id: I64252667451f511b7affdde5ffb28812876e7f4c
2018-06-25 16:42:58 -07:00
TreeHugger Robot
563bc3d1fa Merge "Invoking splitscreen takes snapshot of task without scrim" into ub-launcher3-edmonton-polish 2018-06-22 23:21:00 +00:00
Android Build Merger (Role)
911f9257aa [automerger] Invoking splitscreen takes snapshot of task without scrim am: 26f02037cd
Change-Id: I91eb9037fb7b4e601c8d6edb3be7944e7f8b5d84
2018-06-22 23:10:24 +00:00
Matthew Ng
26f02037cd Invoking splitscreen takes snapshot of task without scrim
Change-Id: I456200f9f61f12b7b80a2604cfeffc2fa16711ce
Fixes: 109676098
Test: splitscreen in overview
2018-06-22 23:10:23 +00:00
TreeHugger Robot
c22289b69e Merge "Touching outside the task in overview goes home" into ub-launcher3-edmonton-polish 2018-06-22 17:44:37 +00:00
TreeHugger Robot
7460b0cf75 Merge changes from topic "am-85252a0e-4c92-4f09-87df-0c1bbcacd786" into ub-launcher3-master
* changes:
  [automerger] Touching outside the task in overview goes home am: b5669efa36
  Touching outside the task in overview goes home
2018-06-22 17:44:37 +00:00
TreeHugger Robot
f6ab06df8b Merge "Fetching assist data only if required by overlay" into ub-launcher3-edmonton-polish 2018-06-22 00:57:57 +00:00
Android Build Merger (Role)
e98d0cec4a [automerger] Touching outside the task in overview goes home am: b5669efa36
Change-Id: Ib134345cae0afc91f22899fac20a8b93c5930dc1
2018-06-21 23:04:07 +00:00
Matthew Ng
b5669efa36 Touching outside the task in overview goes home
There is also a deadzone area around the clear all button to tap easier.

Test: start overview click anywhere that is not the shelf or task
Change-Id: I187ff264444da542aca111b57d94c8199f5a0384
Fixes: 110232233
2018-06-21 16:03:48 -07:00
Android Build Merger (Role)
eb12de06c3 [automerger] Fetching assist data only if required by overlay am: b44c6552b3
Change-Id: Ia6b34b90e9c8015e1e1d2c9c61dce22aa52c1729
2018-06-21 19:19:09 +00:00
Sunny Goyal
b44c6552b3 Fetching assist data only if required by overlay
> Preloading assist data after the touch interaction is complete
> Fixing swipe-up callbacks called in case of quickscrub

Bug: 110532258
Change-Id: I472884ec96be877db5f38098fd0165d464e836ed
2018-06-21 12:18:33 -07:00
TreeHugger Robot
0d746f600b Merge changes from topic "am-dbbb1f28-c3b5-48d1-928e-896c408bee5e" into ub-launcher3-master
* changes:
  [automerger] Allow clear all button in overview be clickable if visible am: 330a634648
  Allow clear all button in overview be clickable if visible
2018-06-21 17:38:24 +00:00
TreeHugger Robot
03a190d284 Merge "Allow clear all button in overview be clickable if visible" into ub-launcher3-edmonton-polish 2018-06-21 17:38:24 +00:00
Android Build Merger (Role)
cddbbc4e72 [automerger] Refactor "spring" code into one method. am: b83c71aa24
Change-Id: I94408b509d703f10b0af2c34c363c680e12128d0
2018-06-21 16:35:01 +00:00
Jon Miranda
b83c71aa24 Refactor "spring" code into one method.
+ Increases the alpha duration of the staggered spring views.

Bug: 109828964
Change-Id: Id7dff9718dfcd5ca5653fdde36d3792201f483b5
2018-06-21 09:34:25 -07:00
Jonathan Miranda
48010091f4 Merge "Adjust interpolators when swiping from overview to all apps" into ub-launcher3-edmonton-polish 2018-06-21 00:30:02 +00:00
Android Build Merger (Role)
913171a692 [automerger] Adjust interpolators when swiping from overview to all apps am: 17be4e71b2
Change-Id: I8a95de51e5b74cb8d3c80539c2db8ec067e1b660
2018-06-20 23:58:34 +00:00
Tony Wickham
17be4e71b2 Adjust interpolators when swiping from overview to all apps
- All apps content fades in quickly so that icons are opaque by the time
  they are on screen
- Recents fades out late so that we don't see it as translucent while
  the transition is continuing (the translucent icon top of tranclucent
  task view looks bad, for instance)
- Fix colored scrim that appears over recents - was using 0 to 1 instead
  of 255

Bug: 79867407
Change-Id: I4f50423157f7870c8d0708f586a72e3e5a7b6559
2018-06-20 16:58:21 -07:00
Android Build Merger (Role)
15caa4e90f [automerger] Add stagger and "springs" to app closing transition. am: cd57901ca4
Change-Id: Iecc50b99ad23502212d6cd164b06ab83a9b5e177
2018-06-20 23:35:34 +00:00
Jon Miranda
cd57901ca4 Add stagger and "springs" to app closing transition.
The "spring" is actually three sequential animations: 1) a slide,
2) an oscillation, and 3) a settle.

Bug: 109828964
Change-Id: I0a2c55f877446a6408952a1201636760283be57b
2018-06-20 16:35:19 -07:00
Android Build Merger (Role)
26a2393efb [automerger] Allow clear all button in overview be clickable if visible am: 330a634648
Change-Id: I0e2365170f4e9eb633e55b4525d9381391931694
2018-06-20 19:55:23 +00:00
Matthew Ng
330a634648 Allow clear all button in overview be clickable if visible
Test: enter overview, make sure clear all button is invisible, try to
tap its location
Fixes: 110432640

Change-Id: I7531e4c6cfdcc9a29d98da24a73c32b8080e013c
2018-06-20 12:54:36 -07:00
TreeHugger Robot
730155ea09 Merge "Fix bug where floating view is removed before window animation is complete." into ub-launcher3-edmonton-polish 2018-06-20 18:46:33 +00:00
Android Build Merger (Role)
4d90d0f9bb [automerger] Fix bug where floating view is removed before window animation is complete. am: 53246e5fdc
Change-Id: I1b8f651b200396819bbf9c1caee799b2d1f325e8
2018-06-19 23:13:23 +00:00
Jon Miranda
53246e5fdc Fix bug where floating view is removed before window animation is complete.
This fix attaches the AnimatorListenerAdapter on the parent AnimatorSet
to ensure all animations are complete before removing the floating view.

Bug: 110156760
Change-Id: I56638d745227e414583fa47a202c9aaa33874baa
2018-06-19 16:13:10 -07:00
Tony Wickham
c0b468c990 Merge "Don't intercept above shelf progress if still animating" into ub-launcher3-edmonton-polish 2018-06-19 22:04:17 +00:00
Tony Wickham
e390d25b68 Merge changes from topic "am-fd839b47-104b-4f3a-a517-fd305a9a6445" into ub-launcher3-master
* changes:
  [automerger] Don't intercept above shelf progress if still animating am: 89126653cd
  Don't intercept above shelf progress if still animating
2018-06-19 22:04:17 +00:00
Android Build Merger (Role)
5f20df2fd9 [automerger] Reapply the change to not clip recents am: 257b9c1ac1
Change-Id: Ia656fd616c5c3442285e5f648a130a1170574952
2018-06-18 17:20:40 +00:00
Santiago Etchebehere
257b9c1ac1 Reapply the change to not clip recents
Redo the fix from ag/4326104 as it got removed when reverting
the overscroll fix in ag/4358154

Change-Id: I87d186cbf7675948f4cd5d8aa1a907db1aad5ea0
2018-06-18 10:18:23 -07:00
Android Build Merger (Role)
fd6b95b049 [automerger] Revert "Adding overscroll effect in recents list" am: 260b4cbd90
Change-Id: I27941b438f5bb0774553698a063b51078d92399d
2018-06-15 23:55:04 +00:00
Santiago Etchebehere
260b4cbd90 Revert "Adding overscroll effect in recents list"
This reverts commit 4d6b1a95a1.

Bug: 110279118

Change-Id: I794b2c7af076d63901f2286fd2ff3d06c6e39fee
2018-06-15 23:55:03 +00:00
Android Build Merger (Role)
637ddfc1a2 [automerger] Allowing taskView to have focusable children (using taskOverlays) am: 32b2896e6f
Change-Id: Ie18c8cb4159ff8c18ff27d0652d659a7ee0c4b52
2018-06-15 21:04:21 +00:00
Sunny Goyal
32b2896e6f Allowing taskView to have focusable children (using taskOverlays)
Bug: 110271905
Change-Id: Ie75a680efa61d3ded6142ff4e65198a704603639
2018-06-15 21:04:18 +00:00
Tony Wickham
a32b6a1d37 Merge "Add padding between hotseat and insets in multiwindow landscape" into ub-launcher3-edmonton-polish 2018-06-14 16:27:18 +00:00
Android Build Merger (Role)
8a019434f2 [automerger] Add padding between hotseat and insets in multiwindow landscape am: 1eeffbee01
Change-Id: Id450b1c1d1b1da4ec3f22d07f0de6883097fc7e9
2018-06-13 19:43:21 +00:00
Tony Wickham
1eeffbee01 Add padding between hotseat and insets in multiwindow landscape
Right now there's almost no room between the hotseat icons and the
nav  bar in this mode, and it looks kind of bad. It also causes
b/109946631 which is fixed by this change.

Also fix placement of popup in RTL landscape (was incorrectly inset)

Bug: 109946631
Change-Id: I324485da0048b907776b16b719b631c5314e5696
2018-06-13 12:37:47 -07:00
Android Build Merger (Role)
67016b4d75 [automerger] Optimize system bar switching animations am: fca9eec464
Change-Id: I7fe092d2514ae4d4cf58d7b5b2b7fca98bdb1237
2018-06-13 12:45:08 +00:00
Jorim Jaggi
fca9eec464 Optimize system bar switching animations
- Fix a bug where the wrong time was used when the activity was in
overview, but overview wasn't actually visible.
- Fixing this looks pretty bad. Introduce a pre-delay since our
animations decelarate heavily at the end.
- Consolidate logic between swipe-up and swipe-down. Take a middle
value that is most in line with the other animations.

Test: Open/close apps from home and recents with and without
swiping.
Fixes: 109906294

Change-Id: I9cd5568c60fe7281d0f71a75981a3003770e659e
2018-06-13 14:44:18 +02:00
Android Build Merger (Role)
a9d82c4591 [automerger] Fixes the task header view location in landscape am: 59ffaf035d
Change-Id: I991f45083d1d4f855b880b050e23a9371ec4f3ce
2018-06-12 20:53:12 +00:00
Matthew Ng
59ffaf035d Fixes the task header view location in landscape
The header was off by forgetting to calculate with insets. Also rtl
needed to start from left to do calculations correctly.

Test: start overview in landscape, press icon of task
Change-Id: I561dbe315c7be0b4dee602bfd17b4abfffa55605
Fixes: 110096772
2018-06-12 13:52:50 -07:00
Android Build Merger (Role)
7dbe951e13 [automerger] Do not clip recents view as it scales down to reveal more content am: b0e4126ad0
Change-Id: I1d57cf7f729155a963c2adcee2c127780ecb23c7
2018-06-12 17:02:51 +00:00