Commit Graph
47938 Commits
Author SHA1 Message Date
Tony Wickham 9b832295c3 Set scroller to new max duration if snapping too slowly
Change-Id: I87bfc8f767f7ae9cbe838c2a9ba229bec179f526
2019-05-23 14:42:24 -07:00
Perumaal Shanmugam d2f793f77d Merge "Chips flag turn on by default" into ub-launcher3-qt-dev 2019-05-23 21:37:11 +00:00
Winson Chung dd71ca0437 Support individual lock task features
- If screen pinning is enabled, disable gestures and wrap with input
  consumer to break out of screen pinning (existing logic)
- If Home & Overview are both disabled, disable gestures completely
- If only Home is disabled, then always launch the user into fallback
  recents (to simplify logic around breaking out of overview into Home)
- If only Overview is disabled, then prevent swiping from going into
  overview or from triggering overview from home
- Switch to using screen pinning flag check instead of binder call

Bug: 133113732
Bug: 131698989

Change-Id: Ie6f447520d4cc3fa1eaaf8427ee014851688bf37
2019-05-23 14:33:05 -07:00
Sunny Goyal 68ff2d91cf Making some fields accessible to subclasses
Bug: 132975416
Change-Id: Icc7043d8299c88fcf505068f8cabd4705d19010d
2019-05-23 14:16:06 -07:00
Sunny Goyal ab3963ddcf Moving TestInformationProvider to Launcher3 so that it can be used for
testing Launcher3 without quickstep

Also keeping the provider as disabled until needed

Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
2019-05-23 14:02:33 -07:00
TreeHugger Robot 571e51161c Merge "Quick patch for PredictionUiStateManager.applyState interrupting allapps" into ub-launcher3-qt-dev 2019-05-23 20:53:27 +00:00
Sunny Goyal 30b3848a79 Merge "Reading navigation_bar_gesture_height for bottom swipe region" into ub-launcher3-qt-dev am: 1b9afd4f73
am: 475e342637

Change-Id: I3e45f81dd91da370f153a4c5eeb02a604de4edec
2019-05-23 13:07:50 -07:00
Vadim Tryshev 27587a1d26 Merge "Reducing test wait time from 60 sec to 10 sec" into ub-launcher3-qt-dev am: 789fe60dc4
am: a46e847945

Change-Id: I4ea2798cee12cb5e6250b01a135e1327ef3d1acc
2019-05-23 13:06:57 -07:00
vadimt 0c1ed7cb4c Quick patch for PredictionUiStateManager.applyState interrupting allapps
Constructor of PredictionUiStateManager posts an action in 5 sec, which
may interfere with the process of opening all apps.

Waiting until the posted action happens.

Hopefully this will fix massive flakes.

Bug: 131854153
Change-Id: I6544eae1a3b063c03e78185826c05a76add1f71b
2019-05-23 12:36:32 -07:00
Sunny Goyal 475e342637 Merge "Reading navigation_bar_gesture_height for bottom swipe region" into ub-launcher3-qt-dev
am: 1b9afd4f73

Change-Id: I45878d8a6412b45bb1921a2308e49319bc86a362
2019-05-23 11:39:24 -07:00
Vadim Tryshev a46e847945 Merge "Reducing test wait time from 60 sec to 10 sec" into ub-launcher3-qt-dev
am: 789fe60dc4

Change-Id: I5a9b10bb7eab178f83d367f13f1d4bb67c5b81b3
2019-05-23 11:38:51 -07:00
TreeHugger Robot 1b9afd4f73 Merge "Reading navigation_bar_gesture_height for bottom swipe region" into ub-launcher3-qt-dev 2019-05-23 17:53:24 +00:00
Sunny Goyal f5d02b069a Reading navigation_bar_gesture_height for bottom swipe region
Bug: 132917885
Change-Id: I39d266fc34a69c3ba50246b5a66350942a85becb
2019-05-23 10:42:24 -07:00
Vadim Tryshev 789fe60dc4 Merge "Reducing test wait time from 60 sec to 10 sec" into ub-launcher3-qt-dev 2019-05-23 17:33:53 +00:00
vadimt 40bbfbed0f Reducing test wait time from 60 sec to 10 sec
Bug: 112282235
Bug: 121279417
Change-Id: Id88e782145b5fdae42354f6fce830aa05b78857a
2019-05-23 10:23:41 -07:00
Sunny Goyal d4e88cf4f1 Merging ub-launcher3-qt-dev, build 5595491 am: cf7e6c4a32
am: 3f45e292eb

Change-Id: I3c222fb9ae04bb3ebb1c7a4302027b036636909e
2019-05-23 04:00:04 -07:00
Sunny Goyal 245512b559 Merging ub-launcher3-qt-dev, build 5595491 am: cf7e6c4a32
am: d405653c86

Change-Id: Ica02365baaaab1729ccc245af1fca22ba3d2c149
2019-05-23 03:48:35 -07:00
Sunny Goyal 3f45e292eb Merging ub-launcher3-qt-dev, build 5595491
am: cf7e6c4a32

Change-Id: Ic3fa0a2f25ef5af42d81a7af93f131dff9881f74
2019-05-23 02:03:10 -07:00
Sunny Goyal d405653c86 Merging ub-launcher3-qt-dev, build 5595491
am: cf7e6c4a32

Change-Id: I6d490f8d51fd10ef6fe2b4e9bdf3c222fb4c8de6
2019-05-23 01:49:57 -07:00
Vadim Tryshev 91d3028271 Merge "Adding 1 more icon to all apps for virtual devices" into ub-launcher3-qt-dev am: 7426d82fcb
am: de446f198a

Change-Id: Ic367921036c84cffae7b122ea741d027f9e4bc46
2019-05-22 21:12:57 -07:00
Vadim Tryshev 708537c1e4 Merge "TAPL: Little cleanup" into ub-launcher3-qt-dev am: 331a11e0ed
am: 1eba6cbf49

Change-Id: I0630d2374c2a49d626db5c4d23628b5574e5ae50
2019-05-22 21:12:20 -07:00
Tony Wickham 2fd9346e5f Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev am: eb64fd3946
am: d949b9fd04

Change-Id: I74975e9216abb0a497b4ac466756337ca3747cc0
2019-05-22 21:11:39 -07:00
Jonathan Miranda f562177d66 Merge "Use spring to update window/icon scale for swipe up animation." into ub-launcher3-qt-dev am: 16dfcb9588
am: e9adb8ab46

Change-Id: I9c6e08b617a06fe6b6001afcec8c528cf6223b7d
2019-05-22 21:10:45 -07:00
Vadim Tryshev de446f198a Merge "Adding 1 more icon to all apps for virtual devices" into ub-launcher3-qt-dev
am: 7426d82fcb

Change-Id: Idcb1c05f4e2947c4ce85f63cc6a25977ea5006ba
2019-05-22 20:08:29 -07:00
Vadim Tryshev 1eba6cbf49 Merge "TAPL: Little cleanup" into ub-launcher3-qt-dev
am: 331a11e0ed

Change-Id: I15275b93ea2f38de6cc51920cf2b83db489e505a
2019-05-22 20:07:56 -07:00
Tony Wickham d949b9fd04 Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev
am: eb64fd3946

Change-Id: I374b19540bd39ff35bda5bc832510ba30eb3fa55
2019-05-22 20:07:33 -07:00
Jonathan Miranda e9adb8ab46 Merge "Use spring to update window/icon scale for swipe up animation." into ub-launcher3-qt-dev
am: 16dfcb9588

Change-Id: I1ad5f7eac52f945110df50635f1366fcf751f943
2019-05-22 20:07:09 -07:00
Vadim Tryshev 7426d82fcb Merge "Adding 1 more icon to all apps for virtual devices" into ub-launcher3-qt-dev 2019-05-23 02:47:24 +00:00
Vadim Tryshev a8700f69eb Adding 1 more icon to all apps for virtual devices
Change-Id: I1ebde81ab03b46c325e49196c89ed5866f5d838a
2019-05-22 19:30:35 -07:00
Vadim Tryshev 331a11e0ed Merge "TAPL: Little cleanup" into ub-launcher3-qt-dev 2019-05-23 02:22:49 +00:00
vadimt 41f9347653 TAPL: Little cleanup
Change-Id: I254ad6679b19700bd86c49a2acea3de7eae90fb7
2019-05-22 19:08:24 -07:00
Tony Wickham eb64fd3946 Merge "Capture screenshot when animating to home" into ub-launcher3-qt-dev 2019-05-23 01:56:08 +00:00
Jonathan Miranda 16dfcb9588 Merge "Use spring to update window/icon scale for swipe up animation." into ub-launcher3-qt-dev 2019-05-23 01:49:23 +00:00
Sunny Goyal cf7e6c4a32 Merging ub-launcher3-qt-dev, build 5595491
Test: Manual

Bug:122345781 P1 Inflation happens and a binder call during swipe up gesture, that may cause jank
Bug:123900446 P1 App to home animation should zoom into the app icon
Bug:124510042 P1 [Gesture Nav] Home animation polish
Bug:126744445 P1 Add chips support for Overview UI library
Bug:127783075 P1 When swiping up to recents, sometimes velocity is really wrong
Bug:129036789 P2 [a11y] Talkback doesn't indicate App paused in Home/Apps list.
Bug:131839392 P2 Ensure Go Launcher follows theming standards
Bug:132283018 P1 Shelf Jump
Bug:132356358 P1 Fix invocation animation for fling
Bug:132588097 P1 Launcher folder shadow and image flickers on going home
Bug:132716177 P4 Swiping right at home shows alphabet index
Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress
Bug:132917885 P1 Reduce swipe-up gesture region height in landscape
Bug:133009122 P2 Rare flake: dragged launchable to workspace, but the current state is not WORKSPACE; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/apps_view\E']
Bug:133010447 P2 Blueline: flake: test manages to click search box instead of starting an app
Bug:133010773 P2 qt-dev / crosshatch: flake: java.lang.AssertionError: http://go/tapl : want to switch from background to overview; Swipe failed to receive an event for the swipe end: 720, 2959, 720, 2050
Bug:133011252 P2 flake: Launching an app didn't open a new window: Calendar
Bug:133265591 P1 Blocked touches in thin region over home
Change-Id: Iac4013556a2a49418d1634762698ea59bbf95a75
2019-05-22 17:24:58 -07:00
Sunny Goyal 1c817f563c Merge "Adding a utility class to cache views at an activity level" into ub-launcher3-qt-dev am: a338daa261
am: ec140680dd

Change-Id: Ia2ad9d28dd49c9814031dcaf6dbaf6b814c7b810
2019-05-22 16:46:48 -07:00
Sunny Goyal ec140680dd Merge "Adding a utility class to cache views at an activity level" into ub-launcher3-qt-dev
am: a338daa261

Change-Id: Ia935c3ecb1d2ff84d0b7ae530f33703d2aa7c701
2019-05-22 16:42:49 -07:00
TreeHugger Robot a338daa261 Merge "Adding a utility class to cache views at an activity level" into ub-launcher3-qt-dev 2019-05-22 23:35:03 +00:00
Adam Cohen ba79877269 Fix issue where AllAppsContainerView was blocking touches to part of the home screen am: a09cfe2340
am: 05bba2f1f2

Change-Id: I073e9b34ab65bf36f3b7e41057345bb65bdca9ae
2019-05-22 16:14:31 -07:00
Kevin 1f152d01f8 Merge "Recents Go: Conform to device default style" into ub-launcher3-qt-dev am: 9fb137bb73
am: 2181405bf7

Change-Id: Ic801ff53374404876eda68080cc053a835e9a953
2019-05-22 16:14:04 -07:00
vadimt 4289b819ae Enable debug tracing for a lab-only non-starting app from all apps am: 3ab80bb734
am: c3b0cf2868

Change-Id: I6f305f2aee3cee6b2b4ea7895d471b7b07b64451
2019-05-22 16:13:32 -07:00
Adam Cohen 05bba2f1f2 Fix issue where AllAppsContainerView was blocking touches to part of the home screen
am: a09cfe2340

Change-Id: Ifff188ee9ba5d60029e9a4a94b49c17e203b94a8
2019-05-22 16:10:26 -07:00
Kevin 2181405bf7 Merge "Recents Go: Conform to device default style" into ub-launcher3-qt-dev
am: 9fb137bb73

Change-Id: If5aed4697334bee4743473ed41aa4a3972d33efa
2019-05-22 16:09:53 -07:00
vadimt c3b0cf2868 Enable debug tracing for a lab-only non-starting app from all apps
am: 3ab80bb734

Change-Id: I8dd0503f63c19375ba008e4bf414bb9ad5d7ae9e
2019-05-22 16:09:22 -07:00
Perumaal S 7664a483f2 Chips flag turn on by default
Change-Id: Ia5d23a4711ec507cce75d205d3b8e17434ab6b1e
2019-05-22 15:45:48 -07:00
Tony Wickham aa8b2d86fc Capture screenshot when animating to home
This is to ensure the task thumbnail is captured in the correct
orientation, rather than waiting until after the task pauses
which might be after the device rotates to portrait.

Also update the state to wait until screenshot is captured
before finishing the transition to home.

Test: testStressPressHome
Test: Swipe up from a forced landscape app, enter overview;
      ensure task view thumbnail is shown correctly

Bug: 132687470
Change-Id: I5cd5f4b2a413628a8bdcb456e2d132c1c2da5258
2019-05-22 15:44:04 -07:00
Sunny Goyal be8c34077c Lock launcher rotation during activity transition to allow
proper seamless transition at the end

Bug: 131360075
Change-Id: I2b76d4b3e0528e56b7b4709fd3708bc858bf1612
2019-05-22 15:21:56 -07:00
Tony Wickham f46873b52c Merge "Fix some issues with shelf jumping/duration" into ub-launcher3-qt-dev am: 9e26fccacc
am: 136cbc54bb

Change-Id: I002029f2d31bf0c921ddbcc807e294f44d982c9d
2019-05-22 15:07:15 -07:00
Vadim Tryshev 2653a7db77 Merge "TAPL: switching all swipes to model time" into ub-launcher3-qt-dev am: 07b985b5e5
am: 15e3a436de

Change-Id: If16187fef8bf1563e08abfe2e3de150a949c9464
2019-05-22 15:06:43 -07:00
Jon Miranda 593d8a4711 Fix bug where recycled FloatingIconView stays clipped to outline. am: 4c76bb8b3e
am: 8fcab4b88c

Change-Id: I9a6d45b75484dbe94cf68fde42fbf2756d33787f
2019-05-22 15:06:02 -07:00
Sunny Goyal 5686333117 Adding a utility class to cache views at an activity level
Bug: 122345781
Change-Id: I9a939e0b19c06c1089c1ceb515f8b97fb5dbb49e
2019-05-22 14:23:12 -07:00