Searched refs:ninePatchChunk (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.h | 37 int bitmapCreateFlags, jbyteArray ninePatchChunk = nullptr,
|
D | ImageDecoder.cpp | 403 jbyteArray ninePatchChunk = nullptr; in ImageDecoder_nDecodeBitmap() local 412 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in ImageDecoder_nDecodeBitmap() 413 if (ninePatchChunk == nullptr) { in ImageDecoder_nDecodeBitmap() 418 env->SetByteArrayRegion(ninePatchChunk, 0, peeker->mPatchSize, in ImageDecoder_nDecodeBitmap() 489 ninePatchChunk, ninePatchInsets); in ImageDecoder_nDecodeBitmap() 501 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
|
D | BitmapFactory.cpp | 535 jbyteArray ninePatchChunk = NULL; in doDecode() local 542 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in doDecode() 543 if (ninePatchChunk == NULL) { in doDecode() 547 jbyte* array = (jbyte*) env->GetPrimitiveArrayCritical(ninePatchChunk, NULL); in doDecode() 553 env->ReleasePrimitiveArrayCritical(ninePatchChunk, array, 0); in doDecode() 660 ninePatchChunk, ninePatchInsets, -1); in doDecode() 669 return bitmap::createBitmap(env, heapBitmap, bitmapCreateFlags, ninePatchChunk, ninePatchInsets, in doDecode()
|
D | Bitmap.cpp | 195 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument 209 isPremultiplied, ninePatchChunk, ninePatchInsets, fromMalloc); in createBitmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 137 boolean requestPremultiplied, byte[] ninePatchChunk, in Bitmap() argument 139 this(nativeBitmap, width, height, density, requestPremultiplied, ninePatchChunk, in Bitmap() 145 boolean requestPremultiplied, byte[] ninePatchChunk, in Bitmap() argument 155 mNinePatchChunk = ninePatchChunk; in Bitmap()
|