summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers
Commit message (Collapse)AuthorAgeFilesLines
* Refactor SwipeDetector to track both axesTony Wickham2019-10-242-4/+4
| | | | | | | | | | Existing clients now use the SingleAxisSwipeDetector subclass. A followup CL will add BothAxesSwipeDetector, whose first client will be the quick switch from home controller. Bug: 126596417 Change-Id: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d Merged-In: I54c71088cfe99ff28cdc719a1eb7a7d06ac95d2d
* Update all apps fade interpolators for home <-> all appTony Wickham2019-10-021-0/+18
| | | | | | | | | | | | | | | | Previously, predictions faded in quickly but then all apps faded in linerally over entire rest of the transition. Now, all apps fades in quickly after reaching the overview threshold where predictions are opaque. Also implemented the reverse, so that predictions/all apps content remain opaque when returning home until reaching the overview threshold near the bottom, where they fade out as quickly as they faded in. We do this for 3-button mode as well. Bug: 141986013 Change-Id: Ia35ab3ac9714e89f754293445a7839e15da5313d
* Fill the log container as hotseat or workspace based on position.Becky Qiu2019-08-012-3/+3
| | | | | | | | | | | | | | | | | | | Test: manual Bug: 137953006 Swipe from workspace: 07-30 15:15:44.031 9779 9779 D UserEvent: action:FLING direction=UP direction=UP 07-30 15:15:44.031 9779 9779 D UserEvent: Source child:WORKSPACE id=0 span(951,1313) parent:WORKSPACE id=0 07-30 15:15:44.031 9779 9779 D UserEvent: Destination child:ALLAPPS 07-30 15:15:44.031 9779 9779 D UserEvent: Elapsed container 826 ms, session 9361 ms, action 0 ms Swipe from hotseat: 07-30 15:15:46.010 9779 9779 D UserEvent: action:FLING direction=UP direction=UP 07-30 15:15:46.010 9779 9779 D UserEvent: Source child:HOTSEAT id=0 span(786,1908) parent:WORKSPACE id=0 07-30 15:15:46.010 9779 9779 D UserEvent: Destination child:ALLAPPS 07-30 15:15:46.010 9779 9779 D UserEvent: Elapsed container 1139 ms, session 11339 ms, action 0 ms Change-Id: I959528889fda778efc569bb59e7f44d3bd5b81bc
* Tie prediction text to all apps interpolatorTony Wickham2019-07-311-1/+1
| | | | | | | | | | | | Now floating headers get 2 interpolators: one for the header content itselt, and one for the all apps content that follows. That way, they can choose to intperolate part of their content as if it were part of all apps instead of the header. Currently, we do this to animate predicted icons quickly, followed by the all apps icons, predictions text, all apps scrollbar, and all apps divider as you continue swiping. Bug: 132455160 Change-Id: Ib3e373c291e174e1306a53854d0ad4dc29eb4b76
* Add several missing swipe loggingHyunyoung Song2019-07-251-1/+8
| | | | | | | | | | Enable swipe down to open noti shade from landscape Bug: 137137090 Bug: 137954767 Bug: 134181439 Change-Id: I47b4d17c9ae0586565fce101eb478e33ed8f7e3d
* Revert the changes that prevented touch on RecentsView during animationTony Wickham2019-07-221-6/+0
| | | | | | | | | The original bug that was solving seems to be fixed by other changes, and this allows users to scroll, dismiss, etc on recent tasks before fully reaching overview from an app. Bug: 137487381 Change-Id: I28a708811bba3ce739ce261f19eb29558d8f0e7d
* Merge "Allow TouchControllers to override shouldDisableGestures" into ↵Tony Wickham2019-07-181-0/+6
|\ | | | | | | ub-launcher3-qt-r1-dev
| * Allow TouchControllers to override shouldDisableGesturesTony Wickham2019-07-181-0/+6
| | | | | | | | | | | | | | | | | | Currently only StatusBarTouchController overrides this to always return false, so that you can swipe down for notifications during transition to home screen from an app (in gesture nav). Bug: 137161198 Change-Id: I803c37937d5294810cbe0c1bbffcd5dddcc5ca3b
* | Getting starting point of swipe from overview to all apps via protocolvadimt2019-07-161-2/+5
|/ | | | Change-Id: Idf04579b67011dac45b081a81367cde2d1274117
* Revert "Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace""Winson Chung2019-06-291-17/+51
| | | | | | | | This reverts commit c4c8b3c69597ac5fdd0c29124cb1e5fb70873a55. Reason for revert: Re-enabling for R1 Change-Id: Id6706c548dcc9debbfaf2069164636bc22aa9b5e
* Revert "Enable FLAG_SLIPPERY window flag when swipe down on workspace"Winson Chung2019-06-281-51/+17
| | | | | | | | This reverts commit 35062f8ed32ea4a868be077fdae37409a700e759. Reason for revert: Moving to R1 Change-Id: Ifd19d78015a66c9fbe9a67845232d13e011943d3
* Enable FLAG_SLIPPERY window flag when swipe down on workspaceHyunyoung Song2019-06-261-17/+51
| | | | | | | Bug: 131356741 Test: manual Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
* Support individual lock task featuresWinson Chung2019-05-231-0/+6
| | | | | | | | | | | | | | | | - 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
* Add important dump loggingHyunyoung Song2019-04-251-0/+12
| | | | | | | Bug: 130851537 Bug: 119992316 Change-Id: I3de7c1d910d1aecd80b47a85284565c79fe0e2cc
* Allow swipe up to all apps anywhere on workspaceTony Wickham2019-04-091-2/+3
| | | | | Bug: 129033091 Change-Id: Ib0066c59f86b3137aedad8d18393b5a622e0cd80
* Fix SwipeDetector positive vs negative for HORIZONTAL directionTony2019-03-271-1/+1
| | | | | | | | | Previously left was considered positive and right considered negative. Now left and down are negative, and right and up are positive. For RTL, left is positive and right is negative. Change-Id: Ia31e8c687c8c2716fc632b2fe88aa8955b934bce
* Move some classes to packagesTony2019-03-273-0/+508
Added states/ and touchcontrollers/ packages Change-Id: I8d59c47770c24c9edd1b7ce879e6a80ca8b88c71