Searched refs:javaBitmap (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp224 jobject javaBitmap = NULL; local
244 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID);
270 if (javaBitmap != NULL) {
271 outputBitmap = (SkBitmap*) env->GetLongField(javaBitmap, gBitmap_nativeBitmapFieldID);
274 javaBitmap = NULL;
277 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap);
290 SkBitmap::Allocator* outputAllocator = (javaBitmap != NULL) ?
298 } else if (javaBitmap != NULL) {
379 if (javaBitmap != NULL) {
380 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldI
[all...]
H A DGraphicsJNI.h88 static void reinitBitmap(JNIEnv* env, jobject javaBitmap, SkBitmap* bitmap,
91 static int getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap);
H A DGraphics.cpp441 void GraphicsJNI::reinitBitmap(JNIEnv* env, jobject javaBitmap, SkBitmap* bitmap, argument
448 env->CallVoidMethod(javaBitmap, gBitmap_reinitMethodID,
452 int GraphicsJNI::getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap) argument
454 return env->CallIntMethod(javaBitmap, gBitmap_getAllocationByteCountMethodID);

Completed in 705 milliseconds