summaryrefslogtreecommitdiffstats
path: root/quickstep
Commit message (Collapse)AuthorAgeFilesLines
* Change app name to TrebuchetJoey2019-10-201-2/+2
| | | | | | | Squash of commits 224af31 and 23817f7. Change-Id: I7ccdab88f40a3c8a2075265a45dfe70e824d9f00 Signed-off-by: Joey <joey@lineageos.org>
* Revert "[DO NOT MERGE] Disable swipe down to pull noti shade for Q"Luca Stefani2019-10-201-0/+6
| | | | | | This reverts commit eb66898be068c8dc7521723d948dd400f4b8fc12. Change-Id: Ia05d89af9b9c65e263f83cd71d32530b0d849692
* Always go to home in case of fling-upSunny Goyal2019-08-151-11/+12
| | | | | | | Bug: 138881088 Change-Id: I86bf4c7a495805d5912b102470e72a51e843a222 (cherry picked from commit a2cfc2d95e1ae5d8b44e3f63a620d7a819bc826c) (cherry picked from commit 64155533b694ef3b4f45e3365270ca99ec369200)
* Don't end launcher components anim early even if it does nothingTony2019-08-081-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The janky animation that ends on the home screen with an invisible task on top is caused by the following scenario (for example): - Quick switch from task A to task B - After landing on B, but before we get the callback that it was successfully launched, switch back to A (or you could go to C) Now we are animating back to A, but we are still waiting to hear whether B was successfully launched. If we hear that the launch was indeed successful, we dutifully clean up after ourselves by returning launcher to its default state. Unfortunately, that clobbers the current animation that is scrolling back to A, and we end up in the bad state where we are showing the default launcher state even though we just launched task B and were about to launch task A. Normally we avoid cleaning up the state animation if the user is still controlling it. The reason we weren't doing that here is because we ended the launcher animation early even though the window animation was still running. Instead, we should keep the launcher animation running for the full duration, so that it prevents a cleanup from occurring in the middle. Bug: 138620399 Change-Id: I959e62a52638a5b974ef9b406555078c928b91f1 (cherry picked from commit 03c548901fb77d0a47bb46036d559968b65b2293) (cherry picked from commit c5555c459bd28033257bced610c861e5ff84aec4)
* Fix bug where rounded corners were being set despite being disabled.Jon Miranda2019-07-251-1/+4
| | | | | | Bug: 138117089 Change-Id: Icb852e2e07d80c45ad3406ef432b89720887fccf (cherry picked from commit e734efba8dc58ea145dc0a620f18cbe2032f70ce)
* Fix bug where icon is no present during app close animation.Jon Miranda2019-07-181-1/+2
| | | | | | | | | | | | | | | | | * WindowTransformSwipeHandler closes all AbstractFloatingViews, including ListenerView, which results in FloatingIconView getting removed. * In IconLoadResult.onIconLoaded, we remove the check for isIconLoaded since its not needed. This was also causing a race condition since isIconLoaded is not set to true until after we tell onIconLoaded to run. * In BaseDragLayer, we have a delay before checking if the view is open and then closing the floating view if true. This caused issues since we reycle the view. Now we check if the view is open before running the delay to call close. Bug: 136044361 Change-Id: I7442a589a62c3cdf90b70d146e0ecf3e4300ddf7 (cherry picked from commit 826cdcd32fa91afe932c8c07be1a4e92a6f73301) (cherry picked from commit bc2782647803d2a8942311f917d66a91bdc24d8d)
* [DO NOT MERGE] Disable swipe down to pull noti shade for QHyunyoung Song2019-07-111-6/+0
| | | | | | | Bug: 136293958 Change-Id: Iac169d91a784b5f2d05410a06cd358f85b533562 (cherry picked from commit 4bfcf04ae9228f912ac151009800a9f3cd205550)
* Reset the UI_STATE_OVERVIEW statusbar/navbar flag when RecentsView resetsHyunyoung Song2019-07-091-0/+1
| | | | | | | | | Bug: 135383592 TL;DR;; this reset is called when for instance OMS call happens Change-Id: I57bb6c1c8833aff00e3be572dd19744afbb81eb5 (cherry picked from commit 4abfbd067073cc24622c80a3e3519cca37e8f206)
* Merging ub-launcher3-qt-dev, build 5697268Sunny Goyal2019-06-2810-57/+55
|\ | | | | | | | | | | | | | | Test: Manual Bug:135038270 P1 Apps getting stuck while switching in the overiew screen. Bug:135885458 P1 Arrow floating when in app switcher Change-Id: Ifa132ba008423a95291a17deea3d8e3846dbbacc
| * Merge "Revert "Enable FLAG_SLIPPERY window flag when swipe down on ↵TreeHugger Robot2019-06-281-51/+17
| |\ | | | | | | | | | workspace"" into ub-launcher3-qt-dev
| | * 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
| * | Resetting UI state when the last has launched from LauncherSunny Goyal2019-06-281-0/+2
| | | | | | | | | | | | | | | Bug: 135038270 Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
| * | Merge "Make it a bit harder to break out of Overview once triggered" into ↵TreeHugger Robot2019-06-281-1/+1
| |\ \ | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | Make it a bit harder to break out of Overview once triggeredAdam Cohen2019-06-281-1/+1
| | | | | | | | | | | | | | | | Change-Id: I8814f1d7e219ba11a3abb191bf55192e3811f191
| * | | Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-devTreeHugger Robot2019-06-285-0/+18
| |\ \ \
| | * | | Resetting UI state when the last has launchedSunny Goyal2019-06-285-0/+18
| | |/ / | | | | | | | | | | | | | | | | Bug: 135038270 Change-Id: Ie0af9c7d47f69b32caedd72f98ed1706bdbef5fa
| * / / Fixing accessibility arrowSunny Goyal2019-06-272-5/+17
| |/ / | | | | | | | | | | | | | | | | | | | | | > Hiding arrow in background state and during quick switch > Preventing arrow overlapping with search box in overview state Bug: 135885458 Change-Id: Iadefba044717351d69480cde7d784cd04289d086
* | | Merging ub-launcher3-qt-dev, build 5691374Winson Chung2019-06-2634-219/+858
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:115582915 P2 [Testing] Make all launcher tests gesture-stable Bug:121280703 P2 Finish implementation of PortraitLandscape annotation for tests Bug:124524897 P2 Enable some tests in OOP mode Bug:129158983 P1 Badge bubbles with app icon; use launcher lib for icon, dot, badge rendering Bug:131116002 P2 Convert tests to TAPL and enable them Bug:131356741 P1 use transferFocus to implement SWIPE DOWN on homescreen to open noti shade Bug:131360075 P1 [Gesture Nav] Polish/finish landscape Bug:132309376 P1 Launcher held ION buffers after clearing all apps in Recent Apps Bug:132455160 P1 [Gesture Nav] Home to Overview Transition Improvement Bug:132461400 P1 Fatal exceptions in Launcher3 Bug:132811175 P1 Jump cut if you quickly open an app after going home Bug:133450867 P1 App window draws outside of icon shape during app to home transition Bug:133765434 P1 [Flaky test] Launching task didn't open a new window Bug:133867119 P2 Lab-only flake: want to switch from workspace to all apps; Swipe failed to receive an event for the swipe end Bug:134609899 P1 Overscrolling on all apps leads to a wrong current task Bug:135011207 P0 Corner Invocation / Inconsistent - F/C Bug:135150619 P1 [Launcher] Trigger heapdump on RSS HWM measurements Bug:135150767 P4 [Launcher] Test reduced resolution snapshots Bug:135161289 P2 KB3 on qt-dev can't pick Launcher3GoIconRecents from vendor Makefile Bug:135222111 P1 Major issues with hotseat when predictions are disabled Bug:135287203 P1 Overview crashes on rotation Bug:135299165 P1 Configuration changes might result in Launcher ending up in a corrupt state Bug:135472635 P2 Bad overriden class: java.lang.ClassNotFoundException: com.android.quickstep.QuickstepProcessInitializer Bug:135473571 P0 Pixel launcher keeps stopping in SuW Bug:135571566 P4 Search bar is above icons. Even opening and closing launcher does not help Bug:135686388 P1 Quickswitch sometimes jump Bug:135687556 P1 Increase assistant gesture touch region on new devices Bug:135766310 P2 Concerns over config changes during state transitions #2 Bug:135769778 P1 "System navigation changed" notification is shown during P4 setup
| * | Merge "Enable FLAG_SLIPPERY window flag when swipe down on workspace" into ↵Winson Chung2019-06-261-17/+51
| |\| | | | | | | | | | ub-launcher3-qt-dev
| | * Enable FLAG_SLIPPERY window flag when swipe down on workspaceHyunyoung Song2019-06-261-17/+51
| | | | | | | | | | | | | | | | | | | | | Bug: 131356741 Test: manual Change-Id: Ibe0e3a03e7406d5d882a1c63265d6e4e0253983e
| * | Finish recents animation when starting a new activityWinson Chung2019-06-266-21/+39
| |/ | | | | | | | | | | | | | | | | - Defer starting the activity when an activity is paused, and finish the current animation to trigger launcher to be resumed Bug: 132811175 Test: Swipe up and launch a new app Change-Id: I78b76800052512eb93f69ccf0523f4d752a82ece
| * Merge "Clean up some more refs to thumbnail data" into ub-launcher3-qt-devWinson Chung2019-06-262-4/+14
| |\
| | * Clean up some more refs to thumbnail dataWinson Chung2019-06-252-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Always return a copy of the task list to ensure that the model doesn't hold refs to the thumbnail data if it was loaded into the same task - Always clear the task thumbnail data ref once the visibility of the task view changes to be invisible Bug: 132309376 Test: Enter overview scroll to the end of the list, relaunch app and take heap dump Change-Id: I4437fd30172a5fe2a78c111f780163a1e6bbbb54
| * | Merge "Taking screenshots for local tests for FallbackRecentsTest" into ↵Vadim Tryshev2019-06-251-4/+13
| |\ \ | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | Taking screenshots for local tests for FallbackRecentsTestvadimt2019-06-251-4/+13
| | |/ | | | | | | | | | Change-Id: I604e7e90f2146069827b520d44db1854edc7aa77
| * / Enabling simple gesture navigation for 3P launcherSunny Goyal2019-06-255-2/+392
| |/ | | | | | | | | | | | | | | In case of 3P launcher, swipe-up will go to Launcher and there will be no way to reach overview. Bug: 135769778 Change-Id: Ib2c6bb1b13e6055d30b7360ec077b0a2fece66ff
| * Merge "Increasing assistant touch region based on the corner radius" into ↵TreeHugger Robot2019-06-223-18/+41
| |\ | | | | | | | | | ub-launcher3-qt-dev
| | * Increasing assistant touch region based on the corner radiusSunny Goyal2019-06-213-18/+41
| | | | | | | | | | | | | | | Bug: 135687556 Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
| * | Merge "Revert "Enable @PortraitLandscape for testBackground"" into ↵Vadim Tryshev2019-06-221-1/+1
| |\ \ | | |/ | |/| | | | ub-launcher3-qt-dev
| | * Revert "Enable @PortraitLandscape for testBackground"Vadim Tryshev2019-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit b6e2cd8546c76b328aed512c7f67bc0256b326d4. Reason for revert: b/135567630 Change-Id: I4cd87356177a141c99e3865b8794de58386d0f49
| * | Merge "Cleaning up some animation states:" into ub-launcher3-qt-devTreeHugger Robot2019-06-214-68/+75
| |\ \ | | |/ | |/|
| | * Cleaning up some animation states:Sunny Goyal2019-06-214-68/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > When running one-off animations during quickstep, cancelling prevoisly running animations. > Cancelling such one-off animations when state is reset > Preventing touch proxied from recent transition to affect quickswitch (by affecting pagedView) Bug: 135686388 Bug: 135571566 Change-Id: Id647015a583761d8fd46a02e3e2d88027e282a79
| * | Enable @PortraitLandscape for testBackgroundvadimt2019-06-211-1/+1
| |/ | | | | | | | | | | Now that Recents rotation crash is fixed Change-Id: Ibca9460e45fc533e414537f7923a2d09fc59f58a
| * Merge "Tests: waiting for nav bar to match nav mode" into ub-launcher3-qt-devVadim Tryshev2019-06-201-5/+12
| |\
| | * Tests: waiting for nav bar to match nav modevadimt2019-06-201-5/+12
| | | | | | | | | | | | Change-Id: Ib17fce4577e1e2c585108f0e95a98fad710e5eb2
| * | Fixing rounding error when computing bottom clipWinson Chung2019-06-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - In TaskThumbnailView.updateThumbnailMatrix() we compare the rounded scaled bitmap height with the height of the task/thumbnail view. Since the position is also non-integer, the rounding of the sum is not equivalent to the rounding of the individual components, which causes the check to fail. Bug: 135150767 Test: Quickswitch on sargo Change-Id: I849b4732569e5b8699f00f5ff210f41fb505f1e7
| * | Using FloatProperty for spring animation, instead of a interfaceSunny Goyal2019-06-193-16/+13
| | | | | | | | | | | | | | | | | | to allow easier generalization of animation definitions Change-Id: I37b1a604003ec007aa390eabdfe8c1ab733b7471
| * | Merge "Some improvements to home to overview transition for 0 button mode" ↵Sunny Goyal2019-06-197-31/+115
| |\ \ | | | | | | | | | | | | into ub-launcher3-qt-dev
| | * | Some improvements to home to overview transition for 0 button modeTony Wickham2019-06-197-31/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Peek in overview further, and with more overshoot - Fade out and scale down workspace faster while swiping up - Scale and translate workspace slower when letting go to enter overview (so it doesn't zoom out at warp speed) - Fade in all apps shelf sooner Bug: 132455160 Change-Id: Ieafad0ccf9bb587889bc35d536627661db10e358
| * | | Merge "Trigger heap dump when heap exceeds a limit" into ub-launcher3-qt-devWinson Chung2019-06-191-0/+13
| |\ \ \ | | |/ / | |/| |
| | * | Trigger heap dump when heap exceeds a limitWinson Chung2019-06-191-0/+13
| | | | | | | | | | | | | | | | | | | | Bug: 135150619 Change-Id: I2b207bed1f66407f573abeae879aae34e98741bd
| * | | Merge "Allow shallow-angle flings in AssistantTouchConsumer" into ↵Miranda Kephart2019-06-191-38/+43
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | Allow shallow-angle flings in AssistantTouchConsumerMiranda Kephart2019-06-191-38/+43
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While any angle above 22 degrees from horizontal is permitted for drag invocations, the SwipeDetector used to detect flings only allowed angles within 45 degrees of vertical. This changes to using GestureListener and permits flings in the 22-45 degree region (as well as up to vertical). Test: manual Bug: 135011207 Change-Id: I8e08650395917341869b27ff381f32268fadcb3c
| * | | Merge "Fix bug where recents animation is out of sync." into ub-launcher3-qt-devTreeHugger Robot2019-06-191-3/+5
| |\ \ \ | | |_|/ | |/| |
| | * | Fix bug where recents animation is out of sync.Jon Miranda2019-06-121-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is caused by recent change where we animate RecentsView instead of the individual tasks when we are launching the center task. The fix is to not apply scale/translation to the individual tasks when we are launching the center task. Bug: 133450867 Change-Id: I463b5819c6c253001752c3dafdbd61009deba8b4
| * | | Merge "Fix bugs with hotseat in overview" into ub-launcher3-qt-devTony Wickham2019-06-185-2/+39
| |\ \ \ | | |_|/ | |/| |
| | * | Fix bugs with hotseat in overviewTony2019-06-185-2/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Allow touches to go through recents to the hotseat. - Translate the hotseat with the all apps shelf when swiping up in background app state. Bug: 135222111 Change-Id: Ib887fc25ccfeb406a44074198c11f7b1d245443c
| * | | Merge "Add QuickstepProcessInitializer back to common src" into ↵Rajeev Kumar2019-06-181-0/+0
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | Add QuickstepProcessInitializer back to common srcKevin2019-06-171-0/+0
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While removing unused files in Go version of quickstep, I removed QuickstepProcessInitializer which seemed unused but is actually initialized as a resource based ovverride. This CL puts it back as common src so that both Launcher3GoIconRecents and the rest of the variants all use this class. Bug: 135472635 Test: Run Launcher3GoIconRecents => no exception Test: Run Launcher3 => no exception Change-Id: I56f319bac536ec4da96285fab932fe574afa4520
| * / / Adding check for no default home before registering new receiverWinson Chung2019-06-181-1/+5
| |/ / | | | | | | | | | | | | | | | Bug: 135473571 Test: Manual, try restarting with no default launcher set? Change-Id: Ibb68070ee95ca856b38a74823bcbfbc7890f329e