/external/chromium_org/third_party/skia/include/core/ |
H A D | SkColorTable.h | 30 SkAlphaType alphaType = kPremul_SkAlphaType); 33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkColorTable 36 return SkAlphaTypeIsOpaque(this->alphaType());
|
H A D | SkBitmap.h | 127 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 D | SkImageInfo.cpp | 11 static bool alpha_type_is_valid(SkAlphaType alphaType) { argument 12 return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType);
|
H A D | SkBitmap.cpp | 264 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 D | SkBitmapScaler.cpp | 291 source.alphaType());
|
H A D | SkScaledImageCache.cpp | 299 bitmap->alphaType()
|
/external/skia/include/core/ |
H A D | SkColorTable.h | 30 SkAlphaType alphaType = kPremul_SkAlphaType); 33 SkAlphaType alphaType() const { return (SkAlphaType)fAlphaType; } function in class:SkColorTable 36 return SkAlphaTypeIsOpaque(this->alphaType());
|
H A D | SkBitmap.h | 127 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 D | SkImageInfo.cpp | 11 static bool alpha_type_is_valid(SkAlphaType alphaType) { argument 12 return (alphaType >= 0) && (alphaType <= kLastEnum_SkAlphaType);
|
H A D | SkBitmap.cpp | 264 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 D | SkBitmapScaler.cpp | 291 source.alphaType());
|
H A D | SkScaledImageCache.cpp | 299 bitmap->alphaType()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | ImageLayerChromiumTest.cpp | 48 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 D | SkImageDecoder_libpng.cpp | 481 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 D | SkDecodingImageGenerator.cpp | 35 fRowBytes, bm->alphaType()); 132 fInfo.fAlphaType = bitmap.alphaType();
|
H A D | SkImageDecoder_libgif.cpp | 290 SkAlphaType alphaType = kOpaque_SkAlphaType; local 312 alphaType = kPremul_SkAlphaType; 321 alphaType)));
|
H A D | SkImageRef.cpp | 67 bitmap->setAlphaType(fBitmap.alphaType());
|
H A D | SkImageDecoder.cpp | 231 dst->setConfig(src->config(), w, h, 0, src->alphaType());
|
/external/skia/tests/ |
H A D | BitmapCopyTest.cpp | 67 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 D | SkDecodingImageGenerator.cpp | 35 fRowBytes, bm->alphaType()); 132 fInfo.fAlphaType = bitmap.alphaType();
|
H A D | SkImageDecoder_libpng.cpp | 336 // 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 D | SkImageDecoder_libgif.cpp | 290 SkAlphaType alphaType = kOpaque_SkAlphaType; local 312 alphaType = kPremul_SkAlphaType; 321 alphaType)));
|
H A D | SkImageRef.cpp | 71 bitmap->setAlphaType(fBitmap.alphaType());
|
H A D | SkImageDecoder.cpp | 231 dst->setConfig(src->config(), w, h, 0, src->alphaType());
|
/external/chromium_org/skia/ext/ |
H A D | image_operations.cc | 397 dest_subset.height(), 0, img.alphaType()); 513 dest_subset.height(), 0, source.alphaType());
|