Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapRegionDecoder.cpp40 auto brd = skia::BitmapRegionDecoder::Make(std::move(data)); in createBitmapRegionDecoder() local
41 if (!brd) { in createBitmapRegionDecoder()
46 return GraphicsJNI::createBitmapRegionDecoder(env, brd.release()); in createBitmapRegionDecoder()
72 jobject brd = nullptr; in nativeNewInstanceFromStream() local
76 brd = createBitmapRegionDecoder(env, std::move(data)); in nativeNewInstanceFromStream()
78 return brd; in nativeNewInstanceFromStream()
138 auto* brd = reinterpret_cast<skia::BitmapRegionDecoder*>(brdHandle); in nativeDecodeRegion() local
139 SkColorType decodeColorType = brd->computeOutputColorType(colorType); in nativeDecodeRegion()
164 sk_sp<SkColorSpace> decodeColorSpace = brd->computeOutputColorSpace( in nativeDecodeRegion()
170 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()