summaryrefslogtreecommitdiffstats
path: root/quickstep/src/com/android/quickstep/OverviewInteractionState.java
Commit message (Collapse)AuthorAgeFilesLines
* Moving various common executors to a single locationSunny Goyal2019-08-201-4/+5
| | | | Change-Id: I44bca49b8adb6fa22c3b48d10f674e42c28d792c
* Support individual lock task featuresWinson Chung2019-05-231-0/+10
| | | | | | | | | | | | | | | | - 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
* Added back code removed earlier from OverviewInterationStateMatthew Ng2019-04-261-3/+27
| | | | | | | | | Change: ag/7199900 Test: manual Fixes: 129497226 Change-Id: Ibf0b1d4ade8ef5a2f0ceb545df505e9de419ec50 (cherry picked from commit cad531248e639a60fd3f0ce89b8fdbeb82cb8ea5)
* Remove interaction flag code replaced by QuickStepContract (1/2)Matthew Ng2019-04-251-57/+3
| | | | | | | Test: manual Bug: 112934365 Fixes: 129497226 Change-Id: Id128eee4eaa620f0b9c461ef5adf0a16e9ea9a2c
* Removing SWIPE_HOME flag and using sysUI mode insteadSunny Goyal2019-04-031-4/+0
| | | | | Bug: 129873705 Change-Id: Ieaa7d7928427daed98538c616bdf58b28d295829
* Making navigation mode listener a singleton so that the change is dispatchedSunny Goyal2019-03-291-41/+10
| | | | | | everywhere synchronously. Change-Id: Iee8c5957d78dfad3fb03e814de0367adcaa0c98b
* Updating to nav bar modeWinson Chung2019-03-261-10/+17
| | | | | | | Bug: 127366543 Test: Manual Change-Id: I602539e5d6161c5bf6056bb60679b7ef1f168e3e (cherry picked from commit 18841823ed24af6ab879382901f4b4dd1cd61ddc)
* Switching to setting QS on and off via writing settings.Vadim Tryshev2019-03-041-1/+1
| | | | | | We can do this now because we hav all 6 devices in the lab. Change-Id: I5d5fcd89086a3f945ed3fc204461cacbdde61a8a
* Using the new Touch dispatcherSunny Goyal2019-02-131-1/+1
| | | | Change-Id: Ib3cf82f6e0360e6e9609a8a3930125883e6ea997
* Removing use of onQuickstep event and determining the touchSlopPassed in ↵Sunny Goyal2019-02-131-11/+0
| | | | | | | Launcher Bug: 124255113 Change-Id: If6fe77c7086a30775f78ec2a86251cb6bcd3c4c4
* Using a common class for observing secure settingsSunny Goyal2018-10-171-35/+7
| | | | | Bug: 117519297 Change-Id: Ie9d948130aea50bf10c9fc625fdb16f4cfc4712e
* Migrating to android-xSunny Goyal2018-08-141-1/+2
| | | | Change-Id: I9a774152d13a541e8496dd84f2469bfed407f86d
* Support for running Overview tests with quickstep on and offVadim Tryshev2018-08-101-4/+7
| | | | | | Bug: 110103162 Test: TaplTests suite Change-Id: Ic479156f2973aeec5cc3d288e1c891b8086d9daa
* Merge "Removing code duplication for getting swipe-up setting" into ↵TreeHugger Robot2018-08-091-20/+3
|\ | | | | | | ub-launcher3-master
| * Removing code duplication for getting swipe-up settingVadim Tryshev2018-08-071-20/+3
| | | | | | | | | | | | | | | | This is between Tapl and Launcher Bug: 110103162 Test: TaplTests suite Change-Id: I5b458438834204ca257f45c707577b4d2793fb4e
* | Fix PIP window moving during quick scrub.Tracy Zhou2018-08-081-0/+11
| | | | | | | | | | | | Bug: 110799409 Test: Manual Change-Id: Ib7c7d87ddb5aee3149127415bfc31b9cd24dd16b
* | Unifying multiple definitions of MainThreadInitializedObjectSunny Goyal2018-08-071-21/+3
|/ | | | Change-Id: I0e5addfe0353f971c76ffba8a0e2fbbce0f7e58e
* Cleanup how we set back button alphaTony Wickham2018-05-221-0/+11
| | | | | | | | | Add BackButtonAlphaHandler to set back button alpha, instead of setting it from multiple places. Also force back button alpha to be 1 if swipe up is disabled (b/80091187) Change-Id: I49b63a0e6b033a3a947a847669a398f1b9ff0564
* Fade back button in and out tied with the overview/shelf (2/3)Matthew Ng2018-05-181-15/+26
| | | | | | | | | | | | | | Back button changes opacity when moving the shelf during swipe up between home screen and overview. The alpha changes depending on the progress of the swipe up animation. When going from app to home and vice versa, the fade animation does not tie with the swipe up progress. The fade animation also masks the back button drawable when ime visibility changes. Change-Id: I51e42930640ba711e81880b385bb722d7ee8ad33 Fixes: 74581837 Fixes: 76900236 Test: swipe up from home screen to overview
* Use overlay settings for Swipe Up gesture defaultMehdi Alizadeh2018-05-161-17/+19
| | | | | | | | | | | | | | | | Implements the following logic: if config_swipe_up_gesture_setting_available is false, always use the default value in config_swipe_up_gesture_default and ignore Settings.Secure if config_swipe_up_gesture_setting_available is true, use config_swipe_up_gesture_default as the default value for Settings.Secure, and respect Settings.Secure if user makes any changes. Bug: 78641268 Test: Manual test Change-Id: I586083b6655ccb3c94f08a911ed0de80f4738d62
* Use device api level if first_api_level is not set.Hyunyoung Song2018-05-091-1/+6
| | | | | | Bug: 79429532 Change-Id: I2fddad81fb1cd23d4023d7f3f5124f14a8c994f7
* Reset home bounce as unseen for users upgrading from Android O/N to P.Tracy Zhou2018-05-091-0/+19
| | | | | | Change-Id: I18b80f874180c8cc94e3101bcbceb75ecd4c28bc Fixes: 78647939 Test: Manual test
* Enforce Swipe Up gesture to be enabled based on the shipped SDK versionMehdi Alizadeh2018-05-081-3/+20
| | | | | | Bug: 79429532 Test: Manual test Change-Id: I12682ea3555eb3649cba4e1df018a697897f0fb6
* Uses definitions in sysui_shared lib for Settings namesMehdi Alizadeh2018-04-121-1/+1
| | | | | | | | Also drops a new sysui_shared.jar Bug: 77732469 Test: verifty it builds Change-Id: I080672be4df746ecd3124cc22ccec3ceea3b0742
* Listen for cases where touch controllers change, and update themTony Wickham2018-04-111-1/+9
| | | | | | | | Otherwise we'd be stuck using the old touch controllers until DragLayer is setup again (e.g. launcher is killed). Bug: 77921826 Change-Id: I8aac6fc453839902cb2d99279a6bd1549ee17d79
* Adds ContentObserver for Swipe Up enabled settingMehdi Alizadeh2018-04-111-16/+40
| | | | | | | | | | Registers a ContentObserver to handle Swipe Up gesture enable/disable changes from Settings App. Also provides a static method to get the current state of settings for the Swipe Up feature. Bug: 77549883 Test: Manual Test Change-Id: I5aa13cebdcb78be4869e8a5ae7f570490c8ac05c
* Disable the two-swipe when quickstep is disabled.Winson Chung2018-03-211-1/+1
| | | | Change-Id: I5eee57def216406fd8f7766ba4b87cd5de98f0a4
* Abstracting out all the Laucher related logicSunny Goyal2018-03-191-36/+98
| | | | | | | | > Enabling swipe up geture for fallback activity > Using a preferecens for showing back button Bug: 75979063 Change-Id: I8bbb44d8e250428c3da9bde57975dc4f952624be
* Initial changes for handling overview button in LauncherSunny Goyal2018-03-121-1/+3
| | | | | | | Adding a debug flag to show the overview button and placeholder methods for handling the callbacks Change-Id: I35055e768d96b43b835bac2eb146e47850a7f4b1
* Fix a couple bugs with back button visibilityTony Wickham2018-02-161-5/+32
| | | | | | | | | | | - Fix back button flickering when returning to NORMAL state instead of finishing a gesture to, say, ALL_APPS. This is achieved by posting changes to the back visibility on the UI thread (binder calls are posted on the background thread). - Restore back button when touch service reconnects (in case we were forced into an app when launcher is force-stopped, for instance). Change-Id: I3731ee43d66965ce7cd8cf026174aabfe2d5c56c
* Revert "Revert "Remove back button when on home screen""Winson Chung2018-02-161-0/+64
| | | | | | | | This reverts commit dd176e65e3af080529235984fa4a236fc266837f. Reason for revert: Post-drop revert Change-Id: If93eb4bca636bfba2471c8992621a59895bfcbe2
* Revert "Remove back button when on home screen"Winson Chung2018-02-161-64/+0
| | | | | | | | This reverts commit 663759e444b9aebf4beb2c737df8f58ffc21a49b. Reason for revert: Temporary revert for NL build Change-Id: I8614ee348e6e9290c0de0dfdf3e24663f220e356
* Remove back button when on home screenTony Wickham2018-02-151-0/+64
Add OverviewInteractionState to handle setting OverviewInteractionFlags. Hide back button when in NORMAL state and launcher's window is focused. Show it when in other states or when launcher's window loses focus. Change-Id: I35919561b9972789e995f1cc434c23e2afe9e77c