OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:animationDrawable
(Results
1 - 4
of
4
) 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/v1/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/core/java/android/view/
PointerIcon.java
29
import android.graphics.drawable.
AnimationDrawable
;
429
if (drawable instanceof
AnimationDrawable
) {
431
final
AnimationDrawable
animationDrawable
= (
AnimationDrawable
) drawable;
432
final int frames =
animationDrawable
.getNumberOfFrames();
433
drawable =
animationDrawable
.getFrame(0);
439
mDurationPerFrame =
animationDrawable
.getDuration(0);
444
Drawable drawableFrame =
animationDrawable
.getFrame(i);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ExpandableNotificationRow.java
26
import android.graphics.drawable.
AnimationDrawable
;
257
if (drawable instanceof
AnimationDrawable
) {
258
AnimationDrawable
animationDrawable
= (
AnimationDrawable
) drawable;
260
animationDrawable
.start();
262
animationDrawable
.stop();
265
AnimatedVectorDrawable
animationDrawable
= (AnimatedVectorDrawable) drawable;
267
animationDrawable
.start();
269
animationDrawable
.stop()
[
all
...]
Completed in 496 milliseconds