Lines Matching defs:bitmap
20 #include <android/bitmap.h>
30 namespace bitmap {
38 jobject createBitmap(JNIEnv* env, Bitmap* bitmap,
45 Bitmap& toBitmap(JNIEnv* env, jobject bitmap);
49 void imageInfo(JNIEnv* env, jobject bitmap, AndroidBitmapInfo* info);
50 // Returns a pointer to the pixels or nullptr if the bitmap is not valid
51 void* lockPixels(JNIEnv* env, jobject bitmap);
52 // Returns true if unlocked, false if the bitmap is no longer valid (destroyed)
53 bool unlockPixels(JNIEnv* env, jobject bitmap);
55 /** Reinitialize a bitmap. bitmap must already have its SkAlphaType set in
63 } // namespace bitmap