Java android.graphics ImageDecoder fields, constructors, methods, implement or subclass

Example usage for Java android.graphics ImageDecoder fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.graphics ImageDecoder.

The text is from its open source code.

Implementation

android.graphics.ImageDecoder has the following implementations.
Click this link to see all its implementation.

Method

SourcecreateSource(@NonNull Resources res, int resId)
Create a new Source Source from a resource.
SourcecreateSource(@NonNull ContentResolver cr, @NonNull Uri uri)
Create a new Source Source from a android.net.Uri .
SourcecreateSource(@NonNull AssetManager assets, @NonNull String fileName)
Create a new Source Source from a file in the "assets" directory.
SourcecreateSource(Resources res, InputStream is)
Internal API used to generate bitmaps for use by Drawables (i.e.
BitmapdecodeBitmap(@NonNull Source src, @NonNull OnHeaderDecodedListener listener)
Create a Bitmap from a Source .
voidsetCrop(@Nullable Rect subset)
Crop the output to subset of the (possibly) scaled image.
ImageDecodersetResize(int width, int height)