Commit Graph

17145 Commits

Author SHA1 Message Date
Sunny Goyal d7e217abb3 Animating task icon scale when using long swipe
> Separating the task icon animation and setter into 2 separate methods and calling each appropriately
> Using taskId instead of TaskView for ignoreSet as taskView can be reassigned

Bug: 110893730
Change-Id: I7bc958e53becffdf633766373b257ead2eeef2ad
2018-07-10 12:32:31 -07:00
TreeHugger Robot 070d23091a Merge "Dismiss pip will fade task in and snap to it" into ub-launcher3-master 2018-07-10 19:10:11 +00:00
TreeHugger Robot 3437bba865 Merge "Moving some abstract classes to interfaces, to better use java-8 features" into ub-launcher3-master 2018-07-10 18:58:46 +00:00
Sunny Goyal 83fd25e3af Moving some abstract classes to interfaces, to better use java-8 features
Change-Id: I862af4931c95cbde052130d8b7d4ac3375db782f
2018-07-09 17:01:28 -07:00
Sunny Goyal 7edf3d3f9a Only call requestUnbind if we are connected.
Somethimes onSettingChanged can come after the connected has disconnected because
of posting message on the different thread.

Bug: 110929527
Change-Id: I09f503c2f2f437c8656d491a7fdec3ce4e82257b
2018-07-09 15:09:43 -07:00
Winson Chung ce368154ce Prevent extra call to set activity orientation.
- We can request the locked orientation for quickscrub only when we
  start quickscrub

Bug: 80500702
Change-Id: I2e83ff916f92959fccf79f1d6b987806338512f5
2018-07-03 21:51:06 +00:00
Sunny Goyal d0e360a858 Lazy loading LauncherAppState
Separating InvarantDeviceProfile out of LauncherAppState and creating
LauncherAppState only when it is actually used

Change-Id: I2ee55f53cae01f11203f94675bb5f70c65ad2b9d
2018-07-03 14:39:21 -07:00
Matthew Ng 87555c56dc Fixed small line that may appear opening task menu with decimal position
Round the y and x values to get correct position without showing a small
line when opening the task menu.

Test: increase the display and font size to large, go to overview and
tap icon
Fixes: 110415497

Change-Id: Ia41378863fb08fc72f5cd14b40f45769ab612d22
2018-07-03 15:25:31 +00:00
Sunny Goyal 7f920b8d5e Cleaning up build rules to simplify customizing derivative projects
> Using {packageName} instead of hardcoding com.android.launcher3 in AndroidManifest.xml
  for strings which are dependent on packageName
> Adding proguard rule to prevent obfuscating any overridable class
> Making it easier to extend SettingsActivity by overriding the fragment class

Change-Id: I5668c3f33b4cf20ad01d7f54b3d79cc0d268d391
2018-07-02 11:16:04 -07:00
TreeHugger Robot 132bfb8a1f Merge changes from topic "am-b2190f70-93ef-44e6-8473-41d098cf486b" into ub-launcher3-master
* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: d7a20ce619 skipped: 18b5715113
  [automerger skipped] Import translations. DO NOT MERGE skipped: d7a20ce619
  Import translations. DO NOT MERGE
2018-06-29 00:56:59 +00:00
TreeHugger Robot d3f8d667a5 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-06-29 00:54:42 +00:00
Android Build Merger (Role) 778112acf7 [automerger] Fix clipping issue on adaptive icons Bug: 62372639 am: 82d0835fa5
Change-Id: Ib3b40778e3828dacd0d851481afdeefe9960e5b3
2018-06-28 22:19:24 +00:00
Hyunyoung Song 82d0835fa5 Fix clipping issue on adaptive icons
Bug: 62372639

Verified the one last device, b***line.

Change-Id: I1d97d0cbe0afe76ee21de5964abf639fb4c0fceb
2018-06-28 15:19:05 -07:00
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) b7097319da [automerger skipped] Import translations. DO NOT MERGE skipped: d7a20ce619 skipped: 18b5715113
Change-Id: Ic6e477e32c55e87f4e475104c69e08bfd5a355d1
2018-06-28 19:07:34 +00:00
Android Build Merger (Role) 18b5715113 [automerger skipped] Import translations. DO NOT MERGE skipped: d7a20ce619
Change-Id: Ic2480c1add8ddafa803b5e5d30f2adaf2b3813cc
2018-06-28 19:07:33 +00:00
Bill Yi d7a20ce619 Import translations. DO NOT MERGE
Change-Id: Ieabec06db1791c1b2887c37aa600f2178906d761
Auto-generated-cl: translation import
2018-06-28 12:07:24 -07:00
Android Build Merger (Role) 3241e68632 [automerger] Fix clipping issue on adaptive icons Bug: 62372639 am: 7d4ef41cb4
Change-Id: Id8b659b99db2b2ee5fcb468a046ef9704046487e
2018-06-28 18:33:37 +00:00
Hyunyoung Song 7d4ef41cb4 Fix clipping issue on adaptive icons
Bug: 62372639

Change-Id: Ie9dcf18f61c45225823dfbbf85578edcbffd86b9
2018-06-28 11:33:23 -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
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
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