Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapRegionDecoder.cpp135 jobject javaBitmap = nullptr; in nativeDecodeRegion() local
145 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in nativeDecodeRegion()
161 if (javaBitmap) { in nativeDecodeRegion()
180 if (javaBitmap) { in nativeDecodeRegion()
223 if (javaBitmap) { in nativeDecodeRegion()
225 bitmap::reinitBitmap(env, javaBitmap, recycledBitmap->info(), !requireUnpremul); in nativeDecodeRegion()
226 return javaBitmap; in nativeDecodeRegion()
DBitmapFactory.cpp193 jobject javaBitmap = NULL; in doDecode() local
221 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode()
327 if (javaBitmap != nullptr) { in doDecode()
331 javaBitmap = nullptr; in doDecode()
343 if (javaBitmap != nullptr && willScale) { in doDecode()
348 } else if (javaBitmap != nullptr) { in doDecode()
434 if (javaBitmap != NULL) { in doDecode()
435 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode()
443 if (javaBitmap != nullptr) { in doDecode()
485 if (!isMutable && javaBitmap == NULL) { in doDecode()
[all …]
DBitmap.h56 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info,
DBitmap.cpp184 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, in reinitBitmap() argument
191 env->CallVoidMethod(javaBitmap, gBitmap_reinitMethodID, in reinitBitmap()