Searched refs:alphaType (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/jni/ |
D | android_view_TextureView.cpp | 76 SkAlphaType alphaType = kOpaque_SkAlphaType; in convertPixelFormat() local 80 alphaType = kPremul_SkAlphaType; in convertPixelFormat() 84 alphaType = kOpaque_SkAlphaType; in convertPixelFormat() 88 alphaType = kOpaque_SkAlphaType; in convertPixelFormat() 93 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType); in convertPixelFormat()
|
D | android_view_SurfaceControl.cpp | 155 SkAlphaType alphaType; in nativeScreenshotBitmap() local 159 alphaType = kOpaque_SkAlphaType; in nativeScreenshotBitmap() 164 alphaType = kPremul_SkAlphaType; in nativeScreenshotBitmap() 169 alphaType = kOpaque_SkAlphaType; in nativeScreenshotBitmap() 178 colorType, alphaType); in nativeScreenshotBitmap()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 66 SkAlphaType alphaType; in reconfigure() local 68 newInfo.colorType(), newInfo.alphaType(), &alphaType), in reconfigure() 78 changeAlphaType(alphaType); in reconfigure() 262 void Bitmap::setAlphaType(SkAlphaType alphaType) { in setAlphaType() argument 263 if (!SkColorTypeValidateAlphaType(info().colorType(), alphaType, &alphaType)) { in setAlphaType() 267 mPixelRef->changeAlphaType(alphaType); in setAlphaType() 484 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw; in ChooseFromColorProc() 486 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D4444 : in ChooseFromColorProc() 652 switch (src.alphaType()) { in ChooseToColorProc() 663 switch (src.alphaType()) { in ChooseToColorProc() [all …]
|
D | Bitmap.h | 74 void setAlphaType(SkAlphaType alphaType);
|
D | BitmapFactory.cpp | 386 SkAlphaType alphaType = codec->computeOutputAlphaType(requireUnpremultiplied); in doDecode() local 389 alphaType); in doDecode() 484 scaledColorType, decodingBitmap.alphaType())); in doDecode()
|
D | Graphics.cpp | 403 SkASSERT(info.alphaType() != kUnpremul_SkAlphaType); in assert_premultiplied() 405 SkASSERT(info.alphaType() != kPremul_SkAlphaType); in assert_premultiplied() 725 mRecycledBitmap->setAlphaType(bitmap->alphaType()); in allocPixelRef()
|
/frameworks/base/libs/hwui/ |
D | AssetAtlas.cpp | 118 texture->blend = !SkAlphaTypeIsOpaque(pixelRef->info().alphaType()); in createEntries()
|
D | Texture.cpp | 241 bitmap.alphaType())); in upload()
|