summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/pageindicators
Commit message (Collapse)AuthorAgeFilesLines
* Simplifying some launcher themesSunny Goyal2017-02-162-4/+7
| | | | | | | > Replacing some colors with theme attributes > Simplifying styles definition by removing unnecessary inheritance and inlining some definitions Change-Id: Ifa167515cae6a7fd3720f1a52ff9ce11abb4495f
* Bug fix: QSB sometimes gets stuck to transparent.Sunny Goyal2016-11-241-14/+22
| | | | | | | | | | | | | | | | | | At some places, we were calling removeAllListeners before calling cancel on an animation. AnimationListeners are also used to track states, and removing listeners before canceling will prevent onAnimationEnd to be called, thus preventing state cleanup. PinchAnimationManager was causing ZeroAlphaAnimatorListener to be removing from Qsb alpha animation, making the MultiStateAlphaController think there is a zeroAlpha animation running. > Removing all instances of removeAllListeners > Updating various affected listeners to handle onAnimatinoCancel > Fixing WorkspaceStateTransitionAnimation, which was animation QSB alpha on page scroll index Bug: 31910152 Change-Id: Ie7f31b67d4c502badcdd41f7b04867d1f35f5d27
* resolve merge conflicts of 2fd0208 to ub-launcher3-masterTony Wickham2016-10-122-2/+2
|\ | | | | | | Change-Id: I20ad6eaace81786be080e28d6eb551908add6d90
| * Use Launcher.getLauncher(Context) instead of type-casting.Tony2016-10-072-2/+2
| | | | | | | | | | Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
* | Set correct accessibility delegate for the overview mode. b/32004538Hyunyoung Song2016-10-071-0/+5
|\ \ | | | | | | | | | | | | | | | am: eb205af09f Change-Id: I065a438600dbdd42faf0216ba657ac3ac7935947
| * | Set correct accessibility delegate for the overview mode.Hyunyoung Song2016-10-071-0/+5
| |/ | | | | | | | | | | b/32004538 Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
| * Merge "Set contentDescription on caret" into ub-launcher3-calgary-polishHyunyoung Song2016-09-151-0/+5
| |\
* | | Fix page indicator bug where it gets stuck as a blue line.Jon Miranda2016-10-051-11/+14
| | | | | | | | | | | | | | | Bug: 31909035 Change-Id: I4cdda057807476c1c5ec454fd17dbfa9f0ed5111
* | | Set contentDescription on caretHyunyoung Song2016-09-151-0/+5
|\ \ \ | |/ / |/| / | |/ | | | | am: c5afad6eb9 Change-Id: Ibea35c8fe58d7db0bcbddb41ae6e24ef7804dde0
| * Set contentDescription on caretHyunyoung Song2016-09-151-0/+5
| | | | | | | | Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448
* | Fix bug where page indicator animation repeats itself.Jon Miranda2016-09-151-5/+0
|/ | | | | Bug: 31501865 Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
* Change all apps caret target bounding boxHyunyoung Song2016-09-073-40/+28
| | | | | | | | | | | | | | b/30400751 1) This also fixes the issue of apps drawer sliding up when page is swiped horizontally immediately above the hotseat area. 2) Disclaimer: this should be cp'ed to calgary. Hence, I tried to keep the diff small. Ideally, CaretDrawable animation handling should move to AllAppsHandleImageView via refactoring in follow up CL. Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
* Responsive caret drawableHyunyoung Song2016-07-281-11/+36
| | | | Change-Id: I9d40052d001c80d99db511af6134227f8e4e4239
* Merge "Adding TransformingTouchDelegate to allow transforming touch events ↵Sunny Goyal2016-07-261-5/+10
|\ | | | | | | before sending to the delegate." into ub-launcher3-calgary
| * Adding TransformingTouchDelegate to allow transforming touch events beforeSunny Goyal2016-07-171-5/+10
| | | | | | | | | | | | sending to the delegate. Change-Id: I1dfb727fe433bed05dd5ac3d0f779ede4ec1d292
* | Long press on the caret should start search on all apps containerHyunyoung Song2016-07-222-0/+2
| | | | | | | | Change-Id: I87e6b8a9b43bf8a84bcf4d39302bc5c6f6a5f3fd
* | Fixing small regressions from layout tweaksWinson2016-07-201-1/+2
| | | | | | | | | | | | | | | | | | - Ensure that the caret is the right height - Ensure that the workspace page spacing matches the workspace padding, but just offscreen Bug: 30021487 Change-Id: Iaf4b33db0f6456b74986638fb6b6af78fc6e1859
* | Caret background protectionPeter Schiller2016-07-201-14/+29
| | | | | | | | Change-Id: I5f902a3977677e7848932a6a60992a62f1638e39
* | Initial changes to tweak layout.Winson2016-07-203-26/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-2/+7
|/ | | | | Bug: 30162951 Change-Id: I71f585e4ae6dfba9dc1d18cd00e45d081cabd4b3
* Fixing page indicator being drawn at wrong positionSunny Goyal2016-07-151-1/+1
| | | | | Bug: 29640885 Change-Id: I935e22174554447ddcb5e0a8eb6e2c78a3d5fdfb
* Adding stateful caret drawablePeter Schiller2016-07-144-16/+129
| | | | Change-Id: Iba30da09f882297f789c405f932fef10617bba89
* Update Launcher to use theme colors.Andrew Sapperstein2016-06-201-1/+1
| | | | | | | | | | | | | | | | | | | Instead of using hard-coded variants of colors, use the theme color that corresponds (colorAccent, colorPrimary, etc). Updated: - "Search for more apps" text - App info drop target hover color - PageIndicatorDots - All apps & widget scroll bar & scroll popup colors - All apps section text color - widget picker background color TODO: - widget picker header color BUG: 28625102 Change-Id: I74b543ff71b8caef8cd950c8183ac84c759cb4d5
* Fix the build.Hyunyoung Song2016-06-151-1/+1
| | | | Change-Id: I7cdfd2b276b53dbeb1d639a967753d0cc9d45d84
* Add caret shaped all app pull up handle to page indicator.Hyunyoung Song2016-06-153-21/+152
| | | | | | | | | b/28917826 > PageIndicator is also added in landscape > Touch delegate allows the active touch area to be 36dp Change-Id: If00f45fc88a13cd5a6759d771313439eb58561e3
* When the active page changes, simulate a scroll change.Sunny Goyal2016-06-081-3/+9
| | | | | | | | | This prevents the animation progess from going out of sync of the active page, when the active page changes before the total number of pages change Bug: 29113836 Change-Id: I2b12ea29d64dc98d773e6060de4b655d3f975b5a
* Animate size and position of page indicator when adding/removing pageTony Wickham2016-06-011-25/+97
| | | | Change-Id: I85f37a4e0aeb8c3fd0bd8da3b90338d0333a84d5
* Only show workspace page indicator when scrolling or in spring-loaded mode.Tony Wickham2016-05-311-5/+20
| | | | | | | - Stop showing indicator when resuming or ending transitions. - In spring-loaded mode, prevent page indicator from auto-hiding. Change-Id: I87070d2d8f46cf491e60380aed5540196f2fbba3
* Making page indicator an abstract class and implementing some common methods.Sunny Goyal2016-05-203-50/+34
| | | | Change-Id: I06613428c54f1f086090580db8242cf81f7fb128
* Updating the folder page indicator to be more like theSunny Goyal2016-05-184-297/+283
| | | | | | | | | framework page indicator (used in quick settings) The active page is indicated with the accent color. During scroll the active indicator expands to 2 dots corresponding to the visible pages. Change-Id: Iaf57836b642cf87e5eed98048ecca7dd8e7643a4
* Add PageIndicator interface and custom PageIndicatorLine view.Tony Wickham2016-05-174-0/+548
- The current PageIndicator has been renamed to PageIndicatorDots and PageIndicatorMarker has been renamed to PageIndicatorDot. - PageIndicatorDots and PageIndicatorLine implement PageIndicator. - PageIndicatorLine uses scroll progress and number of pages to draw a line of the correct size and position. - All of these page indicator files are now in a pageindicators package. Bug: 27227498 Change-Id: I9230d2e0600ce583989bd31d0b0e252b148d15c2