Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp397 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()
DImageDecoder.cpp367 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()
DBitmap.h38 int bitmapCreateFlags, jbyteArray ninePatchChunk = nullptr,
DBitmap.cpp192 int bitmapCreateFlags, jbyteArray ninePatchChunk, jobject ninePatchInsets, in createBitmap() argument
206 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()