类 EaseRecyclingBitmapDrawable


  • public class EaseRecyclingBitmapDrawable
    extends android.graphics.drawable.BitmapDrawable
    • 嵌套类概要

      • 从类继承的嵌套类/接口 android.graphics.drawable.Drawable

        android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState
    • 构造器概要

      构造器 
      构造器 说明
      EaseRecyclingBitmapDrawable​(android.content.res.Resources res, android.graphics.Bitmap bitmap)  
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void setIsCached​(boolean isCached)
      Notify the drawable that the cache state has changed.
      void setIsDisplayed​(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
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • EaseRecyclingBitmapDrawable

        public EaseRecyclingBitmapDrawable​(android.content.res.Resources res,
                                           android.graphics.Bitmap bitmap)
    • 方法详细资料

      • 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