Home
last modified time | relevance | path

Searched refs:mRemoteIndicator (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/app/
DMediaRouteButton.java44 private Drawable mRemoteIndicator; field in MediaRouteButton
211 final Drawable remoteIndicator = mRemoteIndicator; in drawableStateChanged()
219 if (mRemoteIndicator != null) { in setRemoteIndicatorDrawable()
220 mRemoteIndicator.setCallback(null); in setRemoteIndicatorDrawable()
221 unscheduleDrawable(mRemoteIndicator); in setRemoteIndicatorDrawable()
223 mRemoteIndicator = d; in setRemoteIndicatorDrawable()
235 return super.verifyDrawable(who) || who == mRemoteIndicator; in verifyDrawable()
242 if (mRemoteIndicator != null) { in jumpDrawablesToCurrentState()
243 mRemoteIndicator.jumpToCurrentState(); in jumpDrawablesToCurrentState()
251 if (mRemoteIndicator != null) { in setVisibility()
[all …]
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteButton.java100 private Drawable mRemoteIndicator; field in MediaRouteButton
342 if (mRemoteIndicator != null) { in drawableStateChanged()
344 mRemoteIndicator.setState(myDrawableState); in drawableStateChanged()
357 if (mRemoteIndicator != null) { in setRemoteIndicatorDrawable()
358 mRemoteIndicator.setCallback(null); in setRemoteIndicatorDrawable()
359 unscheduleDrawable(mRemoteIndicator); in setRemoteIndicatorDrawable()
370 mRemoteIndicator = d; in setRemoteIndicatorDrawable()
373 if (mAttachedToWindow && mRemoteIndicator != null in setRemoteIndicatorDrawable()
374 && mRemoteIndicator.getCurrent() instanceof AnimationDrawable) { in setRemoteIndicatorDrawable()
375 AnimationDrawable curDrawable = (AnimationDrawable) mRemoteIndicator.getCurrent(); in setRemoteIndicatorDrawable()
[all …]
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteButton.java98 private Drawable mRemoteIndicator; field in MediaRouteButton
327 if (mRemoteIndicator != null) { in drawableStateChanged()
329 mRemoteIndicator.setState(myDrawableState); in drawableStateChanged()
342 if (mRemoteIndicator != null) { in setRemoteIndicatorDrawable()
343 mRemoteIndicator.setCallback(null); in setRemoteIndicatorDrawable()
344 unscheduleDrawable(mRemoteIndicator); in setRemoteIndicatorDrawable()
355 mRemoteIndicator = d; in setRemoteIndicatorDrawable()
358 if (mAttachedToWindow && mRemoteIndicator != null in setRemoteIndicatorDrawable()
359 && mRemoteIndicator.getCurrent() instanceof AnimationDrawable) { in setRemoteIndicatorDrawable()
360 AnimationDrawable curDrawable = (AnimationDrawable) mRemoteIndicator.getCurrent(); in setRemoteIndicatorDrawable()
[all …]