summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/allapps/AllAppsTransitionController.java
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Agressively change the color of the the all apps background during ↵Hyunyoung Song2016-09-301-3/+9
|\ | | | | | | pull up b/30502942" into ub-launcher3-calgary-polish
| * Agressively change the color of the the all apps background during pull upHyunyoung Song2016-09-301-3/+9
| | | | | | | | | | | | b/30502942 Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
* | Some minor fixes for extracted status bar.Tony Wickham2016-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | - setLightStatusBar() is now updateStatusBar(), with a forceLight parameter. We set the status bar to be light if forceLight or shouldBeLightStatusBar() (based on wallpaper). - Force status bar to be light if all apps is open. - Default to dark status bar, not light (light == dark icons) Bug: 29452834 Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
* | Enable light status bar when top of wallpaper is light.Tony Wickham2016-09-281-18/+4
|/ | | | | | | (Light status bar = dark icons) Bug: 29452834 Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
* Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-221-4/+3
|\ | | | | | | | | | | am: 0a9c092c89 Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
| * Fixing two critical bugs in all apps transition controllerHyunyoung Song2016-09-201-4/+3
| | | | | | | | | | | | | | | | | | | | bug#1: if long press from page indicator region, you can pull up all apps even though the workspace is in overview state. bug#2: all apps should not intercept touch not only in overview mode but also in any modal state. Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
* | Use ContextCompat.getColor to support API levels below 23.Jon Miranda2016-09-151-1/+2
|/ | | | | | Found while debugging on Lollipop. Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
* Merge "Pull down should work on search box, even if all apps scroll is not ↵Hyunyoung Song2016-08-051-1/+1
|\ | | | | | | at top. b/30295305" into ub-launcher3-calgary
| * Pull down should work on search box, even if all apps scroll is not at top.Hyunyoung Song2016-08-051-1/+1
| | | | | | | | | | | | b/30295305 Change-Id: I38bbe47d6e33929c550930c9f157c58fbea203ef
* | Merge "Fix hotseat flicker when opened all apps in landscape, rotate screen, ↵Hyunyoung Song2016-08-051-2/+2
|\ \ | |/ |/| | | pull down" into ub-launcher3-calgary
| * Fix hotseat flicker when opened all apps in landscape, rotate screen, pull downHyunyoung Song2016-08-041-2/+2
| | | | | | | | | | | | b/30595452 Change-Id: Ib634ffbc509c6b16ac58c184ccbca15ae936be14
* | Merge "Change interpolation logic to all apps transitioning on fling ↵Hyunyoung Song2016-08-031-13/+47
|\ \ | | | | | | | | | b/30486958" into ub-launcher3-calgary
| * | Change interpolation logic to all apps transitioning on flingHyunyoung Song2016-08-031-13/+47
| |/ | | | | | | | | | | | | | | b/30486958 Cleaning up/refactoring this CL will be done in polish branch. Change-Id: Ib51633a1e1cb79f58b505f835053ef238ae1bdec
* | Merge "Fix disco bounce crash b/30413641" into ub-launcher3-calgaryHyunyoung Song2016-08-031-0/+3
|\ \
| * | Fix disco bounce crashHyunyoung Song2016-08-031-0/+3
| |/ | | | | | | | | | | b/30413641 Change-Id: Icb2f3f11024daa78c3f59cab8c773091b9481feb
* / Simpler caretPeter Schiller2016-08-021-63/+7
|/ | | | | Bug: 30527159 Change-Id: I674de149e613c7adb567a13a288baa9877d36112
* Add container velocity for all apps to be used by the caretHyunyoung Song2016-08-021-6/+14
| | | | Change-Id: I03479d53eb7203ab4a0515e2bf68b917dfb81f23
* Responsive caret drawableHyunyoung Song2016-07-281-23/+51
| | | | Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
* Remove two redundant layout pass in AllAppsTransitionController.Hyunyoung Song2016-07-271-7/+7
| | | | Change-Id: I48d043820db962c58e97a09d7888303c1d5bf4ad
* Change default animation duration for all apps open and close.Hyunyoung Song2016-07-271-3/+14
| | | | | | > Also set different interpolator for all apps opening clicking the caret Change-Id: I7f9b764a8bf8bb7c38d94acbd964e912f22d6941
* AllAppsTransitionController always use LauncherStateTransitionAnimationHyunyoung Song2016-07-271-26/+10
| | | | | | b/30375760 Change-Id: Iee2f8060e4d272d276ddd5d40b4bc6053e8c7778
* Animate discovery bounce for all apps pull up interactionHyunyoung Song2016-07-211-56/+101
| | | | | | | | | | | b/30221381 > Will not support landscape case. If the user knows how to enable rotation, it's very unlikely they don't know how to bring up apps drawer > If unlocked using finger unlock immediately after screen is turned off, bounce is not shown due to delay in ACTION_SCREEN_OFF broadcast Change-Id: Ia8b7e572eaa4aeab8b1add1e5660fee3a63ba21c
* Add user event log for deep shortcuts and all apps opening interaction.Hyunyoung Song2016-07-211-0/+9
| | | | | | b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
* Initial changes to tweak layout.Winson2016-07-201-6/+6
| | | | | | | | | | | | | | | - Adding DeviceProfile callback for when the launcher layout changes due to insets. This is necessary since there are now different layouts depending on which side the navigation bar is on - Consolidating hotseat and other layout into the device profile launcher layout logic - Making the all apps icons match the workspace icon height - Tweaking caret drawable to draw to the bounds specified to simplify layout in each orientation - Fixing minor issue with page indicator shifting in landscape - Centering overview buttons to the workspace page Bug: 30021487 Change-Id: I1866bce00b2948f3edd06168c0f88d81207e3f13
* Remove caret in overview modePeter Schiller2016-07-191-1/+0
| | | | | Bug: 30162951 Change-Id: I71f585e4ae6dfba9dc1d18cd00e45d081cabd4b3
* Support gray hotseat background in all apps transitionHyunyoung Song2016-07-181-8/+12
| | | | | | b/30201515 Change-Id: Ie4b8442ac804b4df94e9673608129e6ffc0c3360
* Adding stateful caret drawablePeter Schiller2016-07-141-4/+38
| | | | Change-Id: Iba30da09f882297f789c405f932fef10617bba89
* Format fixes on AllAppsTransitionController and VerticalPullDetectorHyunyoung Song2016-07-141-25/+31
| | | | Change-Id: Id1570284da7b69a4d768fe41980ca0522433b6c2
* Moving the QSB out of the cell layout to the Drag layerSunny Goyal2016-07-131-1/+1
| | | | | | | | This allows better edge matching for the QSB. The QSB position is kept synchronized with the page scroll and all-apps transition. But its not visible in spring loaded and overview mode Change-Id: I4e6723607ea966ee672273a9ca67c792fd6b5661
* Fix all apps becoming clipped when screen is rotated with all apps opened.Hyunyoung Song2016-07-121-2/+2
| | | | | | b/30040068 Change-Id: I5e89a82310fddd5aa89a8f5d855b2efa526f8244
* Do not remove onLayoutChangeListener on hotseat inside ↵Hyunyoung Song2016-07-071-4/+5
| | | | | | AllAppsTransitionController Change-Id: I883660906b5bf59035f0382e6a448c6992a58a0c
* Second workspace page icons should not show up when all apps is shown in ↵Hyunyoung Song2016-07-061-3/+3
| | | | | | | | | | | landscape. b/29931405 > Also some method names to setTranslation -> setTranslationAndAlpha to match its implementation. Change-Id: Icb6ec5df8a267a9024803c70a694ea9b76e5e34d
* Remove relayoutsHyunyoung Song2016-07-011-0/+1
| | | | | | | | | | | | b/29945805 > Workspace relayout occurs when window flag is set to change the status bar. This should not cause AllAppsTransitionController to be initialized. > Setting/Unsetting background drawables on the hotseat also causes unnecessary layout. Fix this issue. Change-Id: I73a3bfd3eb4bc34cf6760ffbd9826e3fef867056
* Merge "Get rid of CATCH state in verticalpulldetector" into ub-launcher3-calgaryHyunyoung Song2016-07-011-17/+19
|\
| * Get rid of CATCH state in verticalpulldetectorHyunyoung Song2016-06-301-17/+19
| | | | | | | | | | | | | | | | > There was a bug regarding mLastDisplacement not being cleared out, which caused a jump of the all apps container. > Also as a cleanup, got rid of the CATCH state. Change-Id: Iae9af0be04cce15f2ba4e6734d1615f879921e5d
* | Updating all apps to match specPeter Schiller2016-06-301-0/+1
|/ | | | Change-Id: Ie351fdea2e3b05ca911e6533f0c5d00c17e0847c
* Code cleanup/ Move OnLayoutChangedListener to class level.Hyunyoung Song2016-06-291-14/+16
| | | | Change-Id: Ifd3c7b86f61648407c8c93da9ec6d038aa996c0a
* Merge "Make very first pull up should always work" into ub-launcher3-calgaryHyunyoung Song2016-06-301-22/+16
|\
| * Make very first pull up should always workHyunyoung Song2016-06-291-22/+16
| | | | | | | | | | | | | | > Also delete unnecessary code. > Fix a bug where the container doesn't snap to the top and bottom. Change-Id: If820e9fae03d060e53ac028f8e8d827c90b354fc
* | Remove SYSTEM_UI_FLAG_LIGHT_NAV_BAR flag bit from systemUiVisibility callHyunyoung Song2016-06-291-6/+2
|/ | | | Change-Id: Idf360a3580eff2ef873e7e0c20eb5ee2355d9be7
* Merge "All apps icons should become clickable" into ub-launcher3-calgaryHyunyoung Song2016-06-281-5/+0
|\
| * All apps icons should become clickableHyunyoung Song2016-06-281-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b/29761088 b/29610290 > Workspace transition state was not being properly set which caused onClick to not allow apps to launch. Temporary solution: do not call the onLauncherTransitionPrepare inside AllAppsTransitionController. > Fixing another important bug which doesn't properly set workspace state to correct alpha value because hotseat background drawable is null when home is triggered from settings app after wallpaper is changed. The color extractor has not figured out how hotseat drawable color should be set to immediately after wallpaper change. Change-Id: I9f797dbda6c73c71816e5070ed4da37099b26a6d
* | Merge "Extend all apps pull up activation area to page indicator view ↵Hyunyoung Song2016-06-281-1/+3
|\ \ | | | | | | | | | b/29752599" into ub-launcher3-calgary
| * | Extend all apps pull up activation area to page indicator viewHyunyoung Song2016-06-271-1/+3
| |/ | | | | | | | | | | | | b/29752599 Change-Id: I3ee5efefa98defbc8f386895753946efe79708b4 Background: page indicator's background is where the caret symbol is.
* | Prevent all apps transition NPEHyunyoung Song2016-06-281-1/+5
| | | | | | | | | | | | | | | | | | b/29643291 b/29642263 > Also do not change status bar when landscape mode Change-Id: I1e44af8e031856a50a7413ad297c437245e8b2aa
* | Invert nav bar to light when status bar changes in all apps.Hyunyoung Song2016-06-271-2/+6
|/ | | | Change-Id: I48acf2f20cd3e265e2f84bfa412d3d233cb76a01
* Revert "Cancel animation whenever MotionEvent.ACTION_DOWN is detected"Hyunyoung Song2016-06-271-3/+1
| | | | | | This reverts commit 4325a56f5359a83164692ae6109d6463f792bf13. Change-Id: If49a4e169b9dad1e833a7d075d67904ef0b671c5
* Cancel animation whenever MotionEvent.ACTION_DOWN is detectedHyunyoung Song2016-06-271-1/+3
| | | | Change-Id: I130d05907068ecbec12e09207c7ca2e171e90926
* All apps pull up workHyunyoung Song2016-06-211-94/+148
| | | | | | | | | | | | | | | | b/28917826 b/29469966 b/29542376 - Move state transition to when the finger is lifted and not when the view settles. - Refactor the vertical pull detector to use bit operation to define which direction scroll to allow. - Fixed many issues regarding screen rotation - Fixes issue where slowly sliding the all apps goes into overview mode - Fixes issue where quick slide up leads to animation starting from middle Change-Id: I2384a0fcc5550e17359a044ef506bcc66507da5f
* Merge "Maintaining separate alpha for x and y translations" into ↵Sunny Goyal2016-06-211-2/+3
|\ | | | | | | ub-launcher3-calgary