/aosp14/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
H A D | AnimatedVectorDrawableDupPerf.java | 18 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 D | AnimatedVectorDrawableTest.java | 19 import android.graphics.drawable.AnimatedVectorDrawable; 75 AnimatedVectorDrawable d = (AnimatedVectorDrawable) button.getBackground(); in onCreate() 102 AnimatedVectorDrawable d = (AnimatedVectorDrawable) v.getBackground(); in onClick()
|
H A D | AnimatedVectorDrawableAttr.java | 18 import android.graphics.drawable.AnimatedVectorDrawable; 29 AnimatedVectorDrawable avd = (AnimatedVectorDrawable) avdIv.getDrawable(); in onCreate()
|
H A D | AnimatedStateVectorDrawableTest.java | 18 import android.graphics.drawable.AnimatedVectorDrawable;
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/ |
H A D | QSIconViewImplTest.java | 27 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 D | ExpandableIndicator.java | 18 import android.graphics.drawable.AnimatedVectorDrawable; 45 final AnimatedVectorDrawable avd = (AnimatedVectorDrawable) getContext() in setExpanded()
|
H A D | LockIcon.java | 25 import android.graphics.drawable.AnimatedVectorDrawable; 75 if (icon instanceof AnimatedVectorDrawable) { 76 final AnimatedVectorDrawable animation = (AnimatedVectorDrawable) icon;
|
H A D | KeyguardIndicationTextView.java | 24 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 D | PinShapeHintingView.java | 22 import android.graphics.drawable.AnimatedVectorDrawable; 111 if (pinDot.getDrawable() instanceof AnimatedVectorDrawable) { in setAnimatedDrawable() 112 ((AnimatedVectorDrawable) pinDot.getDrawable()).start(); in setAnimatedDrawable()
|
H A D | PinShapeNonHintingView.java | 26 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 D | PageIndicator.java | 8 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 D | AuthIconController.kt | 22 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 D | UserSwitchingDialog.java | 34 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 D | SplashscreenIconDrawableFactory.java | 37 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 D | DrawableSize.kt | 11 import android.graphics.drawable.AnimatedVectorDrawable 120 drawable is AnimatedVectorDrawable
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/ |
H A D | IllustrationPreferenceTest.java | 30 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 D | FloatingRotationButton.java | 28 import android.graphics.drawable.AnimatedVectorDrawable; 72 private AnimatedVectorDrawable mAnimatedDrawable; 197 mAnimatedDrawable = (AnimatedVectorDrawable) mKeyButtonView.getContext() in updateIcon()
|
H A D | RotationButtonController.java | 38 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 D | AnimatedVectorDrawable.java | 300 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 D | AnimatedStateListDrawable.java | 217 } 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 D | DrawableInflater.java | 169 return new AnimatedVectorDrawable(); in inflateFromTag()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
H A D | MediaOutputAdapter.java | 26 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 D | KeyButtonDrawable.java | 43 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 D | KeyButtonDrawable.java | 37 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 D | ExpandableNotificationRowTest.java | 45 import android.graphics.drawable.AnimatedVectorDrawable; 748 AnimatedVectorDrawable vectorDrawable = mock(AnimatedVectorDrawable.class); in testSetIconAnimationRunningGroup_Run() 752 AnimatedVectorDrawable lowPriVectorDrawable = mock(AnimatedVectorDrawable.class); in testSetIconAnimationRunningGroup_Run()
|