Searched refs:alphaType (Results 1 - 9 of 9) 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 = kPremul_SkAlphaType;
92 alphaType = kOpaque_SkAlphaType;
97 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType,
H A Dandroid_view_SurfaceControl.cpp199 SkAlphaType alphaType; local
203 alphaType = kOpaque_SkAlphaType;
208 alphaType = kPremul_SkAlphaType;
213 alphaType = kPremul_SkAlphaType;
218 alphaType = kOpaque_SkAlphaType;
237 alphaType,
/frameworks/base/libs/hwui/hwui/
H A DBitmap.cpp156 SkAlphaType alphaType; local
158 info.colorType(), info.alphaType(), &alphaType),
160 return info.makeAlphaType(alphaType);
215 mInfo.alphaType(), nullptr);
286 void Bitmap::setAlphaType(SkAlphaType alphaType) { argument
287 if (!SkColorTypeValidateAlphaType(info().colorType(), alphaType, &alphaType)) {
291 mInfo = mInfo.makeAlphaType(alphaType);
299 info().colorType(), info().alphaType(), nullpt
[all...]
H A DBitmap.h75 void setAlphaType(SkAlphaType alphaType);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp94 void setAlphaType(SkAlphaType alphaType) { argument
96 mBitmap->setAlphaType(alphaType);
177 SkASSERT(info.alphaType() != kUnpremul_SkAlphaType);
179 SkASSERT(info.alphaType() != kPremul_SkAlphaType);
421 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D32 : FromColor_D32_Raw;
423 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_D4444 :
430 return bitmap.alphaType() == kPremul_SkAlphaType ? FromColor_F16 : FromColor_F16_Raw;
585 switch (src.alphaType()) {
596 switch (src.alphaType()) {
611 switch (src.alphaType()) {
873 SkAlphaType alphaType; local
1017 const SkAlphaType alphaType = (SkAlphaType)p->readInt32(); local
[all...]
H A DBitmapFactory.cpp385 SkAlphaType alphaType = codec->computeOutputAlphaType(requireUnpremultiplied); local
388 decodeColorType, alphaType, decodeColorSpace);
487 // FIXME: If the alphaType is kUnpremul and the image has alpha, the
H A DGraphics.cpp668 mRecycledBitmap->setAlphaType(bitmap->alphaType());
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaOpenGLPipeline.cpp317 bitmap.allocPixels(SkImageInfo::MakeN32(info.width(), info.height(), info.alphaType(),
/frameworks/base/libs/hwui/
H A DTexture.cpp254 bitmap.info().alphaType(), hasLinearBlending ? sRGB : nullptr));

Completed in 569 milliseconds