Home
last modified time | relevance | path

Searched refs:mPeeker (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DImageDecoder.h51 sk_sp<NinePatchPeeker> mPeeker; member
54 :mPeeker(new NinePatchPeeker) in ImageDecoder()
DImageDecoder.cpp88 auto codec = SkCodec::MakeFromStream(std::move(stream), &result, decoder->mPeeker.get()); in native_create()
120 const bool isNinePatch = decoder->mPeeker->mPatch != nullptr; in native_create()
347 if (decoder->mPeeker->mPatch != nullptr) { in ImageDecoder_nDecodeBitmap()
348 size_t ninePatchArraySize = decoder->mPeeker->mPatch->serializedSize(); in ImageDecoder_nDecodeBitmap()
355 env->SetByteArrayRegion(ninePatchChunk, 0, decoder->mPeeker->mPatchSize, in ImageDecoder_nDecodeBitmap()
356 reinterpret_cast<jbyte*>(decoder->mPeeker->mPatch)); in ImageDecoder_nDecodeBitmap()
359 if (decoder->mPeeker->mHasInsets) { in ImageDecoder_nDecodeBitmap()
360 ninePatchInsets = decoder->mPeeker->createNinePatchInsets(env, 1.0f); in ImageDecoder_nDecodeBitmap()
497 decoder->mPeeker->getPadding(env, outPadding); in ImageDecoder_nGetPadding()