Searched refs:javaBitmap (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 132 jobject javaBitmap = NULL; local 140 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); 154 if (javaBitmap) { 155 recycledBitmap = GraphicsJNI::getBitmap(env, javaBitmap); 159 recycledBytes = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); 166 if (javaBitmap) { 195 if (javaBitmap) { 197 return javaBitmap;
|
H A D | BitmapFactory.cpp | 241 jobject javaBitmap = NULL; local 265 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldID); 332 if (javaBitmap != NULL) { 333 reuseBitmap = GraphicsJNI::getBitmap(env, javaBitmap); 336 javaBitmap = NULL; 339 existingBufferSize = GraphicsJNI::getBitmapAllocationByteCount(env, javaBitmap); 348 if (javaBitmap != nullptr && willScale) { 351 // also checks that the recycled javaBitmap is large enough. 353 } else if (javaBitmap != nullptr) { 405 // native heap, or the recycled javaBitmap bein [all...] |
H A D | GraphicsJNI.h | 88 static void reinitBitmap(JNIEnv* env, jobject javaBitmap, const SkImageInfo& info, 91 static int getBitmapAllocationByteCount(JNIEnv* env, jobject javaBitmap);
|
H A D | Graphics.cpp | 426 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 1263 milliseconds