Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/
DMediaControlViewBinder.kt275 val animHandler = (buttonView.tag ?: AnimationBindHandler()) as AnimationBindHandler in <lambda>() constant
276 animHandler.tryExecute { in <lambda>()
278 if (animHandler.updateRebindId(buttonModel.rebindId)) { in <lambda>()
279 animHandler.unregisterAll() in <lambda>()
280 animHandler.tryRegister(buttonModel.icon) in <lambda>()
281 animHandler.tryRegister(buttonModel.background) in <lambda>()
291 animHandler.unregisterAll() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1209 AnimationBindHandler animHandler; in setSemanticButton() local
1211 animHandler = new AnimationBindHandler(); in setSemanticButton()
1212 button.setTag(animHandler); in setSemanticButton()
1214 animHandler = (AnimationBindHandler) button.getTag(); in setSemanticButton()
1217 animHandler.tryExecute(() -> { in setSemanticButton()
1218 bindButtonWithAnimations(button, mediaAction, animHandler); in setSemanticButton()
1227 @NonNull AnimationBindHandler animHandler) { in bindButtonWithAnimations() argument
1229 if (animHandler.updateRebindId(mediaAction.getRebindId())) { in bindButtonWithAnimations()
1230 animHandler.unregisterAll(); in bindButtonWithAnimations()
1231 animHandler.tryRegister(mediaAction.getIcon()); in bindButtonWithAnimations()
[all …]