com.bumptech.glide.load.resource.bitmap
Class GlideBitmapDrawable
java.lang.Object
   android.graphics.drawable.Drawable
android.graphics.drawable.Drawable
       com.bumptech.glide.load.resource.drawable.GlideDrawable
com.bumptech.glide.load.resource.drawable.GlideDrawable
           com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable
com.bumptech.glide.load.resource.bitmap.GlideBitmapDrawable
- All Implemented Interfaces: 
- Animatable
- public class GlideBitmapDrawable 
- extends GlideDrawable
A static GlideDrawable for displaying a single image.
 
 
 
 
 
 
| Methods inherited from class android.graphics.drawable.Drawable | 
| clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getAlpha, getBounds, getCallback, getChangingConfigurations, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isAutoMirrored, isStateful, isVisible, jumpToCurrentState, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setAutoMirrored, setBounds, setBounds, setCallback, setChangingConfigurations, 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 | 
 
GlideBitmapDrawable
public GlideBitmapDrawable(Resources res,
                           Bitmap bitmap)
getIntrinsicWidth
public int getIntrinsicWidth()
- 
- Overrides:
- getIntrinsicWidthin class- Drawable
 
- 
 
getIntrinsicHeight
public int getIntrinsicHeight()
- 
- Overrides:
- getIntrinsicHeightin class- Drawable
 
- 
 
isAnimated
public boolean isAnimated()
- Description copied from class: GlideDrawable
- Returns trueif this drawable is animated.
 
- 
- Specified by:
- isAnimatedin class- GlideDrawable
 
- 
 
setLoopCount
public void setLoopCount(int loopCount)
- Description copied from class: GlideDrawable
- Sets the number of times the animation should loop. This method will only have an affect if
 ()}  returnstrue. A loop count of <=0 indicates loop forever.
 
- 
- Specified by:
- setLoopCountin class- GlideDrawable
 
- 
 
start
public void start()
- 
 
stop
public void stop()
- 
 
isRunning
public boolean isRunning()
- 
 
onBoundsChange
protected void onBoundsChange(Rect bounds)
- 
- Overrides:
- onBoundsChangein class- Drawable
 
- 
 
getConstantState
public Drawable.ConstantState getConstantState()
- 
- Overrides:
- getConstantStatein class- Drawable
 
- 
 
draw
public void draw(Canvas canvas)
- 
- Specified by:
- drawin class- Drawable
 
- 
 
setAlpha
public void setAlpha(int alpha)
- 
- Specified by:
- setAlphain class- Drawable
 
- 
 
setColorFilter
public void setColorFilter(ColorFilter colorFilter)
- 
- Specified by:
- setColorFilterin class- Drawable
 
- 
 
getOpacity
public int getOpacity()
- 
- Specified by:
- getOpacityin class- Drawable
 
- 
 
mutate
public Drawable mutate()
- 
- Overrides:
- mutatein class- Drawable
 
- 
 
getBitmap
public Bitmap getBitmap()
-