Commit Graph

34630 Commits

Author SHA1 Message Date
TreeHugger Robot 7b8ed5a111 Merge "Defer starting the high-res thumbnail loader until quick step/scrub" into ub-launcher3-edmonton-polish 2018-07-18 22:15:15 +00:00
Android Build Merger (Role) 498a9bd559 [automerger] Defer starting the high-res thumbnail loader until quick step/scrub am: 8eb49e079e
Change-Id: I3b69862c42175d7680fd6a4878247c3cf7c0081f
2018-07-18 22:06:04 +00:00
Winson Chung 8eb49e079e Defer starting the high-res thumbnail loader until quick step/scrub
- When hitting the home button, we may be loading high-res thumbnails
  unnecessarily since the high-res loader is already enabled when
  Launcher is started.

Bug: 111515602
Bug: 111156069

Change-Id: I367993b4ddf653b816355df005c745caed5e794a
2018-07-18 15:05:54 -07:00
Android Build Merger (Role) 5e0634fed7 [automerger] Increase max distance for folder creation for tablets. am: 5aab8703ee
Change-Id: I37270e7cc65e66c16518b0921e06d26fa30b3bf4
2018-07-17 20:54:24 +00:00
Jon Miranda 5aab8703ee Increase max distance for folder creation for tablets.
Tablets generally have larger cell sizes (relative to phones, and relative to
the icon sizes with the cells). By increasing the distance from 55% to 75% of
icon size, it is easier for users to meet the folder creation threshold before
the icon reorder timeout is triggered.

Bug: 110796219
Change-Id: I8264390b8510340f4062e05ec12d0755e93a80d8
2018-07-17 13:52:24 -07:00
Matthew Ng eb9cc9dbd5 Animate the long press icon scale for task menu to match task view
Use scale listeners to track each other's icon scale to match them.

Test: go to recents and long press icon
Fixes: 110789415
Change-Id: I9bba3130ecf1d099db9708c84e709d16f5906c36
2018-07-17 11:21:23 -07:00
android-build-team Robot a7ab0ce147 Snap for 4896767 from d6dcb9ac36 to qt-release
Change-Id: Iab751e1051f5aa76612bf3b7010e6b20675abb18
2018-07-17 03:00:48 +00:00
Jon d6dcb9ac36 Merge branch 'ub-launcher3-edmonton-polish' into pi-dev am: 0fd1472b94
am: eb3e99bd11

Change-Id: I8c97047d7c0946053441514c56ca8de7927d9044
2018-07-16 17:10:44 -07:00
Jon eb3e99bd11 Merge branch 'ub-launcher3-edmonton-polish' into pi-dev
am: 0fd1472b94

Change-Id: Ib3e4a8a65875a76ba0f772619f44130f94dc4dad
2018-07-16 17:04:47 -07:00
Android Build Merger (Role) 1f8cbcf1c6 [automerger] App menu icon launching app info hides taskview menu am: 00fec0d53b
Change-Id: I9a9367b8c6f41aba000f842df7d44171392639ec
2018-07-14 00:02:12 +00:00
Matthew Ng 00fec0d53b App menu icon launching app info hides taskview menu
Change-Id: I0b493229d18027adbb7c1ee15b38d859e0b3a434
Fixes: 111405044
Test: go to overview, tap icon, tap app info
2018-07-13 17:00:24 -07:00
Jon 0fd1472b94 Merge branch 'ub-launcher3-edmonton-polish' into pi-dev
Bug: 111438498
Bug: 80134723
Test: manual
Change-Id: If50f0cfd7ce02978eb0d2ab3a8d5e2c1550548c6
2018-07-13 14:41:28 -04:00
Sunny Goyal c487b36519 Revert "Create new ShortcutInfo when dropping predicted deep shortcuts."
This reverts commit 4685965355.

Reason for revert:
Bug: 111435256

Change-Id: I4baf35dcc944915acad9b62d6e36a6858f89af85
2018-07-13 17:03:34 +00:00
Sunny Goyal 379e8e0fa2 Preventing state change duing the swipe up animation when the previous app
transition is not complete

> This state change causes the RecentsView to get reset making the first
task visible

Bug: 111404703
Change-Id: I8ff2577bf965fb4cdf736fb18683ded63ade1872
2018-07-12 15:15:00 -07:00
Sunny Goyal 32f91ab991 Proxying touch events from RecentsTouchConsumer to Launcher
While swipe-up animation is running, the user can quickly start
another touch gesture. In that case we keep the recents transtion active
and proxy all touch events to launcher.

Bug: 110901700
Change-Id: Ie3b448dfea00473082dc9143423d3596504a3fcc
2018-07-12 14:06:54 -07:00
Jon Miranda aeb4dd026c Fix bug where default folder name doesn't change when locale changes.
Bug: 78611156
Change-Id: I25c67fc5ebc3edc2d6090f0da0e37bf2e4c07cbf
2018-07-12 12:41:52 -07:00
Sunny Goyal 0a40a187b5 Merge "Exposing some private methods to easily customize arrow popup" into ub-launcher3-master 2018-07-12 18:45:27 +00:00
TreeHugger Robot 90218c4435 Merge changes from topic "am-3a638250-0228-430a-9592-99d4a7bd5036" into ub-launcher3-master
* changes:
  [automerger] Workaround for flicker between handoff from app to task view am: 35a6848fa8
  Workaround for flicker between handoff from app to task view
2018-07-12 17:33:22 +00:00
Hyunyoung Song 956ec4b0e5 Remove device profile dependency from UserEventDispatcher
Bug: 110122682

Change-Id: I31ba61e60e31f1cc84e6d0cf115193e45d9fcfdb
2018-07-11 23:31:01 -07:00
Sunny Goyal 87b5eb689b Exposing some private methods to easily customize arrow popup
Change-Id: I6f6dc0604a616f26c0879732a0237767ddbfdccc
2018-07-11 14:35:51 -07:00
Android Build Merger (Role) e946640883 [automerger] Workaround for flicker between handoff from app to task view am: 35a6848fa8
Change-Id: Idcffacc752663758ac38937819457195b637ed10
2018-07-11 18:00:11 +00:00
Winson Chung 35a6848fa8 Workaround for flicker between handoff from app to task view
- Defer finishing the recents animation for a couple frames until the
  frame has likely been pushed to sf and drawn, otherwise the reparenting
  of the app surface may happen before the task view is visible in
  Launcher.

Bug: 111299394
Test: Swipe up repeatedly from an app
Change-Id: I627dc085a5e376436b2b8eb5841c45fd36deff42
2018-07-11 11:00:03 -07:00
Sunny Goyal 36b54228fc Retiring some feature flags
Change-Id: I80a00ecaec0785ce2ba6a5f14a54c8a76f555d43
2018-07-10 13:52:17 -07:00
TreeHugger Robot 17b7d36594 Merge "Touch up/cancel over navigation bar will send down event to drag layer" into ub-launcher3-master 2018-07-10 19:48:24 +00:00
Matthew Ng 7068f56922 Touch up/cancel over navigation bar will send down event to drag layer
There is no events from nav bar to send to drag layer until crossing the touch
slop on move. If up occurs, sending the touch down event will clear floating
objects such as the folders.

Change-Id: I6095506f505535e04d59c403e539f37e27295470
Fixes: 111008382
Test: open folder, touch an empty space on nav bar
2018-07-10 12:38:55 -07:00
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 f912bd955f Merge changes from topic "am-b2190f70-93ef-44e6-8473-41d098cf486b" into ub-launcher3-edmonton-polish
* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: d7a20ce619
  Import translations. DO NOT MERGE
2018-06-29 00:56:59 +00: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