Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp104 jobject javaBitmap = nullptr; in nativeDecodeRegion() local
114 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in nativeDecodeRegion()
130 if (javaBitmap) { in nativeDecodeRegion()
149 if (javaBitmap) { in nativeDecodeRegion()
192 if (javaBitmap) { in nativeDecodeRegion()
194 bitmap::reinitBitmap(env, javaBitmap, recycledBitmap->info(), !requireUnpremul); in nativeDecodeRegion()
195 return javaBitmap; in nativeDecodeRegion()
DBitmapFactory.cpp187 jobject javaBitmap = NULL; in doDecode() local
215 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); in doDecode()
320 if (javaBitmap != nullptr) { in doDecode()
324 javaBitmap = nullptr; in doDecode()
336 if (javaBitmap != nullptr && willScale) { in doDecode()
341 } else if (javaBitmap != nullptr) { in doDecode()
427 if (javaBitmap != NULL) { in doDecode()
428 env->SetObjectField(javaBitmap, gBitmap_ninePatchInsetsFieldID, ninePatchInsets); in doDecode()
436 if (javaBitmap != nullptr) { in doDecode()
479 if (!isMutable && javaBitmap == NULL) { in doDecode()
[all …]
DBitmap.h46 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info,
DBitmap.cpp188 void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, in reinitBitmap() argument
195 env->CallVoidMethod(javaBitmap, gBitmap_reinitMethodID, in reinitBitmap()