OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:animationDrawable
(Results
1 - 3
of
3
) sorted by null
/development/samples/devbytes/animation/KeyframeAnimation/src/com/example/android/keyframeanimation/
KeyframeAnimation.java
24
import android.graphics.drawable.
AnimationDrawable
;
31
* This example shows how to use
AnimationDrawable
to construct a keyframe animation where each
46
// Create the
AnimationDrawable
in which we will store all frames of the animation
47
final
AnimationDrawable
animationDrawable
= new
AnimationDrawable
();
49
animationDrawable
.addFrame(getDrawableForFrameNumber(i), 300);
52
animationDrawable
.setOneShot(false);
54
imageview.setImageDrawable(
animationDrawable
);
61
if (
animationDrawable
.isRunning())
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowImageView.java
7
import android.graphics.drawable.
AnimationDrawable
;
73
AnimationDrawable
animationDrawable
= new
AnimationDrawable
();
75
animationDrawable
.addFrame(drawable, -1);
77
return
animationDrawable
;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableNotificationRow.java
21
import android.graphics.drawable.
AnimationDrawable
;
101
if (drawable instanceof
AnimationDrawable
) {
102
AnimationDrawable
animationDrawable
= (
AnimationDrawable
) drawable;
104
animationDrawable
.start();
106
animationDrawable
.stop();
109
AnimatedVectorDrawable
animationDrawable
= (AnimatedVectorDrawable) drawable;
111
animationDrawable
.start();
113
animationDrawable
.stop()
[
all
...]
Completed in 202 milliseconds