Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp213 jobject javaBitmap = NULL; in doDecode() local
233 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode()
259 if (javaBitmap != NULL) { in doDecode()
260 reuseBitmap = GraphicsJNI::getBitmap(env, javaBitmap); in doDecode()
263 javaBitmap = NULL; in doDecode()
266 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); in doDecode()
276 SkBitmap::Allocator* outputAllocator = (javaBitmap != NULL) ? in doDecode()
284 } else if (javaBitmap != NULL) { in doDecode()
365 if (javaBitmap != NULL) { in doDecode()
366 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode()
[all …]
DGraphicsJNI.h86 static void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info,
89 static int getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap);
DGraphics.cpp426 void GraphicsJNI::reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, in reinitBitmap() argument
433 env->CallVoidMethod(javaBitmap, gBitmap_reinitMethodID, in reinitBitmap()
437 int GraphicsJNI::getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap) in getBitmapAllocationByteCount() argument
439 return env->CallIntMethod(javaBitmap, gBitmap_getAllocationByteCountMethodID); in getBitmapAllocationByteCount()