Commit Graph

34630 Commits

Author SHA1 Message Date
Hyunyoung Song be2307bbea Reduce falsing on swipe down for notification shade.
b/116879058

Change-Id: If3dde635cdff09faf27dbab2cd022b9d246c7c2b
2018-10-01 11:41:37 -07:00
android-build-team Robot db364e3552 Snap for 5039702 from 1c022d7751 to qt-release
Change-Id: I470d10cd154f4328cc2ba78dcb484df492b50c29
2018-09-30 03:17:35 +00:00
Sunny Goyal ac8154a23d Caching widget labels in icon cache to avoid lookup at startup
Change-Id: Ie026ee47905454bd70e774d422cd7fe142aec7e2
2018-09-28 16:36:33 -07:00
TreeHugger Robot ff2d0d0a9e Merge "Defer removing the task view until the app has drawn" into ub-launcher3-master 2018-09-28 18:30:56 +00:00
Winson Chung d123a3d789 Merge "Ensure that we don't additionally crop the launcher surface" into ub-launcher3-master 2018-09-27 23:16:55 +00:00
Winson Chung 1c022d7751 Merge "Ensure that we don't additionally crop the launcher surface" 2018-09-27 23:16:38 +00:00
Vadim Tryshev 11c524365b Merge "Attempting to fix flakes in AllAppsIconToHomeTest" into ub-launcher3-master 2018-09-27 22:43:21 +00:00
Winson Chung 2660ca5d0e Ensure that we don't additionally crop the launcher surface
- Now that we are controlling the launcher app surface as well while
  swiping up into overview, skip applying the crop to any opening
  remote animation targets.

Bug: 70341013
Test: Swipe up, and ensure everything still works
Change-Id: I87b4021c0fc0e2997185d4d12f26b2e06999ff57
2018-09-27 18:26:52 +00:00
Vadim Tryshev 43524d0daa Attempting to fix flakes in AllAppsIconToHomeTest
Pressing an icon in AllApps doesn't show a context menu.

The flake doesn't repro locally, the suspects are:
1. Too short wait time
2. App being partially covered by navbar.

Hence the fixes.

This patch is temporary, and will be replaced with a permanent one when
this will be converted to TAPL.

Test: AllAppsIconToHomeTest
Change-Id: I0a03ff8827a5bc7940af3ec956d4b62330a16c66
2018-09-26 18:15:42 -07:00
TreeHugger Robot 08a915c0ce Merge "Add some gesture logging to track down quickscrub launch issue" into ub-launcher3-master 2018-09-26 23:44:44 +00:00
Winson Chung 665bc46d54 Add some gesture logging to track down quickscrub launch issue
- Keep rudimentary log of the last few gestures for dumping with the BR
- Also renaming updateInteractionType since we only use it to change
  to the quickscrub starting interaction type now, which is less
  confusing

Bug: 112783625

Change-Id: Ic024684caf2841cd7c09df9481163ea0c0ae03bd
2018-09-26 23:33:36 +00:00
Sunny Goyal 9f2e997b30 Fixing packageInfo map not getting initialized properly
Change-Id: I395a2a3175675815d6d12a04898132094d3a889c
2018-09-26 15:30:48 -07:00
Jon Miranda b0edaeb268 Align rounded corner of fastscroller popup with the top of the thumb.
Bug: 63852509
Change-Id: I90b6d3e87206a53cfb4c8025a8e5f9597cf73898
2018-09-26 13:19:25 -07:00
Hyunyoung Song a4483361ff Fix ClassNotFoundException for FixedScaleDrawable
Change-Id: I6198a77ddb49505ead86de91dd7096a681873a1d
2018-09-26 12:26:53 -07:00
Hyunyoung Song 3d6fa5205b Merge "Move IconNormalizer/ShadowGenerator/LauncherIcons to icons package" into ub-launcher3-master 2018-09-26 19:12:42 +00:00
Hyunyoung Song 48cb7bc7a4 Move IconNormalizer/ShadowGenerator/LauncherIcons to icons package
Bug: 115891474

Sending out the package name changing CL first before I make
LauncherIconsHandler and tests around it.

Change-Id: Ic10479a06333e1435b392a7072cd08782e710cbd
2018-09-26 11:57:37 -07:00
TreeHugger Robot bb517d3b25 Merge "Support for running tests out of Launcher process" into ub-launcher3-master 2018-09-26 09:18:26 +00:00
TreeHugger Robot d513d845fc Merge "Fixing AllAppsIconToHomeTest" into ub-launcher3-master 2018-09-26 08:56:06 +00:00
android-build-team Robot 96c60b315a Snap for 5030474 from 884f26bb33 to qt-release
Change-Id: I64c9b08250da4e2faaa20b7723b23fb0d0cbf882
2018-09-26 03:05:42 +00:00
Winson Chung c533f315ca Defer removing the task view until the app has drawn
Bug: 111896388
Change-Id: I8c900e56fcbbdc400dce646c50f8f14b1da4e17f
2018-09-25 18:18:18 -07:00
Tony Wickham c6dc0c24ec Merge "Change long press timeout to use a factor of ViewConfiguration.getLongPressTimeout()" into ub-launcher3-master 2018-09-26 00:01:12 +00:00
TreeHugger Robot 8e95c9b5e6 Merge "Scaling down the icon in same path as scaling up" into ub-launcher3-master 2018-09-25 23:50:22 +00:00
TreeHugger Robot 8968604045 Merge "Extracting icon caching logic into a base class." into ub-launcher3-master 2018-09-25 23:44:12 +00:00
Sunny Goyal 0b3053c9fc Extracting icon caching logic into a base class.
This will allow using the cache cache for other type of objects,
like shortcuts and widgets.

Change-Id: I38616d031cb051f93e724d9cc0e8fe9a822b9e3a
2018-09-25 16:36:06 -07:00
Sunny Goyal 11137385a3 Scaling down the icon in same path as scaling up
If for some reason, the animation is not created (eg in case of forced rotation),
we should also skip scaling down the icon so that the final UI is always in
a consistent state.

Bug: 78793089
Change-Id: Ie3e8b6d14b05ee983bc5e12401c1fa078034e392
2018-09-25 14:26:25 -07:00
Sunny Goyal 8c79668069 Merge "Using velocity tracker for computing the velocity of motion events" into ub-launcher3-master 2018-09-25 21:15:26 +00:00
Jon Miranda 1786df36c2 Fix bug where folder items get clipped.
We need to account for both sides in the folder margin calculation.
eg. in MW mode with display set to Largest, the folder can reach both edges

Bug: 115955939
Change-Id: I145c8c1c2a75891eb3386284f06fc98800fe5ce9
2018-09-25 13:05:23 -07:00
Vadim Tryshev 29e1b51a04 Fixing AllAppsIconToHomeTest
It's flaky now since apparently a previous test leaves open context
menu.

This should help.

Test: AllAppsIconToHomeTest
Change-Id: Iaa723f43963f2bfb2be8d590225cf18a2eec3d13
2018-09-25 11:46:39 -07:00
Vadim Tryshev 47d66ad879 Support for running tests out of Launcher process
This CL doesn't turn it on yet.

Bug: 113056917
Test: TaplTests
Change-Id: I01007cb9ab330166cbb8a4c1fcd0cee0c60aeba5
2018-09-25 10:32:30 -07:00
Hyunyoung Song 884f26bb33 Merge branch 'ub-launcher3-master' into launcher3merge2018-09-24
Test: will rely on presubmit
Change-Id: Id39959723c25e7e964ca85fd8b69692d554d157a
2018-09-24 15:51:04 -07:00
TreeHugger Robot d65f5f7f1a Merge "Cancelling long press on workspace if touch point moves a lot" into ub-launcher3-master 2018-09-24 22:37:51 +00:00
Tony 2ca999cf1b Change long press timeout to use a factor of ViewConfiguration.getLongPressTimeout()
This way, if the default ViewConfiguration timeout changes, we will adjust accordingly.

Bug: 113639506
Change-Id: Ic3b93311c8e8d8196db2850fa641ffc675a16fb2
2018-09-24 17:24:51 -04:00
Tony Wickham 0dfa0ce22d Merge "Use task insets rather than launcher insets when swiping down" into ub-launcher3-master 2018-09-24 20:37:47 +00:00
Winson Chung 083b4312bb Ensure that we don't additionally crop the launcher surface
- Now that we are controlling the launcher app surface as well while
  swiping up into overview, skip applying the crop to any opening
  remote animation targets.

Bug: 70341013
Test: Swipe up, and ensure everything still works
Change-Id: I87b4021c0fc0e2997185d4d12f26b2e06999ff57
2018-09-24 20:34:58 +00:00
Tony 6379d5370b Use task insets rather than launcher insets when swiping down
This fixes the issue where dragging down on full screen apps was
offset by the status bar even though it shouldn't be.

Bug: 77979532
Change-Id: I8cb17778c4ae66b1821e86dd757626f875a27d2d
2018-09-24 15:31:40 -04:00
Sunny Goyal 73a3d79d24 Cancelling long press on workspace if touch point moves a lot
Bug: 113695336
Change-Id: I9a2e5972b6718b31cffd88be218fe5744c702827
2018-09-24 11:31:22 -07:00
Sunny Goyal f7ed9c0f2c Merge "Removing additional rpc due to icon cache update" into ub-launcher3-master 2018-09-24 16:43:18 +00:00
android-build-team Robot ce55f14ddf Snap for 5025290 from 1447f14cfc to qt-release
Change-Id: I66ed7167e47d3d006bebfc52e4b6c0d07d9617c5
2018-09-23 03:01:45 +00:00
Bill Yi 94001d6db0 Import translations. DO NOT MERGE
Change-Id: Ie0d34917778d73f08e441cc078bdcbabe752e6a4
Auto-generated-cl: translation import
2018-09-22 08:51:38 -07:00
Sunny Goyal f840f10d50 Removing additional rpc due to icon cache update
When launcher loads, it fetches the list of apps twice, once for
loading all-apps and again for updating icons. Instead reusing
the previously fetched apps list.
Also moving the icon loading in a separate package for further
generalization

Change-Id: Ibd2dae56e6027a31b633da030bc6b43a90b27e1b
2018-09-21 15:27:03 -07:00
TreeHugger Robot 19e0e8ab1f Merge "Add support for testing in portrait mode" into ub-launcher3-master 2018-09-21 22:03:07 +00:00
Vadim Tryshev 802a28946c Add support for testing in portrait mode
Bug: 110103162
Test: TaplTests
Change-Id: I7f633405c04984ea8f04acdc6dd4ad21019d3409
2018-09-21 14:53:11 -07:00
TreeHugger Robot 1473b8e102 Merge "Removing ViewScrim and cutom drawing code" into ub-launcher3-master 2018-09-21 20:28:03 +00:00
Jon 1447f14cfc Merge branch 'ub-launcher3-edmonton-polish' into pi-dev am: 170be9beb0
am: f5060578ec

Change-Id: Iac01f216278cd638f267261f1a7fdbb441620598
2018-09-21 12:31:14 -07:00
Jon f5060578ec Merge branch 'ub-launcher3-edmonton-polish' into pi-dev
am: 170be9beb0

Change-Id: I887337a41ddf77e4cc4ff5df25f0f9cada10553c
2018-09-21 12:26:08 -07:00
TreeHugger Robot 3a030ef994 Merge "Removing various reflection based animations, to allow for better proguarding" into ub-launcher3-master 2018-09-21 18:34:01 +00:00
Sunny Goyal 55bdeed7bb Removing various reflection based animations, to allow for better proguarding
Change-Id: If9df24ea4170e8a3d336057d1c3dc800934fc1ac
2018-09-21 18:21:04 +00:00
Sunny Goyal 6687ba0cc9 Merge "Skip starting new fragment, if the manager is in paused state" into ub-launcher3-master 2018-09-21 17:18:39 +00:00
TreeHugger Robot ce21dc3f74 Merge "Add more checks to AppIcon.launch()" into ub-launcher3-master 2018-09-21 05:11:58 +00:00
Sunny Goyal e583a064fa Merge "Updating the gradle and build tools version" into ub-launcher3-master 2018-09-20 22:50:02 +00:00