Home
last modified time | relevance | path

Searched refs:alphaType (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/jni/android/graphics/
DBitmap.cpp105 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw; in ChooseFromColorProc()
107 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D4444 : in ChooseFromColorProc()
265 switch (src.alphaType()) { in ChooseToColorProc()
276 switch (src.alphaType()) { in ChooseToColorProc()
292 switch (src.alphaType()) { in ChooseToColorProc()
407 SkAlphaType alphaType; in Bitmap_reconfigure() local
409 && bitmap->alphaType() == kOpaque_SkAlphaType) { in Bitmap_reconfigure()
412 alphaType = kOpaque_SkAlphaType; in Bitmap_reconfigure()
415 alphaType = requestPremul ? kPremul_SkAlphaType : kUnpremul_SkAlphaType; in Bitmap_reconfigure()
417 bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType)); in Bitmap_reconfigure()
[all …]
DGraphics.cpp414 SkASSERT(bitmap.alphaType() != kUnpremul_SkAlphaType); in assert_premultiplied()
416 SkASSERT(bitmap.alphaType() != kPremul_SkAlphaType); in assert_premultiplied()
DBitmapFactory.cpp399 colorType, decodingBitmap.alphaType())); in doDecode()
/frameworks/base/libs/hwui/
DTextureCache.cpp350 rgbaBitmap.allocPixels(SkImageInfo::MakeN32(width, height, bitmap->alphaType())); in uploadLoFiTexture()