public class ExpirableBitmapDrawable
extends android.graphics.drawable.BitmapDrawable
BitmapDrawable
for a MapTile
that has a state to indicate that it's 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() |
static void |
setDrawableExpired(android.graphics.drawable.Drawable pTile) |
boolean |
setState(int[] pStateSet) |
applyTheme, canApplyTheme, draw, getAlpha, getBitmap, getChangingConfigurations, getColorFilter, getConstantState, getGravity, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getOutline, getPaint, getTileModeX, getTileModeY, hasAntiAlias, hasMipMap, inflate, isAutoMirrored, isFilterBitmap, mutate, onBoundsChange, onStateChange, setAlpha, setAntiAlias, setAutoMirrored, setColorFilter, setDither, setFilterBitmap, setGravity, setMipMap, setTargetDensity, setTargetDensity, setTargetDensity, setTileModeX, setTileModeXY, setTileModeY, setTintList, setTintMode
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getBounds, getCallback, getCurrent, getDirtyBounds, getHotspotBounds, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getTransparentRegion, inflate, invalidateSelf, isVisible, jumpToCurrentState, onLayoutDirectionChanged, onLevelChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setTint, setVisible, unscheduleSelf
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.BitmapDrawable
public boolean setState(int[] pStateSet)
setState
in class android.graphics.drawable.Drawable
public static boolean isDrawableExpired(android.graphics.drawable.Drawable pTile)
public static void setDrawableExpired(android.graphics.drawable.Drawable pTile)
Copyright © 2015. All Rights Reserved.