Commit Graph

8269 Commits

Author SHA1 Message Date
Vadim Tryshev 7acde48955 Enabling more checks in TAPL tests.
Hiding workspace from tests when in AllApps or Overview.

Also, we don’t need workspace_page_container.

Bug: 110103162
Test: Running TaplTests suite
Change-Id: I10875a1ce5d41a015c63034160676578f52d2e98
2018-08-03 10:29:36 -07:00
TreeHugger Robot e98aab058e Merge "Fixing scrolling up in App Apps." into ub-launcher3-master 2018-08-02 22:58:25 +00:00
Jonathan Miranda d9d4b5b2dc Merge changes from topic "am-b9751869-5607-4cac-8442-b1dba848150a" into ub-launcher3-master
* changes:
  [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
  Update launcher grid for tablet devices.
2018-08-02 22:16:06 +00:00
Sunny Goyal 9331521b7d Merge "Exposing some private methods to easily customize widgets popup" into ub-launcher3-master 2018-08-02 21:55:52 +00:00
TreeHugger Robot ce15b325e8 Merge "Retiring some feature flags" into ub-launcher3-master 2018-08-02 21:48:54 +00:00
Sunny Goyal db6cdb07e8 Exposing some private methods to easily customize widgets popup
Change-Id: Ie7bd879200b1f14d472ff03fd64429930651a39f
2018-08-02 14:41:08 -07:00
Vadim Tryshev ff3fa34a7a Fixing scrolling up in App Apps.
Done by scrolling only when scroll position is not zero. This way, the
scroll gesture can't close All Apps.

Bug: 110103162
Test: TaplTests suite
Change-Id: Icfe47d2bcc0210ae221df169d6c35cd1be10ff86
2018-08-02 14:15:05 -07:00
TreeHugger Robot 0b74a7fe5e Merge "Preventing state change duing the swipe up animation when the previous app transition is not complete" into ub-launcher3-master 2018-08-02 18:52:11 +00:00
TreeHugger Robot 1314fee74d Merge "Revert "Create new ShortcutInfo when dropping predicted deep shortcuts."" into ub-launcher3-master 2018-08-02 16:21:07 +00:00
TreeHugger Robot d598f60d91 Merge "Fix All-apps search box background pixelation" into ub-launcher3-master 2018-08-02 16:20:33 +00:00
Stan Iliev dbcb8674fd Fix All-apps search box background pixelation
Enable bitmap filter for search box background. This avoids
jagged line, when bitmap is translated by half screen pixel.

Bug: 77841258
Test: Ran launcher on a device
Change-Id: I9293669da5db8be16ebe55ce01ab0e9735932c12
2018-08-02 11:59:04 -04:00
Android Build Merger (Role) 36d5963b4a [automerger] Update launcher grid for tablet devices. am: 5eacbb7fc1
Change-Id: Ia3de5e3b9956047573cb1d09173021576bd8fa56
2018-07-31 18:15:13 +00:00
Jon Miranda 5eacbb7fc1 Update launcher grid for tablet devices.
* Number of hotseat icons matches number of workspace columns.
* Evenly space out the workspace icons.

Bug: 111617973
Change-Id: Ia80e6354c8d449f2a397db5fd432cebc9f23027f
2018-07-31 11:15:01 -07:00
TreeHugger Robot e5f7acf74a Merge "Stop DiscoveryBounce when user drags to home from Hotseat in Overview." into ub-launcher3-master 2018-07-31 18:07:44 +00:00
TreeHugger Robot 899c08aee8 Merge changes from topic "am-402aa8b3-7a45-468a-931d-83007cd71180" into ub-launcher3-master
* changes:
  [automerger] Increase max distance for folder creation for tablets. am: 5aab8703ee
  Increase max distance for folder creation for tablets.
2018-07-27 23:08:37 +00:00
TreeHugger Robot fc254baf88 Merge "Increase max distance for folder creation for tablets." into ub-launcher3-edmonton-polish 2018-07-27 23:08:37 +00:00
Tony Wickham c1de777946 Merge "Fix gap between notification dots and their shadows" into ub-launcher3-edmonton-polish 2018-07-27 22:21:28 +00:00
Tony Wickham e7e6d4ac2e Merge changes from topic "am-368a5e55-b07c-46fa-b16f-5be22a0ce60a" into ub-launcher3-master
* changes:
  [automerger] Fix gap between notification dots and their shadows am: dfb785afc1
  Fix gap between notification dots and their shadows
2018-07-27 22:21:28 +00:00
TreeHugger Robot 1143469a79 Merge "Tapl library" into ub-launcher3-master 2018-07-24 19:39:54 +00:00
Jonathan Miranda b70e1addb1 Merge "Fix bug where default folder name doesn't change when locale changes." into ub-launcher3-master 2018-07-24 19:00:31 +00:00
Tracy Zhou 402cf4c0cf Stop DiscoveryBounce when user drags to home from Hotseat in Overview.
Change-Id: I9f1ba2eef149565e6aab314a4a8376c1cb08cb60
Fixes: 111330609
Test: Manual test
2018-07-23 11:41:57 -07:00
Android Build Merger (Role) ae3cece03e [automerger] Fix gap between notification dots and their shadows am: dfb785afc1
Change-Id: I9856c789e5d2f79690e69209145ee1a36a6cfec4
2018-07-22 20:50:13 +00:00
Tony dfb785afc1 Fix gap between notification dots and their shadows
There was a rounding issue due to usnig integer division when we meant float

Bug: 73331123
Change-Id: Ic3deb1c26aa00808a929e1303602656ce532963d
2018-07-22 13:49:01 -07:00
Vadim Tryshev 2ce6a13f60 Tapl library
The public API of the library has finalized; flakiness has been removed;
code polished.

Bug: 110103162
Test: TaplTests suite
Change-Id: Ic156bbfeedb1cb9c4a48ef907f97e396e8e81936
2018-07-20 14:43:05 -07:00
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 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
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
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
Sunny Goyal 36b54228fc Retiring some feature flags
Change-Id: I80a00ecaec0785ce2ba6a5f14a54c8a76f555d43
2018-07-10 13:52:17 -07: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
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
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
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
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