Lines Matching defs:bitmap
24 * use case of having the same bitmap on both ends and just
38 * Reads a bitmap pixels from a file descriptor.
40 * @param bitmap A bitmap whose pixels to populate.
43 public static void readBitmapPixels(Bitmap bitmap, ParcelFileDescriptor source) {
44 nativeReadBitmapPixels(bitmap, source.getFd());
48 * Writes a bitmap pixels to a file descriptor.
50 * @param bitmap The bitmap.
53 public static void writeBitmapPixels(Bitmap bitmap, ParcelFileDescriptor destination) {
54 nativeWriteBitmapPixels(bitmap, destination.getFd());
57 private static native void nativeReadBitmapPixels(Bitmap bitmap, int fd);
59 private static native void nativeWriteBitmapPixels(Bitmap bitmap, int fd);