Commit Graph

17126 Commits

Author SHA1 Message Date
Bill Yi 1e819d5ae5 Import translations. DO NOT MERGE
Change-Id: Ib5c08722b8ccc9194894bf7b007cd5d59a74829a
Auto-generated-cl: translation import
2018-06-28 12:11:30 -07:00
Android Build Merger (Role) acbda3fe52 [automerger] Last minute swipe up overshoot tweaks am: d63e6dff28
Change-Id: I75d08b42fd6a62f6ab58ce51d1309f13392cd58b
2018-06-27 22:57:17 +00:00
Adam Cohen d63e6dff28 Last minute swipe up overshoot tweaks
b/109709720

Change-Id: Ie3831289a9af2ba4b03fcbb4f2cbb3f4c2431aec
2018-06-27 15:57:12 -07:00
Tony Wickham ebb20bfdaa Merge changes from topic "am-cf9638ae-d2ec-4b5a-94ac-d1ce047249a4" into ub-launcher3-master
* changes:
  [automerger] Swipe up overshoot always plays am: cc3755da6e
  Swipe up overshoot always plays
2018-06-27 21:00:54 +00:00
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) 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
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
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
Jonathan Miranda b635be59c0 Merge "Add @Test and @Ignore to untested test methods in RequestPinItemTest." into ub-launcher3-edmonton-polish 2018-06-22 01:12:07 +00:00
Jonathan Miranda 80f7b7cc60 Merge changes from topic "am-29c7218a-4e2e-489c-b6fb-3cc0feaf2b88" into ub-launcher3-master
* changes:
  [automerger] Add @Test and @Ignore to untested test methods in RequestPinItemTest. am: ca02f00eb1
  Add @Test and @Ignore to untested test methods in RequestPinItemTest.
2018-06-22 01:12:07 +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
TreeHugger Robot fb6de69009 Merge changes from topic "quick-assistance" into ub-launcher3-master
* changes:
  [automerger] Fetching assist data only if required by overlay am: b44c6552b3
  Fetching assist data only if required by overlay
2018-06-22 00:57:57 +00:00
Android Build Merger (Role) 0095d14ec0 [automerger] Add @Test and @Ignore to untested test methods in RequestPinItemTest. am: ca02f00eb1
Change-Id: I396c673bf256e1003f109201ebac9bb87b864622
2018-06-22 00:21:45 +00:00
Jon Miranda ca02f00eb1 Add @Test and @Ignore to untested test methods in RequestPinItemTest.
Error prone complains when trying to merge launcher3 code to platform pi-dev.

"This looks like a test method but is not run; please add @Test and @Ignore,
or, if this is a helper method, reduce its visibility."

Output:

Executing tasks: [:assembleGoogleDebug, :assembleGoogleDebugAndroidTest]
Gradle build finished in 1s 631ms
Tests Ignored: 1 passed, 4 ignored

Bug: 78589564
Change-Id: Icde57fd8307e1ef409822d1417f629cd1aaa57ba
2018-06-21 17:20:23 -07: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
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
Tony Wickham f7298380f4 Merge changes from topic "am-1abed5a8-2763-4f96-8333-2a5ce35c98d3" into ub-launcher3-master
* changes:
  [automerger] When controlling atomic components, bound to remaining progress am: 520ffec9d3
  When controlling atomic components, bound to remaining progress
2018-06-21 21:55:31 +00:00
Android Build Merger (Role) 4a724052af [automerger] Add @Test and @Ignore to untested test methods. am: 1aaaac8343
Change-Id: Ife9d31c9cf55e17275f8dfa0b70662a94948d395
2018-06-21 21:05:04 +00:00
Jon Miranda 1aaaac8343 Add @Test and @Ignore to untested test methods.
Error prone complains when trying to merge launcher3 code to platform pi-dev.

"This looks like a test method but is not run; please add @Test and @Ignore,
or, if this is a helper method, reduce its visibility."

Change-Id: I95f55b95d8f7752c9c941f0828ca22d6427528c6
2018-06-21 14:04:52 -07: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) 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
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
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
TreeHugger Robot c9420d7443 Merge changes from topic "am-ae65f3ef-6d07-4e27-87c0-96669f2d95fd" into ub-launcher3-master
* changes:
  [automerger] Refactor "spring" code into one method. am: b83c71aa24
  Refactor "spring" code into one method.
2018-06-21 17:27:57 +00:00
TreeHugger Robot 17ebdec113 Merge "Refactor "spring" code into one method." into ub-launcher3-edmonton-polish 2018-06-21 17:27:57 +00:00
TreeHugger Robot 2de013874f Merge "Persist the updated item to DB when a shortcut info is badged for the first time" into ub-launcher3-edmonton-polish 2018-06-21 17:24:43 +00:00