Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp195 jobject javaBitmap = NULL; in doDecode() local
223 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode()
329 if (javaBitmap != nullptr) { in doDecode()
333 javaBitmap = nullptr; in doDecode()
345 if (javaBitmap != nullptr && willScale) { in doDecode()
350 } else if (javaBitmap != nullptr) { in doDecode()
436 if (javaBitmap != NULL) { in doDecode()
437 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode()
445 if (javaBitmap != nullptr) { in doDecode()
487 if (!isMutable && javaBitmap == NULL) { in doDecode()
[all …]
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()
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()