Lines Matching refs:peeker
122 sk_sp<NinePatchPeeker> peeker(new NinePatchPeeker); in native_create() local
125 std::move(stream), &result, peeker.get(), in native_create()
155 const bool isNinePatch = peeker->mPatch != nullptr; in native_create()
156 ImageDecoder* decoder = new ImageDecoder(std::move(androidCodec), std::move(peeker), in native_create()
409 auto* peeker = reinterpret_cast<NinePatchPeeker*>(decoder->mPeeker.get()); in ImageDecoder_nDecodeBitmap() local
410 if (peeker->mPatch != nullptr) { in ImageDecoder_nDecodeBitmap()
411 size_t ninePatchArraySize = peeker->mPatch->serializedSize(); in ImageDecoder_nDecodeBitmap()
418 env->SetByteArrayRegion(ninePatchChunk, 0, peeker->mPatchSize, in ImageDecoder_nDecodeBitmap()
419 reinterpret_cast<jbyte*>(peeker->mPatch)); in ImageDecoder_nDecodeBitmap()
422 if (peeker->mHasInsets) { in ImageDecoder_nDecodeBitmap()
423 ninePatchInsets = peeker->createNinePatchInsets(env, 1.0f); in ImageDecoder_nDecodeBitmap()