Commit Graph

12718 Commits

Author SHA1 Message Date
Tony Wickham 969abca838 Merge "Swipe up overshoot always plays" into ub-launcher3-edmonton-polish 2018-06-27 21:00:54 +00:00
Sunny Goyal 74a7e6a3d8 Using platform implementation of Scroller instead of maintaining a copy
Bug: 109828536
Change-Id: Ief98c96e0c39a2ea70ed32e59aff71e6c45b176a
2018-06-27 13:06:32 -07:00
Android Build Merger (Role) 002560dee7 [automerger] Swipe up overshoot always plays am: cc3755da6e
Change-Id: I663d742f3349d52e74d84a6d4f5376588abf201c
2018-06-27 19:25:50 +00:00
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) d3f6ec1de7 [automerger] Revert "Fix typo in horizontalShift" am: 33cbe61e97
Change-Id: I3c9aa98e9d319c2b6ed05fc6bddc2bd2251f67a3
2018-06-26 22:33:45 +00:00
Jonathan Miranda 33cbe61e97 Revert "Fix typo in horizontalShift"
This reverts commit e45b3e21a9.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I4d2956d3f8d23e8f9579fd61418bc84e7226ef60
2018-06-26 22:33:44 +00:00
Jonathan Miranda 2548bab28a Merge changes from topic "am-311047b7-9aba-4d38-a09b-84959ef45285" into ub-launcher3-master
* changes:
  [automerger] Revert "Tune app closing/launcher resume animation "spring" values." am: 5023771e05
  Revert "Tune app closing/launcher resume animation "spring" values."
2018-06-26 22:32:37 +00:00
Jonathan Miranda 3d80330efc Merge "Revert "Tune app closing/launcher resume animation "spring" values."" into ub-launcher3-edmonton-polish 2018-06-26 22:32:37 +00:00
Android Build Merger (Role) fd69d1780c [automerger] Add additional call to onStop() to stablize PIP position. am: 626467130f
Change-Id: I7338f8978dcfd0ce3a313a8ea5c911e4362c146d
2018-06-26 21:48:00 +00:00
Tracy Zhou 626467130f Add additional call to onStop() to stablize PIP position.
Bug: 110799409
Test: Manual
Change-Id: I361eeadbf298bb239d8e373f3c6fa49d1f2410a6
2018-06-26 14:19:02 -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
Tony Wickham 07fcd3bea2 Merge "When controlling atomic components, bound to remaining progress" into ub-launcher3-edmonton-polish 2018-06-21 21:55:31 +00:00
Android Build Merger (Role) 7c2b0c0152 [automerger] When controlling atomic components, bound to remaining progress am: 520ffec9d3
Change-Id: Ie5377c44c628300545bc1898e69255427e4eea5a
2018-06-21 20:45:26 +00:00
Tony Wickham 520ffec9d3 When controlling atomic components, bound to remaining progress
Before, we were just controlling the components as far as we had left,
which was fine since they are just a subtle effect anyway. But now that
we don't fade out until the very end, this means that long swiping from
home usually kept recents in the background during the entire swipe and
then abruptly disappear after letting go. Now we make sure the entire
atomic animation plays by the time we reach all apps, so recents will
fade out in all cases.

Bug: 79867407
Change-Id: I7cb6790d9055bc76b4b73ed761604042a308c987
2018-06-21 13:38:53 -07:00
Android Build Merger (Role) 35f54625a5 [automerger] Fix typo in horizontalShift am: e45b3e21a9
Change-Id: Ifb1f77b2ec72968c8b973d38b7954d5f9d928dcf
2018-06-21 18:34:21 +00:00
Jon Miranda e45b3e21a9 Fix typo in horizontalShift
Bug: 109828964
Change-Id: I0ef749ccd2d24556e05873186ed3fcdcb09a7d32
2018-06-21 11:33:04 -07:00
Android Build Merger (Role) 5b29feb65f [automerger] Persist the updated item to DB when a shortcut info is badged for the first time am: f266deb24c
Change-Id: Id4b322ec5e39be149bfac0a5e89c52ac3807e43e
2018-06-21 17:00:43 +00:00
Sunny Goyal f266deb24c Persist the updated item to DB when a shortcut info is badged for the first time
Bug: 110016648
Change-Id: I8e36b80e9c893de91bce208ceac93a3fcdb557d5
2018-06-21 10:00:22 -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
Jonathan Miranda c9a2d76391 Merge changes from topic "overview-allapps-interpolators" into ub-launcher3-master
* changes:
  [automerger] Adjust interpolators when swiping from overview to all apps am: 17be4e71b2
  Adjust interpolators when swiping from overview to all apps
2018-06-21 00:30:02 +00:00
TreeHugger Robot b0ab81633d Merge "Tune device profiles." into ub-launcher3-edmonton-polish 2018-06-21 00:15:15 +00:00
TreeHugger Robot 66895df4a3 Merge changes from topic "am-0ae90ad9-ce38-4d9c-a359-8fab89ef2835" into ub-launcher3-master
* changes:
  [automerger] Tune device profiles. am: 7e183c3976
  Tune device profiles.
2018-06-21 00:15:15 +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) 306aecc267 [automerger] Tune device profiles. am: 7e183c3976
Change-Id: I743a34c911977976cd62597b3a0fbfdf8419551e
2018-06-20 23:43:33 +00:00
Jon Miranda 7e183c3976 Tune device profiles.
* Extend page indicator so that its centered within the gap between
  the workspace items and hotseat.
* Decrease the amount of extra space we allot to the hotseat.
* Add the extra space to the hotseat bottom padding so that the hotseat icons
  are aligned to the top of the hotseat.

Bug: 78589630
Change-Id: I78c619a757d9d248874216e93376ad4ba18c8e50
2018-06-20 16:43:19 -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
TreeHugger Robot 765996e1e3 Merge "Apply legacy treatment on all non adaptive icons Bug: 110123894 Bug: 62372639" into ub-launcher3-edmonton-polish 2018-06-20 18:25:26 +00:00
Android Build Merger (Role) 1d8c59ffa8 [automerger] Apply legacy treatment on all non adaptive icons Bug: 110123894 Bug: 62372639 am: 0d84d7de61
Change-Id: I3ecba41a233adc4e24b1e758775923328b751f54
2018-06-20 18:02:06 +00:00
Hyunyoung Song 0d84d7de61 Apply legacy treatment on all non adaptive icons
Bug: 110123894
Bug: 62372639

Change-Id: I3bcaa3b9886942b4f1d45aaeebc8b8022e1319f8
2018-06-20 11:01:52 -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) 5b08262ece [automerger] Exposing some methods to make QSB customization easier am: 95cded5424
Change-Id: I23d83e5d5565778cb30a44dcdcbea0488679998a
2018-06-18 08:11:56 +00:00
Sunny Goyal 95cded5424 Exposing some methods to make QSB customization easier
Bug: 110336301
Change-Id: I74d73bfd4b345bae2ecab144b37f1af1126e4725
2018-06-18 01:11:46 -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
Hyunyoung Song 64fff351c1 Merge changes from topic "clockicon" into ub-launcher3-master
* changes:
  [automerger] Create a param to return scale used for bitmap creation Bug: 110082040 am: 4bc3cc3111
  Create a param to return scale used for bitmap creation Bug: 110082040
2018-06-15 22:00:32 +00:00
Hyunyoung Song 73088c2aae Merge "Create a param to return scale used for bitmap creation Bug: 110082040" into ub-launcher3-edmonton-polish 2018-06-15 22:00:32 +00:00
Jonathan Miranda 0d2c6c23ed Merge "Fix bug where QSB gets clipped when flinging All Apps open." into ub-launcher3-edmonton-polish 2018-06-15 19:44:12 +00:00
Jonathan Miranda 81fbb53ee3 Merge changes from topic "am-e8c5d80c-f67d-44fc-85c2-887442665503" into ub-launcher3-master
* changes:
  [automerger] Fix bug where QSB gets clipped when flinging All Apps open. am: 3c71c6a564
  Fix bug where QSB gets clipped when flinging All Apps open.
2018-06-15 19:44:12 +00:00
TreeHugger Robot f37cfa72d2 Merge "Immediate 2nd quickscrub should not cancel if same state" into ub-launcher3-edmonton-polish 2018-06-15 19:36:41 +00:00
TreeHugger Robot 6e94ee24ce Merge changes from topic "am-c5545bb3-b4fc-4188-890e-09975d70878c" into ub-launcher3-master
* changes:
  [automerger] Immediate 2nd quickscrub should not cancel if same state am: f8fafa2847
  Immediate 2nd quickscrub should not cancel if same state
2018-06-15 19:36:41 +00:00
Android Build Merger (Role) 1f21f417f4 [automerger] Fix bug where QSB gets clipped when flinging All Apps open. am: 3c71c6a564
Change-Id: Idb85d97d1253b253c180247f34f8c1631cea6bbf
2018-06-15 18:19:52 +00:00
Jon Miranda 3c71c6a564 Fix bug where QSB gets clipped when flinging All Apps open.
Bug: 77538324
Change-Id: I3e40346559fd3b7010d92d28e12efcf2d8581640
2018-06-15 11:19:32 -07:00