summaryrefslogtreecommitdiffstats
path: root/quickstep/libs/sysui_shared.jar
Commit message (Collapse)AuthorAgeFilesLines
* Trebuchet: Add reverse engineered Q swipe down gestureLuca Stefani2019-02-041-0/+0
| | | | Change-Id: I4b6fd72299ebd34fa17397eacbb14617b4cedc90
* Log source component instead of current task base intentWinson Chung2018-06-051-0/+0
| | | | | | | | | - Report original launch source component to ensure app relaunches can be associated with the same app for predictions. Bug: 109698096 Bug: 109675704 Change-Id: Icc5e95560777ad827fd2430cf3b3b052b65eb1b6
* Use SyncRtSurfaceTransactionApplier for recents enter/exitJorim Jaggi2018-05-291-0/+0
| | | | | | | | | | | | To ensure proper synchronization, fixing jank. Furthermore, we need to move the background choreographer to vsync-sf pulse in order to allow for a smooth transition background -> foreground when handling the touch. Test: Swipe up, disable swipe, press recents to enter/exit Bug: 80292740 Change-Id: Ie58616edf6432a0154d6dbf8497218721154d2b8
* Use SyncRtSurfaceTransactionApplier for app openingJorim Jaggi2018-05-281-0/+0
| | | | | | | | To ensure 100% synchronization, fixing jank. Test: Open and close apps Bug: 78611607 Change-Id: I6843e88ab1de0b8e7d80e6a6f547b895b527d093
* Fade back button in and out tied with the overview/shelf (2/3)Matthew Ng2018-05-181-0/+0
| | | | | | | | | | | | | | 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
* Dumping the excoded view hierarchy instead of the default activity dumpSunny Goyal2018-05-161-0/+0
| | | | | | | > Encoded hierarchy is smaller is size and has a lot more information about the views Bug: 79861035 Change-Id: I84316b1b0031282b0579f3aaac22d8d8f00d8bcb
* Add logging for OnboardingHyunyoung Song2018-05-151-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 73784423 * Discovery bounce, homescreen, hotseat UserEvent: action:TIP UserEvent: Source child:HOTSEAT id=0 BOUNCE * Discovery bounce, overview, prediction UserEvent: action:TIP UserEvent: Source child:PREDICTION BOUNCE * Swipe up from navbar text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP SWIPE_UP_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT * Quickscrub text (visibility, cancel target) UserEvent: action:TIP UserEvent: Source child:TIP QUICK_SCRUB_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT * Prediction apps text (visibility, cancel target) UserEvent: action:TAP UserEvent: Source child:TIP PREDICTION_TEXT UserEvent: action:TAP UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
* Revert "Revert "Update sysui flags on swipe, skip task backgrounds on opaque ↵Winson Chung2018-05-111-0/+0
| | | | | | | | | | apps"" This reverts commit f5d5b6f00fcf64dc7d4a0df5dad683ba8d8921f6. Reason for revert: Can be submitted once a build with ag/4040557 is available for flashing Change-Id: Id94440a1dc9b765bb9758af81b0567628befa283
* Revert "Update sysui flags on swipe, skip task backgrounds on opaque apps"Winson Chung2018-05-111-0/+0
| | | | | | | | This reverts commit 5dd46d51eda6e26830c994e9a0581d57316beb51. Reason for revert: Temporary revert until ag/4040557 goes in Change-Id: Iab2c747a99e1fb1cc5a91787dbf185df77f791b4
* Update sysui flags on swipe, skip task backgrounds on opaque appsWinson Chung2018-05-101-0/+0
| | | | | | | | Bug: 79228291 Bug: 77984778 Bug: 78659249 Bug: 73714156 Change-Id: I3bb9ce5b4d5d16bc229a1caba99891cb87775136
* Deferring recents animation when tapping rotation button.Winson Chung2018-05-101-0/+0
| | | | | Bug: 79518453 Change-Id: I46490cce0ced0860903337c02fb66e1cdc5add06
* Using surface rotation instead of insets to determine seascape configurationSunny Goyal2018-05-071-0/+0
| | | | | | | | Insets may not correctly indicate seascape configuration in multi-window or when the presence of device-cutouts Bug: 79376298 Change-Id: I8268efca0001fe527a0ffefe48cc71e774fad01c
* Using the system color extraction logic instead of inbuild logicSunny Goyal2018-05-041-0/+0
| | | | | | | > Moving the inbuild color extraction logic to the aosp flavor Bug: 79111591 Change-Id: I766b0397da7224b424cd5f309cedf635d60a5e0f
* Log OVERVIEW_ACTIVITY via MetricsLogger in quickstepHyunyoung Song2018-05-021-0/+0
| | | | | | Bug: 77920179 Change-Id: Id4c7dc3d535c7a8009d340183e640b04ab07408a
* Secondary split screen app will be next to the navigation bar (2/2)Matthew Ng2018-04-301-0/+0
| | | | | | | | | | | Refactored docked position code into PhoneWindowManager to determine which side the docked app should go based on the position of the nav bar in landscape (as portrait will only have top). Fixed the split screen entrance animation for quick step's overview. Change-Id: I0035214cecb9c6403c59f4b938c2d1ae924f34b0 Fixes: 73250406 Test: play around with splitscreen and minimized mode
* Shared touch and drag slops for quick step changes with density (2/3)Matthew Ng2018-04-261-0/+0
| | | | | | | | | | All shared touch and drag slops are not static anymore but are computed for the current system density if the user were to switch density of device. Test: change density and use quick scrub Fixes: 78244075 Change-Id: Idc35e78bdd9c6d9b31a1ccbdd9cd0e7fec87185f
* Hide the IME when starting quickstep.Winson Chung2018-04-231-0/+0
| | | | | Bug: 73285089 Change-Id: Ifad6ffe64467754ade966165ee3c274ac9445c1f
* Revert "Update shared lib for fullscreen state to task snapshot."Winson Chung2018-04-231-0/+0
| | | | | | | | This reverts commit f86337e207cf96dfc9a768376c1f5437d3b2cf5d. Reason for revert: Temporary revert until there is a pi-dev build that launcher folks can flash Change-Id: I1885d7c58d8ec5c3eaccf4abd518c375ecf65164
* Update shared lib for fullscreen state to task snapshot.Winson Chung2018-04-231-0/+0
| | | | Change-Id: I9fa585f303f2613eeb5aa30cc0546230e743bbed
* Remove prolonged animationsJorim Jaggi2018-04-231-0/+0
| | | | | | | | Never worked in P, not needed. Test: Enter split screen Bug: 77993227 Change-Id: I092c4141c23dd7ded4e11a0f54156b1abfa2b1c6
* Implement swipe up and quick scrub onboarding (Pt. Launcher)Tracy Zhou2018-04-181-0/+0
| | | | | | | | SysUI change: ag/3914771 Bug: 70180942 Test: manual test Change-Id: I42ade28ebad6dcbbcee6dfb80791f22f36e78290
* Better handling transparent activitiesSunny Goyal2018-04-141-0/+0
| | | | | | | | | > Only hiding the task associated with the current task, instead of hiding all tasks > Maintaining a state for hidden task so that it does not get reset when alpha is changed due to some other reason. Bug: 77830202 Change-Id: I202e99b153c6f9e3a8d9c68d6844672b3bff41e9
* Uses definitions in sysui_shared lib for Settings namesMehdi Alizadeh2018-04-121-0/+0
| | | | | | | | Also drops a new sysui_shared.jar Bug: 77732469 Test: verifty it builds Change-Id: I080672be4df746ecd3124cc22ccec3ceea3b0742
* Move QuickStep onboarding strings from Launcher to SysUI (Pt. Launcher)Tracy Zhou2018-04-121-0/+0
| | | | | | Bug: 70180942 Test: N/A Change-Id: I05e6ce27630d478a40a52bf59a9dfd25881213be
* Waiting until post draw before calling finish on the recent transitionSunny Goyal2018-04-111-0/+0
| | | | | Bug: 77695434 Change-Id: I7c3c668de7c3986760f26890fa062dee0ddb3805
* Updating shared lib for icon loader change.Winson Chung2018-04-091-0/+0
| | | | | Bug: 77747389 Change-Id: I84d56a016222d844ab311bd12ade6693b084bff0
* Automatically switching the ActivityController based on the default home app ↵Sunny Goyal2018-04-091-0/+0
| | | | | | | preference Bug: 75979063 Change-Id: If7a173cc56da021094ab9770dee26fb61ac20dd3
* Enable early wakeup during transitionsJorim Jaggi2018-04-091-0/+0
| | | | | | | | We hit GL comp likely on some devices so we start composing earlier to avoid jank. Bug: 75985430 Change-Id: I94ff218c79fb512002a2fb7f8aa600d6662f269e
* Updating the system shared libSunny Goyal2018-04-041-0/+0
| | | | Change-Id: I442e124bb8b78f89c23605ce311400032d7ccdad
* Update dock divider during recents animation.Winson Chung2018-04-031-0/+0
| | | | | | | | | - Move all wrapper calls to the bg thread - Account for position now that the task leash is in the app animation layer Bug: 73118672 Change-Id: I5b680a688c0ad4ca34c76e22e1d5cee24133f40f
* Added two touch slops for easier home press (3/3)Matthew Ng2018-04-021-0/+0
| | | | | | | | | | | | | | The first slop starts the drag either for quick step or scrub. At this point either launcher can animate swipe up or the home button moves for scrub, however the home button is still active and can be pressed or long pressed. The second slop is for activating quick step or scrub. Similar to before when an operation has activated, the home button cannot be pressed or long pressed. This allows the home button to have a larger area to be clicked. Change-Id: Ie792845a09ecf5d8bdbeae9e8ef7210e2299c69d Fixes: 76430825 Test: scrub or swipe up
* Remove quick switch and improve quick scrubTony2018-03-221-0/+0
| | | | | | | | | | | | | | - Hide hotseat and center recents vertically during quick scrub - Don't animate the state change if launcher wasn't already visible, but still wait until the window animation completes before scrubbing past the next app - Change interpolator of window as it scales offscreen during quick scrub, so that it gets out of the way faster and you can see the motion of the next app taking its place - Remove haptic when snapping to task when quick scrub starts (there's already a haptic from the home button) Bug: 70180755 Change-Id: I83f25bc8b791da0676c13fd62698e1f486dc016f
* Abstracting out all the Laucher related logicSunny Goyal2018-03-191-0/+0
| | | | | | | | > Enabling swipe up geture for fallback activity > Using a preferecens for showing back button Bug: 75979063 Change-Id: I8bbb44d8e250428c3da9bde57975dc4f952624be
* Import new libJorim Jaggi2018-03-161-0/+0
| | | | | Bug: 73498721 Change-Id: Ia9d2bd49d69d566b75355fe12b7127434f18079d
* Using the task primary color as the background for the wrapped iconSunny Goyal2018-03-131-0/+0
| | | | | Bug: 74445840 Change-Id: I6c6248c8c71cc9b27cbf301e36400a983127da18
* Generating ACTION_TOGGLE_RECENTS eventsVadim Tryshev2018-03-121-0/+0
| | | | | | | | Bug: 72967764 Test: atest google/perf/app-transition/sysui-latency-test, watch for 1_* entries in output Change-Id: I1bf2bb8f482f6113ed86600afa53407561dc66d0
* Initial changes for handling overview button in LauncherSunny Goyal2018-03-121-0/+0
| | | | | | | Adding a debug flag to show the overview button and placeholder methods for handling the callbacks Change-Id: I35055e768d96b43b835bac2eb146e47850a7f4b1
* Fade away half-screen assistant on swipe-to-recents gesture.Vadim Tryshev2018-03-081-0/+0
| | | | | | | | | | | | | | Half-screen assistant is not in task stack, and will be faded away. Workspace-to-recents case with half-screen assistant needs more work after we decide whether we should swipe to the workspace preview or to the first task. Bug: 70789568 Test: Manual: swipe a normal app to Recents; swipe an app with a half-screen assistant on top of it to Recents. Change-Id: I6e3acc2b94bb3b56d6590a72073d37a1771a1da5
* Don't show Pin option when an locked to app is activeTony Wickham2018-03-011-0/+0
| | | | | | | Also isLockToAppEnabled is renamed to isScreenPinningEnabled Bug: 72799389 Change-Id: I46d4c57e3719f7401887e79cbb7397e23f162e44
* Fix some issues with split screen animationWinson Chung2018-02-271-0/+0
| | | | | | | | - Notify WM when the next draw after split screen happens - Close the menu once we invoke split screen Bug: 73118672 Change-Id: I9a42635f1f5c29e347bdec3034f6aa8be332c8d2
* Normalizing icons in recents viewSunny Goyal2018-02-231-0/+0
| | | | Change-Id: I1d95c1abf158044ca5666473f976b49f7997ca27
* Revert "Revert "Remove back button when on home screen""Winson Chung2018-02-161-0/+0
| | | | | | | | 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-0/+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/+0
| | | | | | | | | 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
* Cancel the animation when cleaning up the touch trackingWinson Chung2018-02-131-0/+0
| | | | | | Bug: 72953248 Test: Add artificial delay and launch home from home button Change-Id: I3f864ff4e0a90a4c62dbf5fe123bb3e2257c06fa
* Handle transition from multi-windowWinson Chung2018-02-071-0/+0
| | | | | | | | | - Make use of app/home insets and minimized home size to calculate the proper clipping and target bounds for the task view in home. Test: Swipe up when in multiwindow Change-Id: Ibef7a6dc319ded7867ee559dd31c5e87fd76cadb
* Add quickstep onboarding text and send to sysuiTony Wickham2018-02-061-0/+0
| | | | | Bug: 72999860 Change-Id: I3b67f197e16fdf7d646a81210baa6fd24ead61ed
* Use sysui lib to determine if screen pinning is enabledTony2018-02-021-0/+0
| | | | | Bug: 70294936 Change-Id: Ie71984a1693ad2ffbb308a1830486511cb2c3577
* Add code path for the recents animation using window transitions.Winson Chung2018-01-291-0/+0
| | | | | | Test: Enable in settings, swipe up Change-Id: I1053f9e519c2f612bd3db0b66cd16ad9a30bfeb4
* Make app-controlled animations more robustJorim Jaggi2018-01-221-0/+0
| | | | | | | | | | | | | | - Sometimes the system decides to destroy our surface before we have finished animating. While this is a bug in the system, we need to protect ourselves against any crashes in this case by checking getNextFrameNumber() != -1 with the new SystemUI lib. - Apply position of animation target for multi-window open animation. Test: Open Drive multiple times, observe no crash Fixes: 72301120 Change-Id: I47520cea0d11cab109bf6190ea0cc828efc62275