接口 AvifSequenceDrawable.BitmapProvider
-
- 封闭类:
- AvifSequenceDrawable
public static interface AvifSequenceDrawable.BitmapProvider
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 android.graphics.BitmapacquireBitmap(int minWidth, int minHeight)Called by FrameSequenceDrawable to aquire an 8888 Bitmap with minimum dimensions.voidreleaseBitmap(android.graphics.Bitmap bitmap)Called by FrameSequenceDrawable to release a Bitmap it no longer needs.
-
-
-
方法详细资料
-
acquireBitmap
android.graphics.Bitmap acquireBitmap(int minWidth, int minHeight)Called by FrameSequenceDrawable to aquire an 8888 Bitmap with minimum dimensions.- 参数:
minWidth- minWidthminHeight- minHeight- 返回:
- Bitmap
-
releaseBitmap
void releaseBitmap(android.graphics.Bitmap bitmap)
Called by FrameSequenceDrawable to release a Bitmap it no longer needs. The Bitmap will no longer be used at all by the drawable, so it is safe to reuse elsewhere.This method may be called by FrameSequenceDrawable on any thread.
- 参数:
bitmap- bitmap
-
-