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

/external/chromium_org/third_party/skia/include/core/
H A DSkColorTable.h30 SkAlphaType alphaType = kPremul_SkAlphaType);
33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkColorTable
36 return SkAlphaTypeIsOpaque(this->alphaType());
H A DSkBitmap.h127 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkBitmap
130 * Set the bitmap's alphaType, returning true on success. If false is
131 * returned, then the specified new alphaType is incompatible with the
132 * Config, and the current alphaType is unchanged.
182 return SkAlphaTypeIsOpaque(this->alphaType());
/external/chromium_org/third_party/skia/src/core/
H A DSkImageInfo.cpp11 static bool alpha_type_is_valid(SkAlphaType alphaType) { argument
12 return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType);
H A DSkBitmap.cpp264 static bool validate_alphaType(SkBitmap::Config config, SkAlphaType alphaType, argument
268 alphaType = kIgnore_SkAlphaType;
271 if (kUnpremul_SkAlphaType == alphaType) {
272 alphaType = kPremul_SkAlphaType;
278 if (kIgnore_SkAlphaType == alphaType) {
283 alphaType = kOpaque_SkAlphaType;
289 *canonical = alphaType;
295 SkAlphaType alphaType) {
306 if (!validate_alphaType(config, alphaType, &alphaType)) {
294 setConfig(Config config, int width, int height, size_t rowBytes, SkAlphaType alphaType) argument
334 setAlphaType(SkAlphaType alphaType) argument
1610 SkAlphaType alphaType = (SkAlphaType)buffer.readInt(); local
[all...]
H A DSkBitmapScaler.cpp291 source.alphaType());
H A DSkScaledImageCache.cpp299 bitmap->alphaType()
/external/skia/include/core/
H A DSkColorTable.h30 SkAlphaType alphaType = kPremul_SkAlphaType);
33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkColorTable
36 return SkAlphaTypeIsOpaque(this->alphaType());
H A DSkBitmap.h127 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkBitmap
130 * Set the bitmap's alphaType, returning true on success. If false is
131 * returned, then the specified new alphaType is incompatible with the
132 * Config, and the current alphaType is unchanged.
182 return SkAlphaTypeIsOpaque(this->alphaType());
/external/skia/src/core/
H A DSkImageInfo.cpp11 static bool alpha_type_is_valid(SkAlphaType alphaType) { argument
12 return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType);
H A DSkBitmap.cpp264 static bool validate_alphaType(SkBitmap::Config config, SkAlphaType alphaType, argument
268 alphaType = kIgnore_SkAlphaType;
271 if (kUnpremul_SkAlphaType == alphaType) {
272 alphaType = kPremul_SkAlphaType;
278 if (kIgnore_SkAlphaType == alphaType) {
283 alphaType = kOpaque_SkAlphaType;
289 *canonical = alphaType;
295 SkAlphaType alphaType) {
306 if (!validate_alphaType(config, alphaType, &alphaType)) {
294 setConfig(Config config, int width, int height, size_t rowBytes, SkAlphaType alphaType) argument
334 setAlphaType(SkAlphaType alphaType) argument
1610 SkAlphaType alphaType = (SkAlphaType)buffer.readInt(); local
[all...]
H A DSkBitmapScaler.cpp291 source.alphaType());
H A DSkScaledImageCache.cpp299 bitmap->alphaType()
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DImageLayerChromiumTest.cpp48 static PassRefPtr<TestImage> create(const IntSize& size, SkAlphaType alphaType) argument
50 return adoptRef(new TestImage(size, alphaType));
53 explicit TestImage(const IntSize& size, SkAlphaType alphaType) argument
58 m_nativeImage->bitmap().setConfig(SkBitmap::kARGB_8888_Config, size.width(), size.height(), 0, alphaType);
/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_libpng.cpp481 SkAlphaType alphaType = kOpaque_SkAlphaType; local
484 alphaType = kUnpremul_SkAlphaType;
486 alphaType = kPremul_SkAlphaType;
489 decodedBitmap->setAlphaType(alphaType);
722 SkAlphaType alphaType = kOpaque_SkAlphaType; local
725 alphaType = kUnpremul_SkAlphaType;
727 alphaType = kPremul_SkAlphaType;
732 (colorStorage, colorCount, alphaType));
979 SkAlphaType alphaType = kOpaque_SkAlphaType; local
982 alphaType
[all...]
H A DSkDecodingImageGenerator.cpp35 fRowBytes, bm->alphaType());
132 fInfo.fAlphaType = bitmap.alphaType();
H A DSkImageDecoder_libgif.cpp290 SkAlphaType alphaType = kOpaque_SkAlphaType; local
312 alphaType = kPremul_SkAlphaType;
321 alphaType)));
H A DSkImageRef.cpp67 bitmap->setAlphaType(fBitmap.alphaType());
H A DSkImageDecoder.cpp231 dst->setConfig(src->config(), w, h, 0, src->alphaType());
/external/skia/tests/
H A DBitmapCopyTest.cpp67 static SkColorTable* init_ctable(SkAlphaType alphaType) { argument
71 return new SkColorTable(colors, SK_ARRAY_COUNT(colors), alphaType);
296 subset.alphaType() == bitmap.alphaType());
318 subset.alphaType() == bitmap.alphaType());
/external/skia/src/images/
H A DSkDecodingImageGenerator.cpp35 fRowBytes, bm->alphaType());
132 fInfo.fAlphaType = bitmap.alphaType();
H A DSkImageDecoder_libpng.cpp336 // we should communicate alphaType, even if we early-return in bounds-only-mode.
721 SkAlphaType alphaType = kOpaque_SkAlphaType; local
724 alphaType = kUnpremul_SkAlphaType;
726 alphaType = kPremul_SkAlphaType;
731 (colorStorage, colorCount, alphaType));
978 SkAlphaType alphaType = kOpaque_SkAlphaType; local
981 alphaType = kUnpremul_SkAlphaType;
983 alphaType = kPremul_SkAlphaType;
986 decodedBitmap.setAlphaType(alphaType);
H A DSkImageDecoder_libgif.cpp290 SkAlphaType alphaType = kOpaque_SkAlphaType; local
312 alphaType = kPremul_SkAlphaType;
321 alphaType)));
H A DSkImageRef.cpp71 bitmap->setAlphaType(fBitmap.alphaType());
H A DSkImageDecoder.cpp231 dst->setConfig(src->config(), w, h, 0, src->alphaType());
/external/chromium_org/skia/ext/
H A Dimage_operations.cc397 dest_subset.height(), 0, img.alphaType());
513 dest_subset.height(), 0, source.alphaType());

Completed in 2395 milliseconds