/external/webkit/Source/WebCore/platform/graphics/skia/ |
GraphicsContext3DSkia.cpp | 56 bool hasAlpha = skiaImage ? !skiaImage->isOpaque() : true; 57 if ((!skiaImage || ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && image->data()) { 64 hasAlpha = decoder.frameHasAlphaAtIndex(0); 72 if (hasAlpha && premultiplyAlpha) 74 } else if (!premultiplyAlpha && hasAlpha)
|
/external/webkit/Source/WebKit/qt/WebCoreSupport/ |
DeviceOrientationProviderQt.h | 46 bool hasAlpha() const { return m_rotation.property("hasZ").toBool(); }
|
DeviceMotionProviderQt.cpp | 59 m_deviceOrientation->hasAlpha(), m_deviceOrientation->orientation()->alpha(),
|
DeviceOrientationProviderQt.cpp | 61 // The Z (alpha) rotation angle is checked via hasAlpha() private method, 64 m_orientation = DeviceOrientation::create(hasAlpha(), reading->z(),
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
Shape.java | 84 public boolean hasAlpha() {
|
/external/skia/src/images/ |
SkImageDecoder_libwebp.cpp | 113 int hasAlpha; 148 static WEBP_CSP_MODE webp_decode_mode(SkBitmap* decodedBitmap, int hasAlpha) { 155 mode = hasAlpha ? MODE_rgbA : MODE_RGBA; 157 mode = hasAlpha ? MODE_rgbA_4444 : MODE_RGBA_4444; 217 int width, int height, int hasAlpha) { 218 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, hasAlpha); 245 SkIRect region, int hasAlpha) { 248 config, decodedBitmap, region.width(), region.height(), hasAlpha)) { 263 SkBitmap::Config config = this->getPrefConfig(k32Bit_SrcDepth, hasAlpha); 266 if (hasAlpha) { [all...] |
SkImageDecoder_libpng.cpp | 70 SkBitmap::Config *config, bool *hasAlpha, bool *doDither, 274 bool hasAlpha = false; 278 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, 313 decodePalette(png_ptr, info_ptr, &hasAlpha, 361 } else if (hasAlpha) { 641 bool hasAlpha = false; 645 if (getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, 668 decodePalette(png_ptr, info_ptr, &hasAlpha, 735 } else if (hasAlpha) { 916 bool hasAlpha) [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
ImageHaiku.cpp | 131 bool hasAlpha = false; 138 for (uint32 y = 0; y < height && !hasAlpha; y++) { 140 for (uint32 x = 0; x < width && !hasAlpha; x++) { 141 hasAlpha = p[3] < 255; 148 if (hasAlpha)
|
/external/webkit/Source/WebCore/platform/graphics/win/ |
GraphicsContextCairoWin.cpp | 39 static cairo_t* createCairoContextWithHDC(HDC hdc, bool hasAlpha) 67 GraphicsContext::GraphicsContext(HDC dc, bool hasAlpha) 70 platformInit(dc, hasAlpha); 73 void GraphicsContext::platformInit(HDC dc, bool hasAlpha) 77 cr = createCairoContextWithHDC(dc, hasAlpha);
|
GraphicsContextCGWin.cpp | 40 static CGContextRef CGContextWithHDC(HDC hdc, bool hasAlpha) 55 CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Little | (hasAlpha ? kCGImageAlphaPremultipliedFirst : kCGImageAlphaNoneSkipFirst); 69 GraphicsContext::GraphicsContext(HDC hdc, bool hasAlpha) 72 platformInit(hdc, hasAlpha); 75 void GraphicsContext::platformInit(HDC hdc, bool hasAlpha) 77 m_data = new GraphicsContextPlatformPrivate(CGContextWithHDC(hdc, hasAlpha));
|
QTDecompressionSession.cpp | 84 bool hasAlpha = pixelFormatInfo.formatFlags & kICMPixelFormatHasAlphaChannel; 87 if (hasAlpha)
|
/external/webkit/Source/WebCore/html/ |
ColorInputType.cpp | 52 return color.isValid() && !color.hasAlpha();
|
/external/webkit/Source/WebKit/mac/Carbon/ |
CarbonUtils.m | 34 extern CGImageRef _NSCreateImageRef( unsigned char *const bitmapData[5], int pixelsWide, int pixelsHigh, int bitsPerSample, int samplesPerPixel, int bitsPerPixel, int bytesPerRow, BOOL isPlanar, BOOL hasAlpha, NSString *colorSpaceName, CGColorSpaceRef customColorSpace, id sourceObj); 125 [rep bytesPerRow], [rep isPlanar], [rep hasAlpha], [rep colorSpaceName],
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
PNGImageDecoder.cpp | 155 bool hasAlpha() const { return m_hasAlpha; } 352 m_reader->createInterlaceBuffer((m_reader->hasAlpha() ? 4 : 3) * size().width() * size().height()); 387 bool hasAlpha = m_reader->hasAlpha(); 388 unsigned colorChannels = hasAlpha ? 4 : 3; 407 unsigned alpha = hasAlpha ? pixel[3] : 255; 411 if (nonTrivialAlpha && !buffer.hasAlpha())
|
/frameworks/base/libs/hwui/ |
GradientCache.cpp | 138 bool hasAlpha = false; 141 hasAlpha = true; 147 info.hasAlpha = hasAlpha; 159 texture->blend = info.hasAlpha;
|
/external/webkit/Source/WebCore/platform/graphics/wince/ |
SharedBitmap.h | 48 static PassRefPtr<SharedBitmap> create(const Vector<unsigned>&, const IntSize&, bool hasAlpha = true); 66 bool hasAlpha() const { return m_hasAlpha; } 78 bool canUseDIBits() const { return !hasAlpha() && !usesTransparentColor(); }
|
/frameworks/base/graphics/java/android/graphics/ |
Bitmap.java | 588 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha()); 600 transformed || source.hasAlpha()); 659 * @param hasAlpha If the bitmap is ARGB_8888 this flag can be used to mark the 665 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) { 666 return createBitmap(null, width, height, config, hasAlpha); 678 * @param hasAlpha If the bitmap is ARGB_8888 this flag can be used to mark the 685 Config config, boolean hasAlpha) { 693 if (config == Config.ARGB_8888 && !hasAlpha) { 695 nativeSetHasAlpha(bm.mNativeBitmap, hasAlpha); [all...] |
NinePatch.java | 145 public final boolean hasAlpha() { 146 return mBitmap.hasAlpha();
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
NinePatchTest.java | 135 assertFalse(mNinePatch.hasAlpha()); 136 assertEquals(mNinePatch.hasAlpha(), mBitmap.hasAlpha()); 142 assertTrue(ninePatch.hasAlpha()); 143 assertEquals(ninePatch.hasAlpha(), bitmap.hasAlpha());
|
/external/skia/src/pdf/ |
SkPDFImage.cpp | 29 bool hasAlpha = false; 79 hasAlpha = true; 93 hasAlpha = true; 134 hasAlpha = true; 166 hasAlpha = true; 178 hasAlpha = true; 199 hasAlpha = true; 220 if (isTransparent || !hasAlpha) {
|
/external/webkit/Source/WebCore/platform/graphics/android/rendering/ |
RasterRenderer.cpp | 83 m_bitmap.setIsOpaque(!background->hasAlpha());
|
/external/webkit/Source/WebCore/platform/graphics/qt/ |
ImageQt.cpp | 123 ctxt->setCompositeOperation(!pixmap.hasAlpha() && op == CompositeSourceOver ? CompositeCopy : op); 136 if (pixmap.hasAlpha()) 190 m_frames[0].m_hasAlpha = pixmap->hasAlpha(); 225 ctxt->setCompositeOperation(!image->hasAlpha() && op == CompositeSourceOver ? CompositeCopy : op);
|
/external/webkit/Source/WebCore/platform/image-decoders/openvg/ |
ImageDecoderOpenVG.cpp | 41 const VGImageFormat imageFormat = hasAlpha() ? bufferFormat : VG_sRGB_565;
|
/external/webkit/Source/WebCore/platform/image-decoders/skia/ |
ImageDecoderSkia.cpp | 110 bool ImageFrame::hasAlpha() const
|
/frameworks/base/core/java/android/view/animation/ |
AlphaAnimation.java | 86 public boolean hasAlpha() {
|