Home
last modified time | relevance | path

Searched refs:allowAnimations (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
DQSIconViewImpl.java96 public void setIcon(State state, boolean allowAnimations) { in setIcon() argument
97 setIcon((ImageView) mIcon, state, allowAnimations); in setIcon() local
100 protected void updateIcon(ImageView iv, State state, boolean allowAnimations) { in updateIcon() argument
104 boolean shouldAnimate = allowAnimations && shouldAnimate(iv); in updateIcon()
144 protected void setIcon(ImageView iv, QSTile.State state, boolean allowAnimations) { in setIcon() argument
153 if (mTint != 0 && allowAnimations && shouldAnimate(iv)) { in setIcon()
154 animateGrayScale(mTint, color, iv, () -> updateIcon(iv, state, allowAnimations)); in setIcon()
164 updateIcon(iv, state, allowAnimations); in setIcon()
167 updateIcon(iv, state, allowAnimations); in setIcon()
DQSTileBaseView.java230 boolean allowAnimations = animationsEnabled(); in handleStateChanged()
232 if (allowAnimations) { in handleStateChanged()
247 mIcon.setIcon(state, allowAnimations); in handleStateChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSignalTileView.java121 public void setIcon(State state, boolean allowAnimations) { in setIcon() argument
123 setIcon(mSignal, s, allowAnimations); in setIcon()
136 final boolean shouldAnimate = allowAnimations && isShown(); in setIcon()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSIconView.java32 public abstract void setIcon(State state, boolean allowAnimations); in setIcon() argument