Commit Graph

34630 Commits

Author SHA1 Message Date
vadimt 3369d7308f Ignoring testPressHomeOnAllAppsContextMenu for now as it flakes
Bug: 132460627
Change-Id: I2af5bba289781a122cf9253833915b0e8cddd79c
2019-05-28 19:15:04 -07:00
Bill Yi 9789beae0e Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I029f3fe3ecc187db70a0e86ed98f498f04be1d0a
2019-05-28 19:13:27 -07:00
vadimt f9bf37d569 Increasing activated-task wait time to 60000 ms
Bug: 112282235
Change-Id: I14f63ce77395b9f95743a6fb36c0b02a80a8983f
2019-05-28 18:35:36 -07:00
Vadim Tryshev 98d3c7edea Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev am: 666b60a074
am: 9bb2efe14f

Change-Id: I8d6beda40e19218148c7c59e187e51fbd540123e
2019-05-28 17:52:57 -07:00
Vadim Tryshev 9bb2efe14f Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev
am: 666b60a074

Change-Id: I2191c4ed1b405e13a55cf35c7398e021b80c9063
2019-05-28 17:47:56 -07:00
Vadim Tryshev 666b60a074 Merge "Fixing pressHome when a context menu is visible" into ub-launcher3-qt-dev 2019-05-29 00:41:10 +00:00
vadimt aa8019308b Fixing pressHome when a context menu is visible
Bug: 132460627
Change-Id: I78064166fccd3a29bcb3fa6175bd4937ae032a98
2019-05-28 17:31:03 -07:00
Winson Chung 42ce0306f5 Merge "Support individual lock task features" into ub-launcher3-qt-dev am: 293d964024
am: def865a645

Change-Id: I0bcee1d1f62c580f5c77e609154be1f24fd1c4bb
2019-05-28 17:26:50 -07:00
Winson Chung def865a645 Merge "Support individual lock task features" into ub-launcher3-qt-dev
am: 293d964024

Change-Id: I2a53a5633d4d65ecc1ed2f9d78a7f18d749a82a6
2019-05-28 17:21:49 -07:00
Winson Chung 293d964024 Merge "Support individual lock task features" into ub-launcher3-qt-dev 2019-05-29 00:10:02 +00:00
Tony Wickham ceff588a00 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev am: 5860288fc8
am: 4cc7f1ac89

Change-Id: I392e16b1915cedbbdafbe3bc6cff511574172411
2019-05-28 16:29:05 -07:00
Tony Wickham 4cc7f1ac89 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev
am: 5860288fc8

Change-Id: I3ef16cd60ae0ba272dcfb761417dd8be10e331a5
2019-05-28 16:24:04 -07:00
Tony Wickham 5860288fc8 Merge "Continue scaling down recents past final position in 0 button mode" into ub-launcher3-qt-dev 2019-05-28 23:21:32 +00:00
Sunny Goyal 0a87e613bb Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev am: e34c91765f
am: fa2e88be96

Change-Id: Ic4d52690e67bf0237826a66059c671adf612c700
2019-05-28 16:19:04 -07:00
Sunny Goyal fa2e88be96 Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev
am: e34c91765f

Change-Id: If49078e2b15375eb08c23aa002709f67c692e1e6
2019-05-28 16:13:01 -07:00
TreeHugger Robot e34c91765f Merge "Improving swipe up interaction when device is locked" into ub-launcher3-qt-dev 2019-05-28 23:05:31 +00:00
android-build-team Robot 2ca01b1f80 Merge cherrypicks of [7773044, 7773106, 7772815, 7772993, 7772994, 7772995] into qt-qpr1-release
Change-Id: I86eefc3883badc1145a33911280bb80b732bfab0
2019-05-28 23:05:26 +00:00
Jon Miranda c0f1f4f3af Fix bug where changing the display size does not update the launcher grid.
The bug is caused by launcher saving the grid name and using that grid name
to look for matching display options. This makes sense when changing the grid
size, but doesn't work well when changing the display size.

Example: Initial Pixel display size is set to Default, so we save "normal" as
the KEY_IDP_GRID_NAME. When we change display size to Largest, the
KEY_IDP_GRID_NAME is still "normal" and so we only look at display options
under "normal". Before this, Pixel with display size set to Largest would be
set to "reasonable".

This should be safe change for Q, and we can have a proper fix when we
officially support changing grid size.

Bug: 131867841
Change-Id: If5f3b0a13b90069973e929024b26bd9b9c45a7d8
2019-05-28 16:05:09 -07:00
android-build-team Robot 3ed1e357b4 Merge cherrypicks of [7773043, 7773102, 7772814, 7772986, 7772988, 7772990] into qt-release
Change-Id: I4d2c12d0471f6f8db5f3df28ffead91777d6a871
2019-05-28 23:05:08 +00:00
android-build-team Robot 9531eb5203 Merge cherrypicks of [7773042, 7773101, 7772813, 7772985, 7772987, 7772989] into qt-c2f2-release
Change-Id: Iaf1c2438d66b8a68b4f2860d6b07ab4f4243f8db
2019-05-28 23:05:03 +00:00
Winson Chung d45a973781 Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:59 +00:00
Winson Chung a05076d848 Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:36 +00:00
Winson Chung ec7ae4ce4c Merge branch 'ub-launcher3-qt-dev' into merge_5609112
Test: Manual
Bug:112282235 P3 Starting an app from Launcher very rarely takes > 10 sec
Bug:121279417 P2 Why LauncherInstrumentation.WAIT_TIME_MS == 60000?
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:131360075 P1 [Gesture Nav] Polish/finish landscape
Bug:131854153 P1 Lots of Cuttlefish (and not only) tests are broken
Bug:132687470 P1 Swiping home from forced landscape app creates cutoff task thumbnail
Bug:132756514 P1 Sometimes (when quick switching?) user gets stuck in full-screen recents view
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:132975416 P1 Flake in NexusPredictionAppTracker.getAppPredictionContextExtras
Bug:132993129 P1 If predictions disabled, app predictions loading bar appears briefly on device restart

Change-Id: Ibfa1ed3ab6241fdb9412df2a80c11e83032008d9
(cherry picked from commit c3b21dd0480be4c64df6ac854ccb6d4923a992b2)
2019-05-28 23:04:34 +00:00
Sunny Goyal 221895d06b Improving swipe up interaction when device is locked
When device is locked, only scale down the top task as a response to
the user interaction. When user flings or lifts his finger, the task
is dismissed to go to the lock screen

LockScreenRecentsActivity is an empty activity which starts on top of lock
screen and finishes immediately. This allows us to start a recents transition
with just the top activity as the animation target. This target is then used
for swipe up interaction

Bug: 133167096
Change-Id: I466ed142ea33d626c78cb9cc5f6311bad26b8d98
2019-05-28 15:55:07 -07:00
Zak Cohen 348866b350 Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev am: b36ab46e93
am: b4b597a4ff

Change-Id: I7afe34cd8a4867dcb340e65fe6608b030f681b39
2019-05-28 15:24:06 -07:00
Jon Miranda ead6e4e92f Fix bug where DiscoveryBounce is not cancelled after state change. am: ed7d714805
am: 4ac3af1243

Change-Id: I91a12e2caf168ae669fc7bc18ab728002a9c4ca3
2019-05-28 15:23:43 -07:00
Zak Cohen b4b597a4ff Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev
am: b36ab46e93

Change-Id: I6bd6e9410b05b6624bda00f42f6f71b9f16eabed
2019-05-28 15:21:00 -07:00
Jon Miranda 4ac3af1243 Fix bug where DiscoveryBounce is not cancelled after state change.
am: ed7d714805

Change-Id: I4274f94c79b3e31b58077e17722caf0cc9c14dc4
2019-05-28 15:20:39 -07:00
TreeHugger Robot b36ab46e93 Merge "Chips container - Don't hard code the height of the chips container." into ub-launcher3-qt-dev 2019-05-28 22:09:43 +00:00
Zak Cohen 560fe07448 Chips container - Don't hard code the height of the chips container.
When the container was present, but empty, it was showing it's background.

Bug: 133783088
Change-Id: I97b65435d66e9ced7f5487dc50a00665794f8fcd
Tested: manual
2019-05-28 14:53:41 -07:00
Jon Miranda ed7d714805 Fix bug where DiscoveryBounce is not cancelled after state change.
Bug: 131768436
Change-Id: I7d389671969a75ae7ec9f9f5cc1326f7105e2071
2019-05-28 14:44:52 -07:00
Tony bef6a44e7b Continue scaling down recents past final position in 0 button mode
- Previously, we clamped the progress to 1 when reaching mTransitionDragLength.
  Now, we allow dragging all the way to the top of the screen, and store this
  new top progress in mDragLengthFactor (> 1f).
- Because the launcher animation controller is inherently bound to a progress
  between 0 and 1, we have to do a bit of trickery involving interpolators.
  Specifically, we normalize the progress to 0 to 1 by dividing by
  mDragLengthFactor, but then we set the interpolators to multiply their
  progress by mDragLengthFactor. The result is that the animation progress
  appears to go from 0 to mDragLengthFactor, just like the window progress.
- To avoid scaling too small, we start interpolating the progress at a certain
  point, ending at a specified max progress when reaching the top of the screen.

Bug: 131741395
Change-Id: Ie8b4b56d37249cd1456f93c110c26c78fe052dc0
2019-05-28 21:41:43 +00:00
vadimt 5aef526e95 More logging for lab-only flake when an app doesn't start
I suspect that All Apps gets refreshed around the time of the click.

Bug: 132900132
Change-Id: I6d3053f7d8f998e08ca495c005e14ddece634164
2019-05-28 18:28:09 +00:00
Bill Yi 016a81cae4 Import translations. DO NOT MERGE
Change-Id: I4b7ca67ccacf3b2526537bb563785f17fca4abdf
Auto-generated-cl: translation import
2019-05-25 17:12:34 -07:00
android-build-team Robot c1f0cb37ec Snap for 5606001 from d405653c86 to qt-qpr1-release
Change-Id: I2c91d1744e9e28df56c6c792ac936cd002dd5a3c
2019-05-25 23:18:00 +00:00
android-build-team Robot 713c89d36a Snap for 5605988 from cf7e6c4a32 to qt-release
Change-Id: I636210cdc7748cb1456f2c863d864ca6f435232d
2019-05-25 23:11:28 +00:00
android-build-team Robot 29da25b4ad Snap for 5606075 from d405653c86 to qt-c2f2-release
Change-Id: Ie15534e3b1af6e38f84893484d3a84ce1fbdf946
2019-05-25 23:10:53 +00:00
Vadim Tryshev 5aab39b9ec Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev am: ebd5e88164
am: 33e42ab34f

Change-Id: I8d39ac40c46f2b5c0604e181f1169ff9f9c4178b
2019-05-24 20:42:58 -07:00
vadimt 0593b87375 Swiping from Overview to All Apps from apps_view am: a8a98a1640
am: ee3f005c5b

Change-Id: Ibd06591a14434537a14a76dfb877f813c9952970
2019-05-24 20:42:32 -07:00
Sunny Goyal 92eae9a078 Fixing user getting stuck in quick-switch state am: 55d1e44c47
am: d3a565f737

Change-Id: Ieec999d9d48cd45bae3f990dda9397f71c6c378c
2019-05-24 20:42:10 -07:00
android-build-team Robot 4a5e741ca5 Snap for 5603984 from 32c6db87fd to rvc-release
Change-Id: Id91f31d11496b5be5ce2b3d7d8a7fcfed16a48f0
2019-05-25 03:03:08 +00:00
Vadim Tryshev 33e42ab34f Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev
am: ebd5e88164

Change-Id: I03cb2447b095c479394d7897b95b802c731db014
2019-05-24 19:53:56 -07:00
Vadim Tryshev ebd5e88164 Merge "Launcher reports whe 0-button swipe-up gesture pause is detected." into ub-launcher3-qt-dev 2019-05-25 02:44:30 +00:00
vadimt 2d6cd80bc9 Launcher reports whe 0-button swipe-up gesture pause is detected.
This eliminates an unreliable timeout.

Also removing an unnecessary check for harness that is done by the
called method.

Change-Id: If954580060415cbb2952532c16ea0ae4dc7b9469
2019-05-24 19:28:40 -07:00
vadimt ee3f005c5b Swiping from Overview to All Apps from apps_view
am: a8a98a1640

Change-Id: I46ff41ba48262f086ede369f37d10beb001c6c7d
2019-05-24 19:19:42 -07:00
Sunny Goyal d3a565f737 Fixing user getting stuck in quick-switch state
am: 55d1e44c47

Change-Id: I612d2325f62509e069c1307ad68091fdf599ac6c
2019-05-24 19:06:01 -07:00
vadimt a8a98a1640 Swiping from Overview to All Apps from apps_view
Used to swipe from an app icon, but in the lab, there were icons at
weird positions.

Change-Id: I271dd800f1b714997282512eb64ebc5d34b24f13
2019-05-24 18:52:21 -07:00
Sunny Goyal 55d1e44c47 Fixing user getting stuck in quick-switch state
If we are cancelled after the animation has completed, but before the deferred frame
was captured, we set the state as cancelled, and start the new consumer with the
existing recents controller.
But after the deferred frame, we finish the controller (and since the state was set to
cancelled, do not launch the new task)

Bug: 132756514
Change-Id: If30af713c76b6d895d0b01b93d31c0e1403b7214
2019-05-24 17:20:10 -07:00
Sunny Goyal 01e33cf03f Merge "Making some fields accessible to subclasses" into ub-launcher3-qt-dev am: 3831fc99dc
am: bc0b145ef5

Change-Id: I18ebe0d63b0c07bf9938dbc13c1fec9f494f9401
2019-05-24 15:51:31 -07:00
Sunny Goyal bc0b145ef5 Merge "Making some fields accessible to subclasses" into ub-launcher3-qt-dev
am: 3831fc99dc

Change-Id: Id72a81560f08c034f6d1d7781ae54498679a76b2
2019-05-24 15:43:25 -07:00