类 EaseRecyclingBitmapDrawable
- java.lang.Object
-
- android.graphics.drawable.Drawable
-
- android.graphics.drawable.BitmapDrawable
-
- io.agora.chat.uikit.widget.video.EaseRecyclingBitmapDrawable
-
public class EaseRecyclingBitmapDrawable extends android.graphics.drawable.BitmapDrawable
-
-
构造器概要
构造器 构造器 说明 EaseRecyclingBitmapDrawable(android.content.res.Resources res, android.graphics.Bitmap bitmap)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidsetIsCached(boolean isCached)Notify the drawable that the cache state has changed.voidsetIsDisplayed(boolean isDisplayed)Notify the drawable that the displayed state has changed.-
从类继承的方法 android.graphics.drawable.BitmapDrawable
applyTheme, canApplyTheme, draw, getAlpha, getBitmap, getChangingConfigurations, getColorFilter, getConstantState, getGravity, getIntrinsicHeight, getIntrinsicWidth, getOpacity, getOpticalInsets, getOutline, getPaint, getTileModeX, getTileModeY, hasAntiAlias, hasMipMap, inflate, isAutoMirrored, isFilterBitmap, isStateful, mutate, onBoundsChange, onStateChange, setAlpha, setAntiAlias, setAutoMirrored, setColorFilter, setDither, setFilterBitmap, setGravity, setMipMap, setTargetDensity, setTargetDensity, setTargetDensity, setTileModeX, setTileModeXY, setTileModeY, setTintBlendMode, setTintList
-
从类继承的方法 android.graphics.drawable.Drawable
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXml, createFromXmlInner, createFromXmlInner, getBounds, getCallback, getCurrent, getDirtyBounds, getHotspotBounds, getLayoutDirection, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isProjected, isVisible, jumpToCurrentState, onLayoutDirectionChanged, onLevelChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setHotspot, setHotspotBounds, setLayoutDirection, setLevel, setState, setTint, setTintMode, setVisible, unscheduleSelf
-
-
-
-
方法详细资料
-
setIsDisplayed
public void setIsDisplayed(boolean isDisplayed)
Notify the drawable that the displayed state has changed. Internally a count is kept so that the drawable knows when it is no longer being displayed.- 参数:
isDisplayed- - Whether the drawable is being displayed or not
-
setIsCached
public void setIsCached(boolean isCached)
Notify the drawable that the cache state has changed. Internally a count is kept so that the drawable knows when it is no longer being cached.- 参数:
isCached- - Whether the drawable is being cached or not
-
-