Searched refs:javaBitmap (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | BitmapFactory.cpp | 224 jobject javaBitmap = NULL; in doDecode() local 244 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode() 270 if (javaBitmap != NULL) { in doDecode() 271 outputBitmap = (SkBitmap*) env->GetLongField(javaBitmap, gBitmap_nativeBitmapFieldID); in doDecode() 274 javaBitmap = NULL; in doDecode() 277 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); in doDecode() 290 SkBitmap::Allocator* outputAllocator = (javaBitmap != NULL) ? in doDecode() 298 } else if (javaBitmap != NULL) { in doDecode() 379 if (javaBitmap != NULL) { in doDecode() 380 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode() [all …]
|
D | GraphicsJNI.h | 88 static void reinitBitmap(JNIEnv* env, jobject javaBitmap, SkBitmap* bitmap, 91 static int getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap);
|
D | Graphics.cpp | 441 void GraphicsJNI::reinitBitmap(JNIEnv* env, jobject javaBitmap, SkBitmap* bitmap, in reinitBitmap() argument 448 env->CallVoidMethod(javaBitmap, gBitmap_reinitMethodID, in reinitBitmap() 452 int GraphicsJNI::getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap) in getBitmapAllocationByteCount() argument 454 return env->CallIntMethod(javaBitmap, gBitmap_getAllocationByteCountMethodID); in getBitmapAllocationByteCount()
|