Revert "Simplifying some page indicator dots attributes so that it can"

This reverts commit a5ead45967.

Reason for revert: b/274169859

Change-Id: Id214694ae4f61cd70796c6f7e932c1fdef82d746
This commit is contained in:
Sunny Goyal
2023-03-29 19:11:03 +00:00
committed by Android (Google) Code Review
parent a5ead45967
commit 0263a679f2
17 changed files with 176 additions and 255 deletions

View File

@@ -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;
mLauncher.getWorkspace().getPageIndicator().setAlpha(
propertySetter, workspacePageIndicatorAlpha, workspaceFadeInterpolator);
propertySetter.setViewAlpha(mLauncher.getWorkspace().getPageIndicator(),
workspacePageIndicatorAlpha, workspaceFadeInterpolator);
Interpolator hotseatFadeInterpolator = config.getInterpolator(ANIM_HOTSEAT_FADE,
workspaceFadeInterpolator);
float hotseatIconsAlpha = (elements & HOTSEAT_ICONS) != 0 ? 1 : 0;