Searched refs:ninePatchChunk (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/libs/hwui/jni/ |
D | BitmapFactory.cpp | 397 jbyteArray ninePatchChunk = NULL; in doDecode() local 404 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in doDecode() 405 if (ninePatchChunk == NULL) { in doDecode() 409 jbyte* array = (jbyte*) env->GetPrimitiveArrayCritical(ninePatchChunk, NULL); in doDecode() 415 env->ReleasePrimitiveArrayCritical(ninePatchChunk, array, 0); in doDecode() 498 ninePatchChunk, ninePatchInsets, -1); in doDecode() 503 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
|
D | ImageDecoder.cpp | 367 jbyteArray ninePatchChunk = nullptr; in ImageDecoder_nDecodeBitmap() local 376 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in ImageDecoder_nDecodeBitmap() 377 if (ninePatchChunk == nullptr) { in ImageDecoder_nDecodeBitmap() 382 env->SetByteArrayRegion(ninePatchChunk, 0, peeker->mPatchSize, in ImageDecoder_nDecodeBitmap() 447 ninePatchChunk, ninePatchInsets); in ImageDecoder_nDecodeBitmap() 459 return bitmap::createBitmap(env, nativeBitmap.release(), bitmapCreateFlags, ninePatchChunk, in ImageDecoder_nDecodeBitmap()
|
D | Bitmap.h | 38 int bitmapCreateFlags, jbyteArray ninePatchChunk = nullptr,
|
D | Bitmap.cpp | 192 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument 206 isPremultiplied, ninePatchChunk, ninePatchInsets, fromMalloc); in createBitmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 131 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()
|