Searched refs:animationDrawable (Results 1 – 2 of 2) sorted by relevance
514 final AnimationDrawable animationDrawable = (AnimationDrawable) drawable; in loadResource() local515 final int frames = animationDrawable.getNumberOfFrames(); in loadResource()516 drawable = animationDrawable.getFrame(0); in loadResource()522 mDurationPerFrame = animationDrawable.getDuration(0); in loadResource()529 Drawable drawableFrame = animationDrawable.getFrame(i); in loadResource()
530 if (drawable instanceof AnimationDrawable animationDrawable) { in setImageViewAnimationRunning()532 animationDrawable.start(); in setImageViewAnimationRunning()534 animationDrawable.stop(); in setImageViewAnimationRunning()536 } else if (drawable instanceof AnimatedVectorDrawable animationDrawable) { in setImageViewAnimationRunning()538 animationDrawable.start(); in setImageViewAnimationRunning()540 animationDrawable.stop(); in setImageViewAnimationRunning()