Home
last modified time | relevance | path

Searched refs:AnimatedVectorDrawable (Results 1 – 25 of 36) sorted by relevance

12

/aosp14/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
H A DAnimatedVectorDrawableDupPerf.java18 import android.graphics.drawable.AnimatedVectorDrawable;
64 public static AnimatedVectorDrawable create(Resources resources, int rid) { in create()
77 final AnimatedVectorDrawable drawable = new AnimatedVectorDrawable(); in create()
98 AnimatedVectorDrawable []d = new AnimatedVectorDrawable[icon.length]; in onCreate()
H A DAnimatedVectorDrawableTest.java19 import android.graphics.drawable.AnimatedVectorDrawable;
75 AnimatedVectorDrawable d = (AnimatedVectorDrawable) button.getBackground(); in onCreate()
102 AnimatedVectorDrawable d = (AnimatedVectorDrawable) v.getBackground(); in onClick()
H A DAnimatedVectorDrawableAttr.java18 import android.graphics.drawable.AnimatedVectorDrawable;
29 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) avdIv.getDrawable(); in onCreate()
H A DAnimatedStateVectorDrawableTest.java18 import android.graphics.drawable.AnimatedVectorDrawable;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
H A DQSIconViewImplTest.java27 import android.graphics.drawable.AnimatedVectorDrawable;
145 AnimatedVectorDrawable d = mock(AnimatedVectorDrawable.class); in testIconStartedAndStoppedWhenAllowAnimationsFalse()
161 AnimatedVectorDrawable d1 = mock(AnimatedVectorDrawable.class); in testAnimatorCallbackRemovedOnOldDrawable()
163 AnimatedVectorDrawable d2 = mock(AnimatedVectorDrawable.class); in testAnimatorCallbackRemovedOnOldDrawable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DExpandableIndicator.java18 import android.graphics.drawable.AnimatedVectorDrawable;
45 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext() in setExpanded()
H A DLockIcon.java25 import android.graphics.drawable.AnimatedVectorDrawable;
75 if (icon instanceof AnimatedVectorDrawable) {
76 final AnimatedVectorDrawable animation = (AnimatedVectorDrawable) icon;
H A DKeyguardIndicationTextView.java24 import android.graphics.drawable.AnimatedVectorDrawable;
237 if (icon instanceof AnimatedVectorDrawable) { in setNextIndication()
238 ((AnimatedVectorDrawable) icon).start(); in setNextIndication()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DPinShapeHintingView.java22 import android.graphics.drawable.AnimatedVectorDrawable;
111 if (pinDot.getDrawable() instanceof AnimatedVectorDrawable) { in setAnimatedDrawable()
112 ((AnimatedVectorDrawable) pinDot.getDrawable()).start(); in setAnimatedDrawable()
H A DPinShapeNonHintingView.java26 import android.graphics.drawable.AnimatedVectorDrawable;
88 if (pinDot.getDrawable() instanceof AnimatedVectorDrawable) {
89 ((AnimatedVectorDrawable) pinDot.getDrawable()).start();
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPageIndicator.java8 import android.graphics.drawable.AnimatedVectorDrawable;
54 if (drawable instanceof AnimatedVectorDrawable) {
55 ((AnimatedVectorDrawable) drawable).unregisterAnimationCallback(
215 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext().getDrawable(res);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthIconController.kt22 import android.graphics.drawable.AnimatedVectorDrawable
68 val icon = context.getDrawable(iconRes) as AnimatedVectorDrawable
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DUserSwitchingDialog.java34 import android.graphics.drawable.AnimatedVectorDrawable;
277 final AnimatedVectorDrawable avd = getSpinnerAVD(); in startProgressAnimation()
292 private AnimatedVectorDrawable getSpinnerAVD() { in getSpinnerAVD()
296 if (drawable instanceof AnimatedVectorDrawable) { in getSpinnerAVD()
297 return (AnimatedVectorDrawable) drawable; in getSpinnerAVD()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenIconDrawableFactory.java37 import android.graphics.drawable.AnimatedVectorDrawable;
334 if (mAnimatableIcon instanceof AnimatedVectorDrawable in startAnimation()
335 && ((AnimatedVectorDrawable) mAnimatableIcon).getTotalDuration() > 0) { in startAnimation()
336 animDuration = ((AnimatedVectorDrawable) mAnimatableIcon).getTotalDuration(); in startAnimation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/
H A DDrawableSize.kt11 import android.graphics.drawable.AnimatedVectorDrawable
120 drawable is AnimatedVectorDrawable
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
H A DIllustrationPreferenceTest.java30 import android.graphics.drawable.AnimatedVectorDrawable;
127 final AnimatedVectorDrawable drawable = mock(AnimatedVectorDrawable.class); in playAnimationWithUri_animatedVectorDrawable_success()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/rotation/
H A DFloatingRotationButton.java28 import android.graphics.drawable.AnimatedVectorDrawable;
72 private AnimatedVectorDrawable mAnimatedDrawable;
197 mAnimatedDrawable = (AnimatedVectorDrawable) mKeyButtonView.getContext() in updateIcon()
H A DRotationButtonController.java38 import android.graphics.drawable.AnimatedVectorDrawable;
343 if (currentDrawable instanceof AnimatedVectorDrawable) { in setRotateSuggestionButtonState()
344 ((AnimatedVectorDrawable) currentDrawable).reset(); in setRotateSuggestionButtonState()
345 ((AnimatedVectorDrawable) currentDrawable).start(); in setRotateSuggestionButtonState()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatedVectorDrawable.java300 public class AnimatedVectorDrawable extends Drawable implements Animatable2 { class
330 public AnimatedVectorDrawable() { in AnimatedVectorDrawable() method in AnimatedVectorDrawable
334 private AnimatedVectorDrawable(AnimatedVectorDrawableState state, Resources res) { in AnimatedVectorDrawable() method in AnimatedVectorDrawable
536 R.styleable.AnimatedVectorDrawable); in inflate()
760 return new AnimatedVectorDrawable(this, null); in newDrawable()
765 return new AnimatedVectorDrawable(this, res); in newDrawable()
1020 tmpCallbacks.get(i).onAnimationStart(AnimatedVectorDrawable.this); in registerAnimationCallback()
1029 tmpCallbacks.get(i).onAnimationEnd(AnimatedVectorDrawable.this); in registerAnimationCallback()
1099 VectorDrawableAnimatorUI(@NonNull AnimatedVectorDrawable drawable) { in VectorDrawableAnimatorUI()
1267 private final AnimatedVectorDrawable mDrawable;
[all …]
H A DAnimatedStateListDrawable.java217 } else if (d instanceof AnimatedVectorDrawable) { in selectTransition()
220 transition = new AnimatedVectorDrawableTransition((AnimatedVectorDrawable) d, in selectTransition()
312 private final AnimatedVectorDrawable mAvd;
322 public AnimatedVectorDrawableTransition(AnimatedVectorDrawable avd, in AnimatedVectorDrawableTransition()
H A DDrawableInflater.java169 return new AnimatedVectorDrawable(); in inflateFromTag()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputAdapter.java26 import android.graphics.drawable.AnimatedVectorDrawable;
364 if (drawable instanceof AnimatedVectorDrawable) { in updateEndClickAreaAsSessionEditing()
365 ((AnimatedVectorDrawable) drawable).start(); in updateEndClickAreaAsSessionEditing()
392 if (drawable instanceof AnimatedVectorDrawable) { in updateDeviceStatusIcon()
393 ((AnimatedVectorDrawable) drawable).start(); in updateDeviceStatusIcon()
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/
H A DKeyButtonDrawable.java43 import android.graphics.drawable.AnimatedVectorDrawable;
85 private AnimatedVectorDrawable mAnimatedDrawable;
106 d instanceof AnimatedVectorDrawable, horizontalFlip, ovalBackgroundColor)); in KeyButtonDrawable()
118 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
H A DKeyButtonDrawable.java37 import android.graphics.drawable.AnimatedVectorDrawable;
81 private AnimatedVectorDrawable mAnimatedDrawable;
102 d instanceof AnimatedVectorDrawable, horizontalFlip, ovalBackgroundColor)); in KeyButtonDrawable()
114 mAnimatedDrawable = (AnimatedVectorDrawable) mState.mChildState.newDrawable().mutate(); in KeyButtonDrawable()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DExpandableNotificationRowTest.java45 import android.graphics.drawable.AnimatedVectorDrawable;
748 AnimatedVectorDrawable vectorDrawable = mock(AnimatedVectorDrawable.class); in testSetIconAnimationRunningGroup_Run()
752 AnimatedVectorDrawable lowPriVectorDrawable = mock(AnimatedVectorDrawable.class); in testSetIconAnimationRunningGroup_Run()

12