Class of android.graphics · BitmapFactory.java · Android's reference
public class BitmapFactory
Bitmaps from encoded images (PNG, JPEG, WebP, GIF, BMP), decoded by the runtime's codec (snx.android.hwui.Image). A PNG's nine-patch chunk (npTc, which aapt writes) becomes the bitmap's, and its padding the decode's.
public BitmapFactory() empty body sourcepublic static Bitmap decodeFile(String pathName) sourcepublic static Bitmap decodeFile(String pathName, Options opts) sourcepublic static Bitmap decodeResource(Resources res, int id) sourcepublic static Bitmap decodeResource(Resources res, int id, Options opts) sourcepublic static Bitmap decodeResourceStream(Resources res, TypedValue value, InputStream is, Rect pad, Options opts) sourcepublic static Bitmap decodeByteArray(byte[] data, int offset, int length) sourcepublic static Bitmap decodeByteArray(byte[] data, int offset, int length, Options opts) sourcepublic static Bitmap decodeFileDescriptor(FileDescriptor fd) sourcepublic static Bitmap decodeFileDescriptor(FileDescriptor fd, Rect outPadding, Options opts) sourcepublic static Bitmap decodeStream(InputStream is) sourcepublic static Bitmap decodeStream(InputStream is, Rect outPadding, Options opts) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.