Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DContextualButton.java57 final KeyButtonDrawable currentDrawable = getImageDrawable(); in updateIcon() local
59 if (currentDrawable != null) { in updateIcon()
60 drawable.setDarkIntensity(currentDrawable.getDarkIntensity()); in updateIcon()
70 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() local
71 if (visibility != View.VISIBLE && currentDrawable != null && currentDrawable.canAnimate()) { in setVisibility()
72 currentDrawable.clearAnimationCallbacks(); in setVisibility()
73 currentDrawable.resetAnimation(); in setVisibility()
DRotationContextButton.java51 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() local
52 if (visibility == View.VISIBLE && currentDrawable != null) { in setVisibility()
53 currentDrawable.resetAnimation(); in setVisibility()
54 currentDrawable.startAnimation(); in setVisibility()
DRotationButtonController.java196 final KeyButtonDrawable currentDrawable = mRotationButton.getImageDrawable(); in setRotateSuggestionButtonState()
197 if (currentDrawable == null) return; in setRotateSuggestionButtonState()
215 if (currentDrawable.canAnimate()) { in setRotateSuggestionButtonState()
216 currentDrawable.resetAnimation(); in setRotateSuggestionButtonState()
217 currentDrawable.startAnimation(); in setRotateSuggestionButtonState()
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/navigationbar/
DCarNavigationButtonTest.java190 Drawable currentDrawable = ((AlphaOptimizedImageView) roleBasedButton.findViewById( in onUnselected_withAppIcon_showsAppIcon() local
193 assertThat(currentDrawable).isEqualTo(appIcon); in onUnselected_withAppIcon_showsAppIcon()
215 Drawable currentDrawable = ((AlphaOptimizedImageView) roleBasedButton.findViewById( in onSelected_withAppIcon_showsAppIconWithSelectedAlpha() local
218 assertThat(currentDrawable).isEqualTo(appIcon); in onSelected_withAppIcon_showsAppIconWithSelectedAlpha()