Searched refs:javaBitmap (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
D | BitmapRegionDecoder.cpp | 132 jobject javaBitmap = NULL; in nativeDecodeRegion() local 140 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in nativeDecodeRegion() 154 if (javaBitmap) { in nativeDecodeRegion() 155 recycledBitmap = GraphicsJNI::getBitmap(env, javaBitmap); in nativeDecodeRegion() 159 recycledBytes = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); in nativeDecodeRegion() 166 if (javaBitmap) { in nativeDecodeRegion() 195 if (javaBitmap) { in nativeDecodeRegion() 197 return javaBitmap; in nativeDecodeRegion()
|
D | BitmapFactory.cpp | 241 jobject javaBitmap = NULL; in doDecode() local 265 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode() 332 if (javaBitmap != NULL) { in doDecode() 333 reuseBitmap = GraphicsJNI::getBitmap(env, javaBitmap); in doDecode() 336 javaBitmap = NULL; in doDecode() 339 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); in doDecode() 348 if (javaBitmap != nullptr && willScale) { in doDecode() 353 } else if (javaBitmap != nullptr) { in doDecode() 456 if (javaBitmap != NULL) { in doDecode() 457 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode() [all …]
|
D | GraphicsJNI.h | 88 static void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, 91 static int getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap);
|
D | Graphics.cpp | 426 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()
|