Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DBitmapFactory.cpp409 jbyteArray ninePatchChunk = NULL; in doDecode() local
416 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in doDecode()
417 if (ninePatchChunk == NULL) { in doDecode()
421 jbyte* array = (jbyte*) env->GetPrimitiveArrayCritical(ninePatchChunk, NULL); in doDecode()
427 env->ReleasePrimitiveArrayCritical(ninePatchChunk, array, 0); in doDecode()
510 ninePatchChunk, ninePatchInsets, -1); in doDecode()
515 bitmapCreateFlags, ninePatchChunk, ninePatchInsets, -1); in doDecode()
DImageDecoder.cpp343 jbyteArray ninePatchChunk = nullptr; in ImageDecoder_nDecodeBitmap() local
351 ninePatchChunk = env->NewByteArray(ninePatchArraySize); in ImageDecoder_nDecodeBitmap()
352 if (ninePatchChunk == nullptr) { in ImageDecoder_nDecodeBitmap()
357 env->SetByteArrayRegion(ninePatchChunk, 0, decoder->mPeeker->mPatchSize, in ImageDecoder_nDecodeBitmap()
473 ninePatchChunk, ninePatchInsets); in ImageDecoder_nDecodeBitmap()
485 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()