mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 07:46:55 +00:00
Simplifying some page indicator dots attributes so that it can
be easily modularized > Moving the color configuration to xml > Moving auto-hide logic to a subclass as it doesn't need to be in the main library Bug: 274011949 Test: Verified on device Change-Id: Icf7bd5d1cbde3daa9441f2af51f98a931bcd6ee2
This commit is contained in:
@@ -153,8 +153,8 @@ public class WorkspaceStateTransitionAnimation {
|
||||
Interpolator workspaceFadeInterpolator = config.getInterpolator(ANIM_WORKSPACE_FADE,
|
||||
pageAlphaProvider.interpolator);
|
||||
float workspacePageIndicatorAlpha = (elements & WORKSPACE_PAGE_INDICATOR) != 0 ? 1 : 0;
|
||||
propertySetter.setViewAlpha(mLauncher.getWorkspace().getPageIndicator(),
|
||||
workspacePageIndicatorAlpha, workspaceFadeInterpolator);
|
||||
mLauncher.getWorkspace().getPageIndicator().setAlpha(
|
||||
propertySetter, workspacePageIndicatorAlpha, workspaceFadeInterpolator);
|
||||
Interpolator hotseatFadeInterpolator = config.getInterpolator(ANIM_HOTSEAT_FADE,
|
||||
workspaceFadeInterpolator);
|
||||
float hotseatIconsAlpha = (elements & HOTSEAT_ICONS) != 0 ? 1 : 0;
|
||||
|
||||
Reference in New Issue
Block a user