Home
last modified time | relevance | path

Searched refs:ninePatchChunk (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp407 jbyteArray ninePatchChunk = NULL; in doDecode() local
414 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in doDecode()
415 if (ninePatchChunk == NULL) { in doDecode()
419 jbyte* array = (jbyte*) env->GetPrimitiveArrayCritical(ninePatchChunk, NULL); in doDecode()
425 env->ReleasePrimitiveArrayCritical(ninePatchChunk, array, 0); in doDecode()
508 ninePatchChunk, ninePatchInsets, -1); in doDecode()
513 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
DImageDecoder.cpp341 jbyteArray ninePatchChunk = nullptr; in ImageDecoder_nDecodeBitmap() local
349 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in ImageDecoder_nDecodeBitmap()
350 if (ninePatchChunk == nullptr) { in ImageDecoder_nDecodeBitmap()
355 env->SetByteArrayRegion(ninePatchChunk, 0, decoder->mPeeker->mPatchSize, in ImageDecoder_nDecodeBitmap()
471 ninePatchChunk, ninePatchInsets); in ImageDecoder_nDecodeBitmap()
483 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
DBitmap.h37 int bitmapCreateFlags, jbyteArray ninePatchChunk = NULL,
DBitmap.cpp196 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument
210 isPremultiplied, ninePatchChunk, ninePatchInsets, fromMalloc); in createBitmap()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java131 boolean requestPremultiplied, byte[] ninePatchChunk, in Bitmap() argument
133 this(nativeBitmap, width, height, density, requestPremultiplied, ninePatchChunk, in Bitmap()
139 boolean requestPremultiplied, byte[] ninePatchChunk, in Bitmap() argument
149 mNinePatchChunk = ninePatchChunk; in Bitmap()