public class ExpirableBitmapDrawable
extends android.graphics.drawable.BitmapDrawable
BitmapDrawable
for a MapTile
that has a state to indicate that it's expired.Modifier and Type | Field and Description |
---|---|
static int |
EXPIRED |
Constructor and Description |
---|
ExpirableBitmapDrawable(android.graphics.Bitmap pBitmap) |
Modifier and Type | Method and Description |
---|---|
int[] |
getState() |
static boolean |
isDrawableExpired(android.graphics.drawable.Drawable pTile) |
boolean |
isStateful() |
boolean |
setState(int[] pStateSet) |
draw, getBitmap, getChangingConfigurations, getConstantState, getGravity, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getPaint, getTileModeX, getTileModeY, inflate, mutate, onBoundsChange, setAlpha, setAntiAlias, setColorFilter, setDither, setFilterBitmap, setGravity, setTargetDensity, setTargetDensity, setTargetDensity, setTileModeX, setTileModeXY, setTileModeY
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getCurrent, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getTransparentRegion, invalidateSelf, isVisible, jumpToCurrentState, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setLevel, setVisible, unscheduleSelf
public static final int EXPIRED
public ExpirableBitmapDrawable(android.graphics.Bitmap pBitmap)
public int[] getState()
getState
in class android.graphics.drawable.Drawable
public boolean isStateful()
isStateful
in class android.graphics.drawable.Drawable
public boolean setState(int[] pStateSet)
setState
in class android.graphics.drawable.Drawable
public static boolean isDrawableExpired(android.graphics.drawable.Drawable pTile)
Copyright © 2014. All Rights Reserved.