HomeSort by relevance Sort by last modified time
    Searched defs:javaBitmap (Results 1 - 2 of 2) sorted by null

  /frameworks/base/core/jni/android/graphics/
BitmapRegionDecoder.cpp 132 jobject javaBitmap = NULL;
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;
BitmapFactory.cpp 241 jobject javaBitmap = NULL;
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 being too small to reuse
    [all...]

Completed in 554 milliseconds