Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp167 auto brd = android::BitmapRegionDecoderWrapper::Make(std::move(data)); in createBitmapRegionDecoder() local
168 if (!brd) { in createBitmapRegionDecoder()
173 return GraphicsJNI::createBitmapRegionDecoder(env, brd.release()); in createBitmapRegionDecoder()
199 jobject brd = nullptr; in nativeNewInstanceFromStream() local
203 brd = createBitmapRegionDecoder(env, std::move(data)); in nativeNewInstanceFromStream()
205 return brd; in nativeNewInstanceFromStream()
263 auto* brd = reinterpret_cast<BitmapRegionDecoderWrapper*>(brdHandle); in nativeDecodeRegion() local
264 SkColorType decodeColorType = brd->computeOutputColorType(colorType); in nativeDecodeRegion()
289 sk_sp<SkColorSpace> decodeColorSpace = brd->computeOutputColorSpace( in nativeDecodeRegion()
295 if (!brd->decodeRegion(&bitmap, allocator, subset, sampleSize, in nativeDecodeRegion()
[all …]
/frameworks/opt/bitmap/src/com/android/bitmap/
DDecodeTask.java310 final BitmapRegionDecoder brd; in decode() local
312 brd = BitmapRegionDecoder in decode()
315 brd = BitmapRegionDecoder.newInstance(in, true /* shareable */); in decode()
342 bitmap = brd.decodeRegion(srcRect, mOpts); in decode()
344 brd.recycle(); in decode()