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

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

Completed in 337 milliseconds