Commit Graph

17632 Commits

Author SHA1 Message Date
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
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
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
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
Sunny Goyal dbac5a1d15 Updating the gradle and build tools version
Change-Id: Ica921edb152f158736136df59514c0b8469eab3b
2018-09-20 15:33:08 -07:00
Hyunyoung Song 8040ea52f7 Merge "Disable scrolling noti shade on abstract floating view with swipe down interactions already doing something else." into ub-launcher3-master 2018-09-20 16:14:21 +00:00
Hyunyoung Song f58cf5e337 Disable scrolling noti shade on abstract floating view with swipe down
interactions already doing something else.

Bug: 116143342

Change-Id: If3716de0eb1f7b508c3b74dbe2593ba62fffcf74
2018-09-19 17:05:09 -07:00
Sunny Goyal 5077aefc30 Skip starting new fragment, if the manager is in paused state
Bug: 111684268
Change-Id: Ice529356733d98181371e37beed7a34922313cc4
2018-09-19 22:19:08 +00:00
Vadim Tryshev c0b1a7e58e Removing unnecessarily calling parent's tearDown
I'ts called automatically

Bug: 110103162
Test: affected tests
Change-Id: I32ac35a425dedadabea63e02be5a7dffa3cced25
2018-09-19 14:17:05 -07:00
Vadim Tryshev 9a9e43461f Merge "Adding logging pressHome()" into ub-launcher3-master 2018-09-19 20:15:46 +00:00
Vadim Tryshev 3c6607e298 Add more checks to AppIcon.launch()
Apparently, one platform tests starts Messages, and Messages
simply doesn't start.

This check will help to hunt down the problem.

Bug: 110103162
Test: affected tests
Change-Id: I8d781647a2e680e31e96db40d94b89e7728aaf11
2018-09-18 20:03:28 -07:00
Vadim Tryshev 66408d90e1 Adding logging pressHome()
Will help understanding flakiness of platform smoke tests.

Bug: 110103162
Test: TaplTests
Change-Id: I7c112554f8281ebe0e62026644e5705a7d1218a2
2018-09-18 14:44:21 -07:00
TreeHugger Robot a2e095c93c Merge "Disabling heads-up notifications in launcher tests." into ub-launcher3-master 2018-09-18 21:15:17 +00:00
Vadim Tryshev c59465efe0 Disabling heads-up notifications in launcher tests.
This prevents the tests from interacting with this popup.

Bug: 110103162
Test: TaplTests
Change-Id: I0215ddab634611d20a63ed728de11d4138456f96
2018-09-18 14:02:33 -07:00
Sunny Goyal 1642f7173f Removing ViewScrim and cutom drawing code
Bug: 109828640
Change-Id: I2cab0215a32c2ca6bc331d48083fcc00ada05c3b
2018-09-18 11:41:02 -07:00
Hyunyoung Song 24b209c65a Swipe down on status bar
Bug: 111839343

Change-Id: I5332dc098af980b4d4ef45b095586d68975ad98c
2018-09-18 11:11:04 -07:00
Sunny Goyal 194f58525a Adding a provider class for various popup actions
so that it can be customized easily.

Change-Id: I633846631ac3d4c70ebb3ea35a3edc2feee8339e
2018-09-17 17:05:32 -07:00
Vadim Tryshev ee598ada79 Adding logging to debug jank test problems
Bug: 110103162
Test: TaplTests
Change-Id: I0bae4f2242031ebcdbb24638f61a6b8d37b162e2
2018-09-13 14:56:49 -07:00
Sunny Goyal 4d8ec15fb5 Using velocity tracker for computing the velocity of motion events
Change-Id: I14f2f970825a2936f4bb285834405d67daf8667c
2018-09-13 09:50:47 -07:00
TreeHugger Robot abbf01b782 Merge "Import translations. DO NOT MERGE" into ub-launcher3-master 2018-09-12 20:40:45 +00:00
Bill Yi 87dbaec75a Import translations. DO NOT MERGE
Change-Id: Iefd9e37d4e8c34985f0b7a62841d724297ff051b
Auto-generated-cl: translation import
2018-09-12 13:01:31 -07:00
Tony Wickham 05b351dd42 Merge "Update undo snackbar visuals" into ub-launcher3-master 2018-09-12 00:28:06 +00:00
TreeHugger Robot 297ee90d60 Merge "Ignore any error when killing our process" into ub-launcher3-master 2018-09-11 22:47:06 +00:00
Tony Wickham 08c7cd5625 Update undo snackbar visuals
- Use accent color for action
- Update font-family to use TextTitle style
- Reduce elevation to 3dp
- Inset snackbar left/right margins more, unless we need to increase the
  width to fit the text
- For largest display/font size, fallback to 2 lines and smaller font if
  necessary to not cut off the label
- Remove top/bottom padding on action (b/114084048)
- Allow up to 20 char for the action (b/114317987)

Change-Id: I833c102aaac3ba3db2283997c142926c3830336d
2018-09-11 15:35:47 -07:00
TreeHugger Robot 04dce79849 Merge "Including go/tapl in error messages" into ub-launcher3-master 2018-09-11 17:46:43 +00:00
TreeHugger Robot 64d5f27f03 Merge "Do not ask for rotation lock when controlling quickscrub from launcher activtiy" into ub-launcher3-master 2018-09-11 17:25:44 +00:00
Sunny Goyal 05fbc53817 Do not ask for rotation lock when controlling quickscrub from launcher activtiy
When controlling from launcher activtiy, there is no activity focus change, and rotation
lock is not required.

Bug: 114074832
Change-Id: Ia976f9daa9b0f87d3493138d12cb37a490b8b1bd
2018-09-10 16:53:14 -07:00
Hyunyoung Song 447036d0d7 Make tapl java_library_static
Bug: 113683301

Change-Id: I06815fcae2f115e5605b978fa2a9e99c87783a9c
2018-09-10 14:15:19 -07:00
Bill Yi 6b35469e0e Import translations. DO NOT MERGE
Change-Id: I7ba9b11754c0cef0a025597b94a34c744d5c0b73
Auto-generated-cl: translation import
2018-09-07 22:20:54 -07:00
Vadim Tryshev e02e06a9d4 Including go/tapl in error messages
Bug: 110103162
Test: making a test fail, checking a link
Change-Id: If64948a6656214c5065150803b2a1a7020fb82c5
2018-09-07 15:46:59 -07:00
TreeHugger Robot 1c2fb561e0 Merge "Fixing Launcher stuck in BACKGROUND_APP state when using overview button" into ub-launcher3-master 2018-09-07 21:21:10 +00:00
Tony Wickham eaa3ee39ce Merge "Fix auto install add of installed activity" into ub-launcher3-master 2018-09-07 21:15:15 +00:00
TreeHugger Robot d527716cf3 Merge "Adding README for TAPL" into ub-launcher3-master 2018-09-07 21:08:51 +00:00
Tobias Dubois a4c1002bac Fix auto install add of installed activity
Reset the restore status for auto install icons where the activity is
installed and enabled so the item is not stuck in the auto install
state.

Bug: 112664405
Test: manual - See issue
Change-Id: I37116b6e6ecbe4215d96627f9b1ea6909d12a6c0
2018-09-07 13:59:04 -07:00
Sunny Goyal c6043e4568 Fixing Launcher stuck in BACKGROUND_APP state when using overview button
When using overview button, we skip the activtiy animation, which leads
to wrong state. Instead always running the animation and changing the endpoints
accordingly.

Change-Id: Id071b4e74da42c78760519aa29644621afc822e2
2018-09-07 13:46:47 -07:00
Hyunyoung Song 680e03847d tapl should be java_library
Bug: 113683301

Tests failures that we are trying to fix.
https://sponge.corp.google.com/invocations?searchFor=target%3Aandroid.platform.systemui.tests.jank%20label%3Ab%2Fgit_master

When the build rule is android_library, AndroidManifest.xml is pulled into
the the final apk that is being built. Hence, the platform jank and platform test
AndroidManifest.xml is extended with the one we have for Launcher3.
This causes the tests to fail due to existence of disambiguation screen.
We do not want this behavior.

Change-Id: I1a551abf37bb75b4efa8a5e5324ab1b4d8a3eb13
2018-09-07 12:04:09 -07:00
Sunny Goyal 0c98d0c05f Updating the SystemUI jar as per API changes
Change-Id: I7c7099da2146618113a22b5ec43acebf90bad783
2018-09-07 10:11:34 -07:00
Sunny Goyal e3fec0f177 Ignore any error when killing our process
Bug: 113929153
Change-Id: Ie9a8b59fda1f813748404ed529269cccb1e28c61
2018-09-06 16:26:52 -07:00