summaryrefslogtreecommitdiffstats
path: root/quickstep/recents_ui_overrides
Commit message (Collapse)AuthorAgeFilesLines
* 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 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-286-1/+20
|\ | | | | | | | | | | | | | | 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
| * Resetting UI state when the last has launched from LauncherSunny Goyal2019-06-281-0/+2
| | | | | | | | | | Bug: 135038270 Change-Id: I4a563116d8c7715163671dfffdfcf0f886e21623
| * Merge "Resetting UI state when the last has launched" into ub-launcher3-qt-devTreeHugger Robot2019-06-284-0/+16
| |\
| | * Resetting UI state when the last has launchedSunny Goyal2019-06-284-0/+16
| | | | | | | | | | | | | | | Bug: 135038270 Change-Id: Ie0af9c7d47f69b32caedd72f98ed1706bdbef5fa
| * | Fixing accessibility arrowSunny Goyal2019-06-271-1/+2
| |/ | | | | | | | | | | | | | | > 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-2623-237/+702
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Finish recents animation when starting a new activityWinson Chung2019-06-265-20/+38
| | | | | | | | | | | | | | | | | | - 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-261-3/+3
| |\
| | * Clean up some more refs to thumbnail dataWinson Chung2019-06-251-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
| * | Enabling simple gesture navigation for 3P launcherSunny Goyal2019-06-254-1/+366
| |/ | | | | | | | | | | | | | | 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
| * Increasing assistant touch region based on the corner radiusSunny Goyal2019-06-212-17/+39
| | | | | | | | | | Bug: 135687556 Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
| * 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
| * Using FloatProperty for spring animation, instead of a interfaceSunny Goyal2019-06-193-16/+13
| | | | | | | | | | | | to allow easier generalization of animation definitions Change-Id: I37b1a604003ec007aa390eabdfe8c1ab733b7471
| * Some improvements to home to overview transition for 0 button modeTony Wickham2019-06-194-27/+90
| | | | | | | | | | | | | | | | | | | | | | - 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 "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
| * | | Add QuickstepProcessInitializer back to common srcKevin2019-06-171-54/+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
| * | TaskThumbnailView - post updates to overlays.Zak Cohen2019-06-171-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Post the update of the overlay to handler. No way of knowing if an overlay will add / remove views during the update so assume its not safe to do in layout. Bug: 135287203 Test: manual Change-Id: I7bd0c86da096e7108b71b2d0530e99ee950d6f2e
* | | Merging ub-launcher3-qt-dev, build 5662436Sunny Goyal2019-06-176-124/+257
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:109954539 P4 Clock widget is not adaptively changing color based on wallpaper Bug:122345781 P1 Inflation happens and a binder call during swipe up gesture, that may cause jank Bug:130687624 P1 [B1C1][B4S4][QT][CTS-Verifier]OTHER-Screen Pinning Test Bug:131698448 P2 Launcher makes a binder call to check Keygaurd.isDeviceLocked Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress Bug:132906035 P1 [Metrics] add Home / Back button events even when Launcher is in the background Bug:132915522 P1 Snap the window to the bottom if touch Y is below a threshold 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:134172603 P1 Tracing for lab-only flakes Bug:135130011 P1 16ms delay when opening app due to dynamic icon loading Bug:135214165 P1 Quickstep slop do not respect density changes Bug:135257548 P1 Adding shortcut can crash Launcher Bug:64712476 P3 Import translations for dev branches Change-Id: I9af1d8260b45fba32841877d88bad5a53f2e5746
| * | Snap window in Y direction when using quickswitchSunny Goyal2019-06-141-27/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if the y threshold is not crossed Also updating various touch thresholds to properly respect density changes Bug: 135214165 Bug: 132915522 Change-Id: Ifba371afd0c20790390a3bd37065cd7162d128df
| * | Always use the locked input consumer when showing activity over lockscreenWinson Chung2019-06-131-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - When there is no activity over the lockscreen, the validSysuiFlags check already prevents falling into the base input consumer creation logic. Bug: 131698448 Change-Id: I7154bc08db819574b78d375e3f9a36e610466dbc
| * | Merge "Optimizing some layouts in taskview" into ub-launcher3-qt-devTreeHugger Robot2019-06-134-88/+220
| |\ \
| | * | Optimizing some layouts in taskviewSunny Goyal2019-06-134-88/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Recycling DigitalWellBeingToast so that the view is not inflated everytime > Simplifying DigitalWellBeingToast to use a single text view > Adding support for footers in taskView without creating additional layout Bug: 122345781 Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
| * | | Fix issue with screen pinning check not apply in 2 buttonWinson Chung2019-06-131-0/+4
| |/ / | | | | | | | | | | | | | | | Bug: 130687624 Test: Ensure you can't swipe up with screen pinning enabled in 2 button Change-Id: I6635a9639262a4e96a104960eb5fbb3acaba8af7
* | | Merging ub-launcher3-qt-dev, build 5656472Sunny Goyal2019-06-1318-140/+341
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Bug:125844074 P2 Final UX and animations for Launcher DWB integration Bug:129985827 P1 [Fully Gestural Navigation] Delay Recents animation when swiping up Bug:131360075 P1 [Gesture Nav] Polish/finish landscape Bug:132900132 P1 Apparently, tests start running while provisioning is still in progress Bug:133009122 P2 Rare flake: dragged launchable to workspace, but the current state is not WORKSPACE; Can't find a launcher object; selector: BySelector [RES='\Qcom.google.android.apps.nexuslauncher:id/apps_view\E'] Bug:133443741 P2 Provide a ImageApi.cropBitmap API between Launcher/UI library 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:134091263 P1 Can't swipe up Bug:134164918 P1 STOPSHIP: Disable chips hard-coded value in qt_dev Launcher Bug:134309036 P1 Immediately dragging up after opening recents causes a flicker with fully gestural navigation enabled Bug:134309189 P1 Immediately dragging up from recents doesn't open all apps with fully gestural navigation enabled Bug:134406364 P2 [Multiuser] Pixel launcher crashed after switching to secondary user. Bug:134559760 P2 Launcher crashed when keeping phone in face enroll page for 2~3 minutes. (fail rate: 3 of 10 trials) Bug:134707989 P1 List widgets are reinitialized on rotation Bug:134725160 P2 Swiping up on two-button nav does not hide icons with 3p launcher Bug:134919468 P2 [Q-Preview4] Quickstep crash on app remaining time tap on Essential phone Bug:134963243 P4 In multiwindow mode, seeing a shade on scrolling all apps screen. Bug:134964922 P1 Wrap createLegacyIconExtras in a target sdk check Bug:134969824 P4 Pixel launcher crashed while resuming chrome video in PIP mode Bug:134971634 P1 onSystemUiStateChanged and some other binder calls can crash Launcher Bug:135008910 P1 Launcher with black status bar/nav bar icons Bug:135038270 P1 Apps getting stuck while switching in the overiew screen. Bug:135050372 P1 Regression: Can no longer double swipe nav bar from an app to go to all apps in 2-button mode Bug:135114549 P1 TaskView becomes visible at the end to swipe-down Bug:issue priority summary Change-Id: Ief4ecb36f17e168cdeb7aef930bcb051e29dbc02
| * | Merge "Gracefully handle failed task launches during quick switch" into ↵Tony Wickham2019-06-124-2/+36
| |\ \ | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | Gracefully handle failed task launches during quick switchTony Wickham2019-06-124-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When quick switching from home or overview, go to OverviewState if the task launch failed. Otherwise we get stuck in BackgroundAppState. Bug: 135038270 Change-Id: I42785c261cef0df95666bc106ec5ca6ef0553cc7
| * | | Merge "Expose getTaskView to Overlays." into ub-launcher3-qt-devTreeHugger Robot2019-06-122-2/+3
| |\ \ \
| | * | | Expose getTaskView to Overlays.Zak Cohen2019-06-122-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Test: Manual Change-Id: Ie8583606e65f9a77536de4a7cbd1aa3d88e81e1e
| * | | | Fading out the home surface if home and recents are shown in separate surfaceSunny Goyal2019-06-121-1/+5
| |/ / / | | | | | | | | | | | | | | | | Bug: 134725160 Change-Id: Ia4c5e0eefc4d8b869840645f403d943831c471f1
| * | | Merge "Resetting taskView alpha to proper value onAnimationEnd" into ↵TreeHugger Robot2019-06-122-3/+9
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | Resetting taskView alpha to proper value onAnimationEndSunny Goyal2019-06-122-3/+9
| | | |/ | | |/| | | | | | | | | | | | | Bug: 135114549 Change-Id: I4effc4c9d8e6c03e41c8f06c441477076ce7a622
| * | | Merge "Initializing ActivityManagerWrapper before device unlock" into ↵TreeHugger Robot2019-06-121-1/+1
| |\ \ \ | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | Initializing ActivityManagerWrapper before device unlockSunny Goyal2019-06-121-1/+1
| | |/ / | | | | | | | | | | | | | | | | Bug: 134406364 Change-Id: I30339c3790efeaa60db7ea3cbae76d97474c16cc
| * | | Merge "Removing unused method" into ub-launcher3-qt-devTreeHugger Robot2019-06-121-10/+0
| |\ \ \
| | * | | Removing unused methodSunny Goyal2019-06-071-10/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: I25016d58b130e99c8983af48fde32e05bf6c66b1
| * | | | Merge "Bypass systemstate check when using shared state" into ↵TreeHugger Robot2019-06-126-39/+121
| |\ \ \ \ | | | | | | | | | | | | | | | | | | ub-launcher3-qt-dev
| | * | | | Bypass systemstate check when using shared stateSunny Goyal2019-06-126-39/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System state can change using the interaction, for eg: an app can enter immersive mode in the middle of quickswitch. Ignore such changes to prevent system gestures getting blocked by an app > Fixing nullpointer in device locked consumer construction when user is not locked yet > Creating a fallback resetGesture input consumer, which cancels any pending transition in case we missed to cancel it Bug: 134091263 Bug: 134406364 Change-Id: Iafc4e53691f50862b013ad9c4023839044cf1d72
| * | | | | Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-devTony Wickham2019-06-122-4/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix double swipe on nav bar from an app Fix state/anim clobbering when touching down during recents animation
| | * | | | | Fix double swipe on nav bar from an appTony Wickham2019-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use normal OverviewInputConsumer instead of OverviewWithoutFocusInputConsumer if we are animating to launcher. This allows launcher to properly handle a second swipe in the nav region. Test: enable 2-button mode, double swipe up on nav bar to all apps Bug: 135050372 Change-Id: I0b96f6236bed4f9ac3284a921e4259e1b0d00c75