Home
last modified time | relevance | path

Searched refs:transitionDrawable (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt460 val transitionDrawable = TransitionDrawable(arrayOf(it, artwork)) in <lambda>() constant
462 scaleTransitionDrawableLayer(transitionDrawable, 0, width, height) in <lambda>()
463 scaleTransitionDrawableLayer(transitionDrawable, 1, width, height) in <lambda>()
464 transitionDrawable.setLayerGravity(0, Gravity.CENTER) in <lambda>()
465 transitionDrawable.setLayerGravity(1, Gravity.CENTER) in <lambda>()
466 transitionDrawable.isCrossFadeEnabled = true in <lambda>()
468 albumView.setImageDrawable(transitionDrawable) in <lambda>()
469 transitionDrawable.startTransition( in <lambda>()
499 transitionDrawable: TransitionDrawable, in <lambda>()
504 val drawable = transitionDrawable.getDrawable(layer) ?: return in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java946 TransitionDrawable transitionDrawable = new TransitionDrawable( in bindArtworkAndColors() local
949 scaleTransitionDrawableLayer(transitionDrawable, 0, finalWidth, in bindArtworkAndColors()
951 scaleTransitionDrawableLayer(transitionDrawable, 1, finalWidth, in bindArtworkAndColors()
953 transitionDrawable.setLayerGravity(0, Gravity.CENTER); in bindArtworkAndColors()
954 transitionDrawable.setLayerGravity(1, Gravity.CENTER); in bindArtworkAndColors()
955 transitionDrawable.setCrossFadeEnabled(true); in bindArtworkAndColors()
957 albumView.setImageDrawable(transitionDrawable); in bindArtworkAndColors()
958 transitionDrawable.startTransition(isArtworkBound ? 333 : 80); in bindArtworkAndColors()
1107 private void scaleTransitionDrawableLayer(TransitionDrawable transitionDrawable, int layer, in scaleTransitionDrawableLayer() argument
1109 Drawable drawable = transitionDrawable.getDrawable(layer); in scaleTransitionDrawableLayer()
[all …]