|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.graphics.drawable.Drawable
com.bumptech.glide.load.resource.drawable.GlideDrawable
public abstract class GlideDrawable
A base class for drawables that are either static equivalents of BitmapDrawable
or
that contain an animation.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class android.graphics.drawable.Drawable |
---|
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState |
Field Summary | |
---|---|
static int |
LOOP_FOREVER
A constant indicating that an animated drawable should loop continuously. |
static int |
LOOP_INTRINSIC
A constant indicating that an animated drawable should loop for its default number of times. |
Constructor Summary | |
---|---|
GlideDrawable()
|
Method Summary | |
---|---|
abstract boolean |
isAnimated()
Returns true if this drawable is animated. |
abstract void |
setLoopCount(int loopCount)
Sets the number of times the animation should loop. |
Methods inherited from class android.graphics.drawable.Drawable |
---|
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, draw, getAlpha, getBounds, getCallback, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getLevel, getMinimumHeight, getMinimumWidth, getOpacity, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isAutoMirrored, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAlpha, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setColorFilter, setDither, setFilterBitmap, setLevel, setState, setVisible, unscheduleSelf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface android.graphics.drawable.Animatable |
---|
isRunning, start, stop |
Field Detail |
---|
public static final int LOOP_FOREVER
public static final int LOOP_INTRINSIC
Constructor Detail |
---|
public GlideDrawable()
Method Detail |
---|
public abstract boolean isAnimated()
true
if this drawable is animated.
public abstract void setLoopCount(int loopCount)
()
} returns true
. A loop count of <=0 indicates loop forever.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |