Commit Graph

33301 Commits

Author SHA1 Message Date
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
Adam Cohen a09cfe2340 Fix issue where AllAppsContainerView was blocking touches to part of the home screen
=> After the scrubber was engaged, it would continue to intercept touches forever
   (seems like a long standing issue)
=> Also fixed issue where the All Apps scrubber could be engaged from the Home / Overview
   states

b/133265591
b/132716177

Change-Id: I8c7b9d45be65216f2f1a69f69ab1636accd812c0
2019-05-22 14:21:12 -07:00
TreeHugger Robot 9fb137bb73 Merge "Recents Go: Conform to device default style" into ub-launcher3-qt-dev 2019-05-22 20:52:32 +00:00
Kevin 3c7d5fb9db Recents Go: Conform to device default style
System apps in Q should attempt to conform to device style, so naturally
Recents Go should also conform to this so that text changes with the
device style changing. This CL ensures all text views change font based
off system theming title fonts.

Bug: 131839392
Fix: 131839392
Test: Change device theme body font, see that change is propogated to
Recents Go app texts, clear all, and empty recents message
Change-Id: Ib85ff49383221ef18ed8aa9e53eff129129e37c2
2019-05-22 13:39:32 -07:00
Tony Wickham 136cbc54bb Merge "Fix some issues with shelf jumping/duration" into ub-launcher3-qt-dev
am: 9e26fccacc

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

Change-Id: I2912a111e0129690c0f5aef42399cf01dac96175
2019-05-22 13:10:58 -07:00
Jon Miranda 8fcab4b88c Fix bug where recycled FloatingIconView stays clipped to outline.
am: 4c76bb8b3e

Change-Id: Ibbfb4d78e3b976d87ae64120c379f13ca259e9a0
2019-05-22 13:10:31 -07:00
vadimt 3ab80bb734 Enable debug tracing for a lab-only non-starting app from all apps
Bug: 132900132
Change-Id: I9c5bb51e49f865ea1e1d3d2209a8dfb149f66e87
2019-05-22 12:58:35 -07:00
Tony Wickham 9e26fccacc Merge "Fix some issues with shelf jumping/duration" into ub-launcher3-qt-dev 2019-05-22 19:21:37 +00:00
Vadim Tryshev 07b985b5e5 Merge "TAPL: switching all swipes to model time" into ub-launcher3-qt-dev 2019-05-22 18:26:21 +00:00
Jon Miranda 4c76bb8b3e Fix bug where recycled FloatingIconView stays clipped to outline.
Bug: 123900446
Change-Id: I9507dab86cc0da27626d1b48e0f6a236f2b3f219
2019-05-22 07:33:31 -07:00
Adam Cohen b486c131fe Merge "Fix issue where Assistant could be invoked at the same time as all apps" into ub-launcher3-qt-dev am: 47f21e8a08
am: c598c4dfe9

Change-Id: I6448665bd6dd75a7dd0132d491b3a0445dcdc6d5
2019-05-21 23:22:26 -07:00
vadimt 845a7f4683 Merge "Adding tracing for a lab-only flake" into ub-launcher3-qt-dev am: 0ef504aa71
am: 13c6c96234

Change-Id: I647695bb7c815509f58482aa8596217d30e22082
2019-05-21 23:21:56 -07:00
Adam Cohen c598c4dfe9 Merge "Fix issue where Assistant could be invoked at the same time as all apps" into ub-launcher3-qt-dev
am: 47f21e8a08

Change-Id: I8d483e89806209161b293fc781ec9c44cccba443
2019-05-21 21:07:59 -07:00
vadimt 13c6c96234 Merge "Adding tracing for a lab-only flake" into ub-launcher3-qt-dev
am: 0ef504aa71

Change-Id: I5cd1ef837a413a4f75c399cfc920a2a659ee5943
2019-05-21 21:07:34 -07:00
Adam Cohen 47f21e8a08 Merge "Fix issue where Assistant could be invoked at the same time as all apps" into ub-launcher3-qt-dev 2019-05-22 03:48:36 +00:00
Tony e246dff69f Fix some issues with shelf jumping/duration
Don't use OvershootParams for 0 button mode, since that interpolator
assumes the shelf is moving in conjunction with recents/app window.
Instead, use OVERSHOOT_1_2 like we do when not flinging.

Also bound the duration when entering recents, since scroller
duration could be 750ms if we are snapping to the current page.
Now we cap at MAX_SWIPE_DURATION (350ms). This case is most likely
to be hit when ending a slow swipe near the final recents scale,
since in that case duration is close to 0 and the scroller duration
is taken instead.

Test:
- Artificially always detect a pause, fling up in 0 button mode;
  ensure shelf doesn't jump
- Either with the above artifical change in 0 button, or 2 button
  mode, end a swipe to recents near its final scale with a slight
  scroll to the right; ensure duration is 350 instead of 750

Bug: 132283018
Bug: 127783075
Change-Id: I8d5fbd0b30af21b9587fba47d141ba90b3b6e778
2019-05-21 20:27:55 -07:00
TreeHugger Robot 0ef504aa71 Merge "Adding tracing for a lab-only flake" into ub-launcher3-qt-dev 2019-05-22 03:12:56 +00:00
android-build-team Robot 3cbca3fb9f Snap for 5591509 from b0be237b3f to qt-release
Change-Id: I52ff4f456448069898c457587ca96bf4a1bb3bc6
2019-05-22 03:09:44 +00:00
android-build-team Robot 31ce77bc0e Snap for 5591440 from 1350527e48 to rvc-release
Change-Id: Ic4499ef1e2a9c12f41a7646766583be0858a8645
2019-05-22 03:06:46 +00:00
android-build-team Robot dbcc1f94ed Snap for 5591454 from d0993b2b6c to qt-qpr1-release
Change-Id: I68a61a81a3aa467e7655359e61a710c04edaa14d
2019-05-22 03:06:24 +00:00
vadimt cfc2e02a94 TAPL: switching all swipes to model time
Bug: 133010773
Change-Id: I3334ac4ac434bf1c6470c806bb216eb7bd8e22c2
2019-05-21 18:29:19 -07:00
vadimt e17d1feb79 Adding tracing for a lab-only flake
We had a resolved case in the past where an app's context menu didn't
open on a long click (thanks to app updates), now the menu opens, but
the drag gesture doesn't drag the icon.

Bug: 133009122
Change-Id: I45d104a92fab6556ecd937aef76f0a8147e67f56
2019-05-21 17:19:23 -07:00
vadimt 2e519a73d8 Merge "Not allowing applying dot state to override "disabled" description" into ub-launcher3-qt-dev am: 4b41793155
am: 849be414d5

Change-Id: I98e4b4a871057b6ff8a8e8c873f13acb438bbb79
2019-05-21 16:38:01 -07:00
Miranda Kephart 8d70fab0c1 Merge "Pass in fling velocity for gesture progress" into ub-launcher3-qt-dev am: 49e5d8227b
am: 40b95f105b

Change-Id: I74d4ca609b7e42ec1982a2642eae006dd950c684
2019-05-21 16:36:57 -07:00
Sunny Goyal 55958e0331 Merge "Using squared hypot to optimize some comparisions" into ub-launcher3-qt-dev am: 32ba3c1125
am: 4c801fdc2b

Change-Id: I23aab3bee6469692d7c056cf6465fdf429dc2ead
2019-05-21 16:36:26 -07:00
vadimt f3ec3973a5 More logging in AllApps + a fix am: 3479cf80e7
am: b4036410f4

Change-Id: I526c4dae91b65231f516a3a959c940bac4540454
2019-05-21 16:35:54 -07:00
vadimt 02d9721354 Searching icons only in apps_list_view am: a1a417c994
am: def565f768

Change-Id: I4eb9965457abe94ad571974d2cf646989b2c06e6
2019-05-21 16:35:30 -07:00
vadimt c8b335a52f Marking sure the center of icon is not under search box in all apps am: 1053de165e
am: 484eb7c09a

Change-Id: I2e7e4be962659e99b4cbd3482b7747f48f0f7bfe
2019-05-21 16:34:58 -07:00
Sunny Goyal 2524b82369 Remove unnecessary dispatchInsets routing
Insets are dispatched to all views. We never consume the insets and
let each view decide what to do with it.
Also fixing scrim in all-apps when in full-gesture navigation

Change-Id: Ib1c6bef5b32aac0c6ea03078b5138d2d0408c6d8
2019-05-21 15:58:44 -07:00
Adam Cohen 8f7d2b0dfd Fix issue where Assistant could be invoked at the same time as all apps
issue 132366412

-> First, we shouldn't accept flings when the delegate has intercepted. This prevents any situation
   where both are triggered.

-> Modified the slop to be the standard 8dp. This acts as a standalone fix because
   it means that there are no situations where we cross all apps slop before assistant slop.
   ie. in a purely vertical gesture from the corner, without this change, it's possible to trigger
   all apps instead of Assistant.

Change-Id: I39e3d8a525e165024399d9802d4cc1d7ae329ee6
2019-05-21 15:52:34 -07:00
vadimt 849be414d5 Merge "Not allowing applying dot state to override "disabled" description" into ub-launcher3-qt-dev
am: 4b41793155

Change-Id: I09f30dc4a6cb38ad43ed2424d1b3a66a83e0779a
2019-05-21 15:07:22 -07:00
Miranda Kephart 40b95f105b Merge "Pass in fling velocity for gesture progress" into ub-launcher3-qt-dev
am: 49e5d8227b

Change-Id: I47e8826b6e78774da841ee5618d9ab59ab28fcb7
2019-05-21 15:06:31 -07:00
Jon Miranda f535787571 Use spring to update window/icon scale for swipe up animation.
Bug: 123900446
Change-Id: I644dae6210ab3c8b72c777a556dfde4ae4cdce8f
2019-05-21 15:05:32 -07:00
TreeHugger Robot 4b41793155 Merge "Not allowing applying dot state to override "disabled" description" into ub-launcher3-qt-dev 2019-05-21 21:05:03 +00:00
Miranda Kephart 49e5d8227b Merge "Pass in fling velocity for gesture progress" into ub-launcher3-qt-dev 2019-05-21 21:05:00 +00:00
Sunny Goyal 4c801fdc2b Merge "Using squared hypot to optimize some comparisions" into ub-launcher3-qt-dev
am: 32ba3c1125

Change-Id: I38ddb1b877d6bcc348246fb0c76ab70d61cd9461
2019-05-21 13:48:29 -07:00
vadimt b4036410f4 More logging in AllApps + a fix
am: 3479cf80e7

Change-Id: Id09516dd2e2aebacf68588c566f713099fc83389
2019-05-21 13:47:54 -07:00