Searched refs:alphaType (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_view_TextureView.cpp76 SkAlphaType alphaType = kOpaque_SkAlphaType; local
80 alphaType = kPremul_SkAlphaType;
84 alphaType = kOpaque_SkAlphaType;
88 alphaType = kOpaque_SkAlphaType;
93 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType);
H A Dandroid_view_SurfaceControl.cpp155 SkAlphaType alphaType; local
159 alphaType = kOpaque_SkAlphaType;
164 alphaType = kPremul_SkAlphaType;
169 alphaType = kOpaque_SkAlphaType;
178 colorType, alphaType);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp65 SkAlphaType alphaType; local
67 newInfo.colorType(), newInfo.alphaType(), &alphaType),
77 changeAlphaType(alphaType);
261 void Bitmap::setAlphaType(SkAlphaType alphaType) { argument
262 if (!SkColorTypeValidateAlphaType(info().colorType(), alphaType, &alphaType)) {
266 mPixelRef->changeAlphaType(alphaType);
483 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw;
485 return bitmap.alphaType()
815 SkAlphaType alphaType; local
957 const SkAlphaType alphaType = (SkAlphaType)p->readInt32(); local
[all...]
H A DBitmap.h74 void setAlphaType(SkAlphaType alphaType);
H A DBitmapFactory.cpp386 SkAlphaType alphaType = codec->computeOutputAlphaType(requireUnpremultiplied); local
389 alphaType);
480 // FIXME: If the alphaType is kUnpremul and the image has alpha, the
484 scaledColorType, decodingBitmap.alphaType()));
H A DGraphics.cpp403 SkASSERT(info.alphaType() != kUnpremul_SkAlphaType);
405 SkASSERT(info.alphaType() != kPremul_SkAlphaType);
724 mRecycledBitmap->setAlphaType(bitmap->alphaType());
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp118 texture->blend = !SkAlphaTypeIsOpaque(pixelRef->info().alphaType());
H A DTexture.cpp241 bitmap.alphaType()));

Completed in 448 milliseconds