Searched refs:currentDrawable (Results 1 – 4 of 4) sorted by relevance
57 final KeyButtonDrawable currentDrawable = getImageDrawable(); in updateIcon() local59 if (currentDrawable != null) { in updateIcon()60 drawable.setDarkIntensity(currentDrawable.getDarkIntensity()); in updateIcon()70 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() local71 if (visibility != View.VISIBLE && currentDrawable != null && currentDrawable.canAnimate()) { in setVisibility()72 currentDrawable.clearAnimationCallbacks(); in setVisibility()73 currentDrawable.resetAnimation(); in setVisibility()
51 final KeyButtonDrawable currentDrawable = getImageDrawable(); in setVisibility() local52 if (visibility == View.VISIBLE && currentDrawable != null) { in setVisibility()53 currentDrawable.resetAnimation(); in setVisibility()54 currentDrawable.startAnimation(); in setVisibility()
196 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()
190 Drawable currentDrawable = ((AlphaOptimizedImageView) roleBasedButton.findViewById( in onUnselected_withAppIcon_showsAppIcon() local193 assertThat(currentDrawable).isEqualTo(appIcon); in onUnselected_withAppIcon_showsAppIcon()215 Drawable currentDrawable = ((AlphaOptimizedImageView) roleBasedButton.findViewById( in onSelected_withAppIcon_showsAppIconWithSelectedAlpha() local218 assertThat(currentDrawable).isEqualTo(appIcon); in onSelected_withAppIcon_showsAppIconWithSelectedAlpha()