Home
last modified time | relevance | path

Searched refs:avd (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/graphics/drawable/animated/src/androidTest/java/androidx/vectordrawable/graphics/drawable/tests/
DAnimatedVectorDrawableTest.java167 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, in testRenderCorrectness() local
169 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testRenderCorrectness()
174 avd.start(); in testRenderCorrectness()
184 avd.draw(c); in testRenderCorrectness()
201 avd.draw(c); in testRenderCorrectness()
310 AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, in testAnimateColor()
312 ViewCompat.setBackground(imageButton, avd); in testAnimateColor()
313 avd.start(); in testAnimateColor()
392 AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, in setupAnimatedVectorDrawableCompat() local
394 ViewCompat.setBackground(imageButton, avd); in setupAnimatedVectorDrawableCompat()
[all …]
DPathInterpolatorParameterizedTest.java80 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mActivity, in testPathMorphing() local
82 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testPathMorphing()
85 avd.draw(c); in testPathMorphing()
93 avd.registerAnimationCallback(new Animatable2Compat.AnimationCallback() { in testPathMorphing()
115 avd.start(); in testPathMorphing()
DAnimatedVectorDrawableParameterizedTest.java90 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mContext, in testPathMorphing() local
92 avd.setBounds(0, 0, IMAGE_WIDTH, IMAGE_HEIGHT); in testPathMorphing()
95 avd.draw(c); in testPathMorphing()
103 avd.registerAnimationCallback(new AnimationCallback() { in testPathMorphing()
125 avd.start(); in testPathMorphing()
DPathInterpolatorExceptionParameterizedTest.java70 final AnimatedVectorDrawableCompat avd = AnimatedVectorDrawableCompat.create(mActivity, in testPathMorphingExceptions() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DExpandableIndicator.java44 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext() in setExpanded() local
46 setImageDrawable(avd); in setExpanded()
47 avd.forceAnimationOnUI(); in setExpanded()
48 avd.start(); in setExpanded()
DNavigationBarView.java867 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) d; in setRotateButtonVisibility() local
868 avd.clearAnimationCallbacks(); in setRotateButtonVisibility()
869 avd.reset(); in setRotateButtonVisibility()
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
DAnimatedVectorDrawableAttr.java28 ImageView avdIv = findViewById(R.id.avd); in onCreate()
29 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) avdIv.getDrawable(); in onCreate() local
30 avd.start(); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPageIndicator.java152 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext().getDrawable(res);
153 imageView.setImageDrawable(avd);
154 avd.forceAnimationOnUI();
155 avd.start();
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedStateListDrawable.java319 public AnimatedVectorDrawableTransition(AnimatedVectorDrawable avd, in AnimatedVectorDrawableTransition() argument
321 mAvd = avd; in AnimatedVectorDrawableTransition()
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
DAnimatedVectorDrawableCompat.java808 private static void registerPlatformCallback(@NonNull AnimatedVectorDrawable avd, in registerPlatformCallback() argument
810 avd.registerAnimationCallback(callback.getPlatformCallback()); in registerPlatformCallback()