summaryrefslogtreecommitdiffstats
path: root/quickstep/res
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-10.0.0_r31' into HEADLuca Stefani2020-03-073-2/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android 10.0.0 release 31 * tag 'android-10.0.0_r31': (218 commits) Increase drag distance threshold when drag starts from deep press Fix shortcut componentname in workspace layout logging Fix shortcut componentname in workspace layout logging perform accessbility focus when the recyclerview doesn't gain focus after fragment replacement in SettingsActivity Persist predicted items when dragged to workspace Import translations. DO NOT MERGE Import translations. DO NOT MERGE Align badging logic with platform IconDrawableFactory. Fix bug where icon remains invisible after returning home. Fix quick switch from home biased towards returning home Fix recents scale sometimes lagging behind window scale Fix folder open/close animation when grid size is small. fix custom shortcut test Improve quick switch from home by tracking both x and y motion Move shelf peeking anim code to ShelfPeekAnim class Fix folder available height calculation Tapl: AllApps: ensuring a minimal vertical size of an icon Enable a11y scrolling with item drag disable custom shortcut test in oop include predicted_rank in app launch logging ... Change-Id: Id824c350cd133c4c8fa91de0f8793faed9003393
| * include predicted_rank in app launch loggingPinyao Ting2019-11-131-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Test: 1. . build/envsetup.sh && tapas NexusLauncher 2. ccdebug && cclogcat 3. launch from workspace any app that is also in predicted apps 4. verify in terminal it has correct predicted_rank Bug: 143855018 Change-Id: I07a62f07057537a6c09384cf944bbc5aa5888d22 Merged-In: I07a62f07057537a6c09384cf944bbc5aa5888d22
| * Import translations. DO NOT MERGEBill Yi2019-10-112-0/+74
| | | | | | | | | | Change-Id: I2ce1448b6a7ee5cb455a2fc044336c37e03093aa Auto-generated-cl: translation import
* | Change app name to TrebuchetJoey2019-12-121-2/+2
|/ | | | | | | Squash of commits 224af31 and 23817f7. Change-Id: I7ccdab88f40a3c8a2075265a45dfe70e824d9f00 Signed-off-by: Joey <joey@lineageos.org>
* Add distance threshold for assistant gesture flingMiranda Kephart2019-08-081-0/+1
| | | | | | | | | | | | It was possible to invoke the assistant accidentally. This change adds a minimum distance threshold before we register a fling (the same distance as used for drag, 55dp). Bug: 137106918 Test: manual; tested that accidental flings were much more difficult, but intentional invocations were still easy to register Change-Id: I40c8bd43c1a28c7b161467804a1e44746b8e92ef
* Import translations. DO NOT MERGEBill Yi2019-07-153-3/+3
| | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I249348f471abce9332ca65e07ebb9bde8c5b1d7b
* Make it a bit harder to break out of Overview once triggeredAdam Cohen2019-06-281-1/+1
| | | | Change-Id: I8814f1d7e219ba11a3abb191bf55192e3811f191
* Increasing assistant touch region based on the corner radiusSunny Goyal2019-06-211-1/+2
| | | | | Bug: 135687556 Change-Id: I86f0cf3b0e6f3cd6608eab55be6ebf56bfdddf1c
* Some improvements to home to overview transition for 0 button modeTony Wickham2019-06-191-1/+1
| | | | | | | | | | | - 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 "Import translations. DO NOT MERGE" into ub-launcher3-qt-devTreeHugger Robot2019-06-145-4/+10
|\
| * Import translations. DO NOT MERGEBill Yi2019-06-135-4/+10
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I0d9465551d819e650a05175aea087bb9e3423c96
* | Optimizing some layouts in taskviewSunny Goyal2019-06-132-44/+29
|/ | | | | | | | | > 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
* Task footer - use temporary motion for show and hide.Zak Cohen2019-06-061-0/+2
| | | | | | | Bug: 125844074 Test: manual Change-Id: I9a26760f4bd976d0c3475db1322ee0da639d8209
* Chips container - Don't hard code the height of the chips container.Zak Cohen2019-05-281-1/+1
| | | | | | | | When the container was present, but empty, it was showing it's background. Bug: 133783088 Change-Id: I97b65435d66e9ced7f5487dc50a00665794f8fcd Tested: manual
* Moving TestInformationProvider to Launcher3 so that it can be used forSunny Goyal2019-05-231-0/+2
| | | | | | | | testing Launcher3 without quickstep Also keeping the provider as disabled until needed Change-Id: Ib5f459e02ae551724b390f3b74f43d601568d749
* Adapt the task footer container to be a named container.Zak Cohen2019-05-201-1/+2
| | | | | | Bug: 126744445 Test: manual Change-Id: Id00ffac4581bbbe5dfd73a63b05c4512394745c1
* Moves proactive hints and wellness toast into a linear layout.Zak Cohen2019-05-151-35/+37
| | | | | | | | This ensures that they do not fight for the space. This is intended to be iterated upon as we find solutions to some of the technical challenges in the current POR. Change-Id: I831e8797b16f28fe2cd742c96e9b7c916abf77a5
* Add proactive hints containerPerumaal S2019-05-121-0/+10
| | | | | | | | | | | This replaces all other chips containers and causes minimal layout overhead: It is strictly within the task itself and causes zero jank or space issues. Screenshots: https://drive.google.com/corp/drive/folders/1-3ZNCJtWc9_cgmP1nNd8U1yvpCr6GGoq Test: manual Change-Id: I5e22a34c4dc1ac3e73c4d5c913befc2360cb388e
* Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-devTreeHugger Robot2019-05-1080-0/+240
|\
| * Import translations. DO NOT MERGEBill Yi2019-05-0980-0/+240
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: Iee3e02b60f19e7230c327b7bfe324ba72195de01
* | Add ScreenPinnedInputConsumerTony2019-05-091-0/+1
|/ | | | | | | When screen pinning is active, swipe up and hold to stop it. Bug: 130828539 Change-Id: I343050d2a224ac723143cd3be4f78bc321f1a026
* Adding support for blocking gesture nav on a particular activitySunny Goyal2019-05-021-0/+3
| | | | | Bug: 129796627 Change-Id: I939598f62924fb113e913e0309247d8a2088bf8a
* Move logic that overrides MotionPauseDetector to callersTony2019-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | There are 2 conditions that we force the MotionPauseDetector to treat the motion as not paused: 1. If we haven't passed a small displacement (48dp before, 36dp now) 2. If we have moved mostly orthogonally These existed soley for the OtherActivityInputConsumer case, because 1. We only need the displacement requirement to make room for the peeking shelf, which doesn't exist in other cases (it's already there on home for example) 2. We can only move orthogonally for quick switch, which again doesn't exist for other users of MotionPauseDetector. So now instead of checking min displacement and orthogonal distance inside MotionPauseDetector, we let callers setDisallowPause() before adding positions to their MotionPauseDetector. The only user visible change is that you no longer have to swipe up 48dp before we allow pause to overview from home. This also paves the way to using the same logic that determines to disallowPause to also detach recents from the window while swiping up from an app. Bug: 129985827 Change-Id: Ie690aa314da3260aff2209341a29638604f9501c
* Additional Assistant gesture tuningAdam Cohen2019-04-242-2/+2
| | | | | | | | | | | | | | | | => Using the drag slop (currently 10dp), which is the appropriate slop when comparing to the other gestures. Touch slop (which was being used for the Assistant) is only being used for gestures starting from the back button. This means that the delegate was getting triggered much too often (unfair slop competition). This prevents that. => Fixed additional bugs with the consumer delegate / sharedState; the shared state notion really only applies to the OtherActivityInputConumer, and it wasn't being propagated from the AssistantConsumer.In addition, the isActive() method is only being used as a proxy for whether or not to use the shared state, so clarified the naming. This fixes another case where touch could become completely stuck and you could no longer swipe up. => Modified the effective angle to be 90 degrees down to 20 above the horizontal. => Reduced the drag threshold to 55 dps. => Known issue: the time threshold requires motion events to be triggered. In practice, this works because the finger doesn't stay completely still, but we should add a timer to update the progress smoothly. => Removed pause detector. Change-Id: Ie23e836c6d778914594774b830c3cd2e7b94eca4
* Adding support for showing predicted apps as a floating row in all-appsSunny Goyal2019-04-231-0/+9
| | | | | | | and overview Bug: 130053407 Change-Id: Idb93a0ba6cfea8406f75ab86d9e0acde2fc04b3a
* Tune Assistant GestureAdam Cohen2019-04-182-2/+2
| | | | | | | | | | => bumping detectable region to 48 dp horizontal + vertical within corner => centering detectable angle; total 70 degrees (ie. btw 10 off the vertical and 10 off the horizontal) => pilfering touch events when slop is passed and assistant gesture is engaged => Fixing issue where we were incorrectly using “sharedState” causing incorrect handling of gestures subsequent to AssistantTouchConsumer being invoked (it was forgetting to clear it’s input state and hence reporting “active” when it wasn’t). The symptom was that gestures after the AssistantTouchConsumer would never actually move the active window even though state was being updated; you’d feel the Overview haptic. => Devices with large corner radii are still somewhat problematic as the initial touch down often lands high on the display (ie. above the 48 dp region). Change-Id: I3d5761112f4cb8b7b1eee987de5afe9aee260304
* Change default icons for launcher [3/3]Hyunyoung Song2019-04-133-3/+6
| | | | | | Bug: 126738409 Bug: 129955150 Change-Id: I9daf5bd253dc72c99ab3a466766a4d30a95d0952
* Change default icons for launcher [2/3]Hyunyoung Song2019-04-121-2/+8
| | | | | | Bug: 126738409 Bug: 129955150 Change-Id: Ia140c5d16b74e4719131aa5035313b7b27028ad1
* Removing hourglass_bottomvadimt2019-04-123-12/+1
| | | | | | | | Now that we don't show DWB toast for negative remaining time Bug: 127689526 Change-Id: I3ced3ec0da9bd7b09df9b66b4ef608e87339573f (cherry picked from commit e921bacfb8f8a5f594389d3d8e79eef58c25c139)
* TaskCornerRadius should not use dialogCornerRadius on devices not supporting ↵Hyunyoung Song2019-04-101-0/+2
| | | | | | | | rounded corners Bug: 123985787 Change-Id: I4ffe06362256d4cc83bbe34c139d71ea1f6ca92e
* Merge "Swipe up on nav bar to go home from -1 and widgets" into ↵Tony Wickham2019-04-091-0/+3
|\ | | | | | | ub-launcher3-qt-dev
| * Swipe up on nav bar to go home from -1 and widgetsTony Wickham2019-04-091-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | More specifically, any window (e.g. qsb search) or AbstractFloatingView. NavBarToHomeTouchController now implements TouchController directly instead of AbstractStateChangeTouchController, as it not only dealing with launcher states. This makes it easier to override intercept logic to handle cases like not having window focus, for example. AbstractFloatingViews can createHintCloseAnim() to play an animation hinting that it is about to be closed by swiping up. Widgets sheets use this to pull back similar to the all apps transition to home. Bug: 129976669 Change-Id: Ie157b978d9f1ee36d5fd32cea72ec02ce40878c0
* | Change task view / all apps/ widgets / folder radius to dialogCornerRadiusHyunyoung Song2019-04-093-7/+4
|/ | | | | Bug: 123985787 Change-Id: Iaa8088beb51d37dba90d57ad065f9eac0dd46270
* Peek overview on motion pause, then animate fully on touch upTony2019-03-271-1/+1
| | | | | | | | | | | | | | Add AnimationComponents.ATOMIC_OVERVIEW_PEEK_COMPONENT, and rename previous ATOMIC_COMPONENT to ATOMIC_OVERVIEW_SCALE_COMPONENT. When SWIPE_HOME is enabled: - Overview lives to the left of Workspace, which is encoded in LauncherState.NORMAL.getOverviewScaleAndTranslation(). - Create atomic animation based on ATOMIC_OVERVIEW_PEEK_COMPONENT and OVERVIEW_PEEK state when swiping and holding from home screen. Bug: 111926330 Change-Id: Iab6dbef7238dae15b3036d4b2a026b781eee6b4b
* Import translations. DO NOT MERGEBill Yi2019-03-2677-77/+0
| | | | | Change-Id: I3bfe6c1b97612ecc829e361fc70d98b9318da417 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBill Yi2019-03-235-5/+0
| | | | | Change-Id: Ibed07a95d0eb703afc04a19e9c0018944ffaf9f7 Auto-generated-cl: translation import
* Removing graying apps in Overviewvadimt2019-03-221-4/+0
| | | | | | | | | The reason is that there is no API that reports that an app is grayed. Not showing DWB toast for apps that ran over their limit because they shouldn't be in Overview. Bug: 129067053 Change-Id: Ia04e17aa85ca015b7932496ad5e730fe61b4be69
* Moved assistant gesture to cornersMatthew Ng2019-03-182-2/+6
| | | | | | | | | | | The corners will be separated with quick switch by detecting at the slop of the angle from touch down to that position. If over 30 deg then assistant will be tracked otherwise quick switch while swipe up will not be tracked at all. Test: manual Bug: 112934365 Change-Id: I6a3aeb1509d9706696a30ef1fba3ce7e3e5ec07c
* Merge "Fix some issues with MotionPauseDetector" into ub-launcher3-masterTony Wickham2019-03-051-1/+0
|\
| * Fix some issues with MotionPauseDetectorTony Wickham2019-02-271-1/+0
| | | | | | | | | | | | | | | | | | - Orthogonal displacement now checks angle instead of fixed amount - Only allow timeout when passed min primary displacement and not orthogonal displacement - Don't set timeout for !SWIPE_HOME, which should never detect pause Change-Id: I3d810831316affff138968dfc62b921b20c752c5
* | Added assistant gesture swipe up right side region on nav barMatthew Ng2019-03-011-0/+4
|/ | | | | | Bug: 112934365 Test: manual Change-Id: I467e71f13da4afba3a556fafb0bfdf01650ab4bf
* Implement fallback recents activity for GoKevin2019-02-191-31/+0
| | | | | | | | | | | | Implement recents activity for Go for when the default launcher does not have recents implemented. To do this, we factor out some common recents activity functionality from RecentsActivity and extend it to make a Go specific activity that pops in the icon recents fragment. Bug: 114136250 Test: Manual test NexusLauncher and Launcher3QuickstepGo by installing a quickstep-less launcher and setting it to default Change-Id: I936568489e8966da4a62e4b779ae660a220f2aeb
* Import translations. DO NOT MERGEBill Yi2019-02-0282-656/+328
| | | | | Change-Id: Iff9eaa06498b8641ac0225f0b9c778db8b926189 Auto-generated-cl: translation import
* Merge "Increasing char limit for string, per localization request." into ↵TreeHugger Robot2019-01-301-1/+1
|\ | | | | | | ub-launcher3-master
| * Increasing char limit for string, per localization request.vadimt2019-01-301-1/+1
| | | | | | | | | | | | Bug: 123638453 Change-Id: I40aea84f88cb91e4cd123fa0181894867c0e02f7 Tests: none
* | Merge "time_left_for_app: increasing limit" into ub-launcher3-masterTreeHugger Robot2019-01-301-1/+1
|\ \
| * | time_left_for_app: increasing limitvadimt2019-01-301-1/+1
| |/ | | | | | | | | | | Bug: 123638440 Change-Id: I20a444edfdad737206fcbcb9ab5c2b7c1d1973da Tests: emulated a string with this size
* | Merge "Make quick switch ("hook") more reliable" into ub-launcher3-masterTony Wickham2019-01-301-0/+1
|\ \
| * | Make quick switch ("hook") more reliableTony Wickham2019-01-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add max orthogonal displacement to MotionPauseDetector to avoid pausing when swiping left or right - When gesture in ambiguous between swipe up for home or swipe over for the new task, base the decision on the faster velocity component - Disable recents freescroll mode when dispatching motion from the nav bar. This way recents handles it naturally and we don't need custom logic to snap to the next page at the end of the gesture. - Fix a bug where you couldn't hook to start a new task when SWIPE_HOME was disabled Bug: 111926330 Change-Id: If63aa2bb32b57c3f401c5df8b3f6f4efec97b1fa
* | | Merge "Adding dismiss-all method" into ub-launcher3-masterTreeHugger Robot2019-01-301-0/+1
|\ \ \ | |_|/ |/| |