Commit Graph

18700 Commits

Author SHA1 Message Date
Govinda Wasserman e8cb3bbb65 Includes Assistant invocation type to gesture invocations
am: e7cb1fca34

Change-Id: Ie7876ea48820e3631af4ace4b9f002363a9608bd
2019-04-23 10:28:42 -07:00
Govinda Wasserman e7cb1fca34 Includes Assistant invocation type to gesture invocations
This will allow logging of the way that the Assistant gets triggered as
well as allowing the Assistant to modify its behavior based on how it is
invoked.

BUG:128982146
Change-Id: I5c7d6f317baeac3835a2ea193fe64856419dc2c4
2019-04-23 12:57:47 -04:00
Kevin 2804830c1a [automerger skipped] Merge "Add task layer drawable class for Recents Go." into ub-launcher3-qt-dev
am: 3cccc666b6 -s ours
am skip reason: SHA1 3cccc666b6 skipped by user kevhan

Change-Id: I5b70cf2f76fe5a754ab2c59eaa0ac014e7509632
2019-04-22 18:36:07 -07:00
TreeHugger Robot 3cccc666b6 Merge "Add task layer drawable class for Recents Go." into ub-launcher3-qt-dev 2019-04-23 01:16:56 +00:00
Vadim Tryshev f7915a410d Merge "Annotating ignored tests with requests to enable them" into ub-launcher3-qt-dev
am: 2e63330386

Change-Id: I953e5509e879fb713291c8d1bc78406d29cdefcb
2019-04-22 18:07:04 -07:00
Vadim Tryshev 2e63330386 Merge "Annotating ignored tests with requests to enable them" into ub-launcher3-qt-dev 2019-04-23 00:56:56 +00:00
vadimt a585e5ca0b Small cleanup in StartLauncherViaGestureTests
am: 736982d74b

Change-Id: I81bdf0f1dfc1ee80a980b1283a668eee66a689fe
2019-04-22 17:56:54 -07:00
Kevin e6e1463ed2 Add task layer drawable class for Recents Go.
Add a custom drawable class that provides a hook to the caller to
control a crossfade animation between two drawables. This will be
helpful going forward to sync up all the animations to the controller.

Note that this CL only adds the class and does not replace the current
implementation.

Bug: 114136250
Test: Builds
Change-Id: I3cc6be79cb2ca5d64c8cc2945ff7f2ebd49632b6
(cherry picked from commit bb956bd028)
2019-04-23 00:42:49 +00:00
vadimt 677abe2117 Annotating ignored tests with requests to enable them
Bug: 117106893
Change-Id: Ib8e578913ceebee44a507b5e333e7da07c6120d0
2019-04-22 17:34:29 -07:00
vadimt 736982d74b Small cleanup in StartLauncherViaGestureTests
Bug: 117106893
Change-Id: Iba0a571dd1c20a776fcbe1f305f163cada22befb
2019-04-22 17:09:10 -07:00
Vadim Tryshev 0b15a465f6 Merge "Not using browser app in testing. It may not start." into ub-launcher3-qt-dev
am: b226f28a8c

Change-Id: I9bb3d1057d106a511d0cc53958b31a878bf7056d
2019-04-22 16:35:11 -07:00
TreeHugger Robot bb9c22a215 Merge "Clear all button should not be swipable" into ub-launcher3-master 2019-04-22 23:29:37 +00:00
Sunny Goyal d28d881329 Merge "Removing ShortcutInfoCompat and directly using ShortcutInfo" into ub-launcher3-qt-dev
am: 67e52822a4

Change-Id: I93741c0de878d130d02edc3ff1ddb90f7468eb1b
2019-04-22 16:00:56 -07:00
Vadim Tryshev b226f28a8c Merge "Not using browser app in testing. It may not start." into ub-launcher3-qt-dev 2019-04-22 22:58:32 +00:00
TreeHugger Robot 67e52822a4 Merge "Removing ShortcutInfoCompat and directly using ShortcutInfo" into ub-launcher3-qt-dev 2019-04-22 22:51:27 +00:00
Vadim Tryshev ce19bdd101 Merge "Logging TAPL interaction model" into ub-launcher3-qt-dev
am: d5f95bf852

Change-Id: Ibd6b4870b9a8aba4f29fc0ee580a9724f7d0bf91
2019-04-22 15:41:46 -07:00
Sunny Goyal 6bbf6004f8 Removing ShortcutInfoCompat and directly using ShortcutInfo
Change-Id: I2842689e192a206c0d31558c8126eae1c7904598
2019-04-22 15:39:40 -07:00
vadimt 1256912237 Not using browser app in testing. It may not start.
Change-Id: I48b129d84ea9cf8f97193bcb769ba20738046ef5
2019-04-22 15:36:18 -07:00
Vadim Tryshev d5f95bf852 Merge "Logging TAPL interaction model" into ub-launcher3-qt-dev 2019-04-22 22:15:11 +00:00
Vadim Tryshev 17d5a4fb16 Merge "Verifying that test initialization switched to workspace" into ub-launcher3-qt-dev
am: e028324d0a

Change-Id: Ibb189e7b56fa6c25e2ee8bc4d55742b14e6e3ee9
2019-04-22 14:57:37 -07:00
Vadim Tryshev e028324d0a Merge "Verifying that test initialization switched to workspace" into ub-launcher3-qt-dev 2019-04-22 21:42:09 +00:00
vadimt a7cb479954 Logging TAPL interaction model
Change-Id: I7c44d1b145677919991338fa87e736712587a695
2019-04-22 14:41:12 -07:00
TreeHugger Robot a3a03038dc Merge "Use custom drawable for Recents Go thumbnails (1/2)" into ub-launcher3-master 2019-04-22 21:08:22 +00:00
vadimt 24c7c0af98 Verifying that test initialization switched to workspace
Change-Id: I4d33f831a6fbb6632dc21d056fb239d9d1dcddd8
2019-04-22 14:07:23 -07:00
Kevin cd88cf8d1c Clear all button should not be swipable
Unlike other task items in the recycler view, the clear all button
should not be swipable as you obviously can't remove the button.

Bug: 114136250
Test: Go to recents, attempt to swipe clear all, does not work
Change-Id: I0ab00c03b697f2174431b69bbf758c3ff104db97
2019-04-22 13:11:28 -07:00
Sunny Goyal 3335748b31 Merge "Skip state animation if animations are disabled" into ub-launcher3-qt-dev
am: f31848fe8d

Change-Id: I814010b97d71e400a00cd8439efdcf6606fe5c3a
2019-04-22 12:39:45 -07:00
TreeHugger Robot f31848fe8d Merge "Skip state animation if animations are disabled" into ub-launcher3-qt-dev 2019-04-22 19:36:44 +00:00
Vadim Tryshev 1901b92fc4 Merge "Adopt shell permission only to set and unset time limit." into ub-launcher3-qt-dev
am: 4c8d7a0401

Change-Id: Id226c9a9acbc9f9daba7d5eccc6f6bf407649626
2019-04-22 12:30:40 -07:00
vadimt 6d1bbbcd40 Disabling all DefaultLayoutProviderTest tests
am: 2ff40b0cfb

Change-Id: I09f0f77e6aa86e5e260aa8df23752f36d091bf3d
2019-04-22 12:24:29 -07:00
Vadim Tryshev 4c8d7a0401 Merge "Adopt shell permission only to set and unset time limit." into ub-launcher3-qt-dev 2019-04-22 19:20:10 +00:00
Kevin 518ff10856 Use custom drawable for Recents Go thumbnails (1/2)
In order to support rotated thumbnails based off the device orientation,
we should create a custom drawable that supports drawing a rotated
bitmap based off some requested orientation. This CL adds this class,
and we'll use it in a later CL.

By baking this directly into the drawable, we prevent unnecessary
allocations of rotated bitmaps.

Bug: 114136250
Bug: 131095241
Test: Builds
Change-Id: Ib4e83e3619028c583e10f1b8d743a365ec310346
2019-04-22 12:08:40 -07:00
vadimt b647866cd0 Adopt shell permission only to set and unset time limit.
We don't want this permission to "help" Launcher with calling other
APIs.

Bug: 130914022
Change-Id: I649dede958aa6e4a67ccf332151a15cad53b0e9f
2019-04-22 11:32:43 -07:00
Sunny Goyal 1942fabf6f Listening only for "android" package for overlay changes
am: 8b0cb4113f

Change-Id: Iad175d29f655b589bb3f967a7c02b4ec7b672d79
2019-04-22 10:35:58 -07:00
vadimt 2ff40b0cfb Disabling all DefaultLayoutProviderTest tests
See the bug for details. The problem is probably in
DefaultLayoutProviderTest.writeLayout.

Bug: 130562632
Change-Id: Ic1a14c9dd3cac4a4cf644c6bc9619d631295f92b
2019-04-22 10:32:21 -07:00
Sunny Goyal 7368fa4369 Skip state animation if animations are disabled
> Also update the animation disabled check to use new-API

Bug: 118678948
Change-Id: Ib709844e34bdb7e369b368a7c33f2e8ff120024b
2019-04-22 10:00:01 -07:00
Sunny Goyal 8b0cb4113f Listening only for "android" package for overlay changes
Bug: 130917995
Change-Id: I37160a886a0afdc02dca8f7da6e8aa54c795882d
2019-04-22 09:02:08 -07:00
vadimt 131b0e72c2 Merge "Adding wellbeing toast test" into ub-launcher3-qt-dev
am: bf81b2ca0c

Change-Id: I83dcb903292127d725453a633940fc133bc7e227
2019-04-22 08:42:45 -07:00
TreeHugger Robot bf81b2ca0c Merge "Adding wellbeing toast test" into ub-launcher3-qt-dev 2019-04-22 15:30:28 +00:00
vadimt 736adde1c7 Adding wellbeing toast test
Bug: 130914022
Change-Id: I777440884c122ec040e5e00bfbed41f2eb86b5b0
2019-04-19 19:15:37 -07:00
TreeHugger Robot e575b40437 Merge "Add clear all view that scales off device height" into ub-launcher3-master 2019-04-20 01:49:20 +00:00
TreeHugger Robot 75f5047b92 Merge "Ensure recents scrolled to first task in landscape" into ub-launcher3-master 2019-04-20 01:13:16 +00:00
Kevin 64bb5bbb78 Ensure recents scrolled to first task in landscape
The app should animate to the bottom view which means we should ensure
the bottom view is scrolled to be visible at the bottom when we animate
in. Note that this is only a consideration in landscape since in
portrait, all tasks are always visible and the recyclver view is not
scrollable.

Bug: 114136250
Test: Go to recents Go from app in landscape mode
Change-Id: If4ea35759cc881f2c32565368d031620b62a45dd
2019-04-19 17:46:04 -07:00
Tony 56ae76deb0 Merge "Jump to the nearest page to launch when swiping down on shelf" into ub-launcher3-qt-dev
am: a22c2b5d08

Change-Id: If83d18066c57cf954a6f691f5a580bc332984277
2019-04-19 17:11:01 -07:00
TreeHugger Robot a22c2b5d08 Merge "Jump to the nearest page to launch when swiping down on shelf" into ub-launcher3-qt-dev 2019-04-19 23:48:40 +00:00
Tony 8138888197 Add touch slop before sending home intent from DeviceLockedInputConsumer
am: 72eadbad80

Change-Id: Ic3134feecd4ae21ac6eff8a3277fbc6a2625f40d
2019-04-19 16:47:52 -07:00
Jon Miranda 24833d55c7 Add ListenerView so that we can fast finish the FloatingIconView fade anim.
am: de0093dfa5

Change-Id: I9d7edb00eee2fc45bfc7a79421fa33fcb955b868
2019-04-19 16:47:29 -07:00
Tony 52a0d7712e Jump to the nearest page to launch when swiping down on shelf
Bug: 78240090
Change-Id: I1e26f66242fa3b45a4b6241721f0ff0465770aaf
2019-04-19 16:34:30 -07:00
Tony 72eadbad80 Add touch slop before sending home intent from DeviceLockedInputConsumer
Bug: 128808922
Change-Id: I4eaa5ba627f123022310c23663b6711c0eb62518
2019-04-19 16:32:31 -07:00
Kevin 20e1f17340 Enable landscape mode for Recents Go.
Set rotate state to request rotate on the overview state being enabled

Bug: 114136250
Test: Go to recents go, rotate screen
Test: Go to recents from app
Change-Id: If63bf25f61b873f67986e463a980e6d67a9b5ae4
2019-04-19 16:09:52 -07:00
Jon Miranda de0093dfa5 Add ListenerView so that we can fast finish the FloatingIconView fade anim.
This change allows us to quickly end the animation if the user begins
interacting with launcher before the animation is over. This can currently
happen when the user swipes up to go home, and then quickly swipes up again
to enter overview.

Bug: 129421279
Change-Id: I88c7d55ef8ac09f999c082317de3bb3693c11466
2019-04-19 15:13:10 -07:00