Home
last modified time | relevance | path

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

/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
DMediaRouteButton.java612 protected void onPostExecute(Drawable remoteIndicator) { in onPostExecute() argument
613 cacheAndReset(remoteIndicator); in onPostExecute()
614 setRemoteIndicatorDrawable(remoteIndicator); in onPostExecute()
618 protected void onCancelled(Drawable remoteIndicator) { in onCancelled() argument
619 cacheAndReset(remoteIndicator); in onCancelled()
622 private void cacheAndReset(Drawable remoteIndicator) { in cacheAndReset() argument
623 if (remoteIndicator != null) { in cacheAndReset()
624 sRemoteIndicatorCache.put(mResId, remoteIndicator.getConstantState()); in cacheAndReset()
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
DMediaRouteButton.java597 protected void onPostExecute(Drawable remoteIndicator) { in onPostExecute() argument
598 cacheAndReset(remoteIndicator); in onPostExecute()
599 setRemoteIndicatorDrawable(remoteIndicator); in onPostExecute()
603 protected void onCancelled(Drawable remoteIndicator) { in onCancelled() argument
604 cacheAndReset(remoteIndicator); in onCancelled()
607 private void cacheAndReset(Drawable remoteIndicator) { in cacheAndReset() argument
608 if (remoteIndicator != null) { in cacheAndReset()
609 sRemoteIndicatorCache.put(mResId, remoteIndicator.getConstantState()); in cacheAndReset()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java211 final Drawable remoteIndicator = mRemoteIndicator; in drawableStateChanged() local
212 if (remoteIndicator != null && remoteIndicator.isStateful() in drawableStateChanged()
213 && remoteIndicator.setState(getDrawableState())) { in drawableStateChanged()
214 invalidateDrawable(remoteIndicator); in drawableStateChanged()