Commit Graph

33301 Commits

Author SHA1 Message Date
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
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
android-build-team Robot 7fb2de4c99 Snap for 5012867 from 4e99548b70 to qt-release
Change-Id: I3c3b4630c580d00b69f61d0b8bf0d51717e90f5f
2018-09-16 03:14:13 +00:00
Vadim Tryshev 4e99548b70 Merge branch 'ub-launcher3-master' into launcher3merge2018-09-13
Test: none
Change-Id: I8dce25b79bf67c9af06ed362fc4153c711e8f788
2018-09-13 15:46:27 -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
android-build-team Robot b563a719af Snap for 5004953 from 5fe0167157 to qt-release
Change-Id: I816460a7a5b1f5d24d3811f5d86f019c021261a6
2018-09-12 03:09:16 +00: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
Hyunyoung Song 5fe0167157 Merge branch 'ub-launcher3-master' into launcher3merge2018-09-11
Test: builds
Change-Id: Iebb7cb6f79afa98e1ce0ef87461da5bc638af36c
2018-09-11 10:58:30 -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
Tobias Dubois b0578ebe1e Lint fix: Invalid vector path in horizontal_ellipsis
Use 0.9 instead of .9 in the vector drawable path to
avoid crashes on some devices.

Test: Manual
Change-Id: I9d5889fdf48fbb2f09995b75d4f20c47454ef591
2018-09-10 11:27:15 +02:00