/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/ |
D | PNGImageDecoder.cpp | 170 void setHasAlpha(bool hasAlpha) { m_hasAlpha = hasAlpha; } in setHasAlpha() argument 171 bool hasAlpha() const { return m_hasAlpha; } in hasAlpha() function in WebCore::PNGImageReader 180 void createColorTransform(const ColorProfile& colorProfile, bool hasAlpha) in createColorTransform() argument 196 qcms_data_type dataFormat = hasAlpha ? QCMS_DATA_RGBA_8 : QCMS_DATA_RGB_8; in createColorTransform() 409 unsigned colorChannels = m_reader->hasAlpha() ? 4 : 3; in rowAvailable() 474 bool hasAlpha = m_reader->hasAlpha(); in rowAvailable() local 475 unsigned colorChannels = hasAlpha ? 4 : 3; in rowAvailable() 497 unsigned alpha = hasAlpha ? pixel[3] : 255; in rowAvailable() 502 if (nonTrivialAlpha && !buffer.hasAlpha()) in rowAvailable()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkConvolver.cpp | 114 template<bool hasAlpha> 137 if (hasAlpha) { in ConvolveHorizontally() 147 if (hasAlpha) { in ConvolveHorizontally() 155 if (hasAlpha) { in ConvolveHorizontally() 167 template<bool hasAlpha> 187 if (hasAlpha) { in ConvolveVertically() 197 if (hasAlpha) { in ConvolveVertically() 205 if (hasAlpha) { in ConvolveVertically()
|
D | SkConvolver.h | 150 bool hasAlpha); 159 bool hasAlpha);
|
/external/skia/src/core/ |
D | SkConvolver.cpp | 114 template<bool hasAlpha> 137 if (hasAlpha) { in ConvolveHorizontally() 147 if (hasAlpha) { in ConvolveHorizontally() 155 if (hasAlpha) { in ConvolveHorizontally() 167 template<bool hasAlpha> 187 if (hasAlpha) { in ConvolveVertically() 197 if (hasAlpha) { in ConvolveVertically() 205 if (hasAlpha) { in ConvolveVertically()
|
D | SkConvolver.h | 150 bool hasAlpha); 159 bool hasAlpha);
|
/external/chromium_org/third_party/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 106 SkBitmap::Config *config, bool *hasAlpha, 325 bool hasAlpha = false; in onDecode() local 328 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) { in onDecode() 349 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode() 402 } else if (hasAlpha) { in onDecode() 795 bool hasAlpha = false; in onDecodeSubset() local 798 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) { in onDecodeSubset() 817 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecodeSubset() 899 } else if (hasAlpha) { in onDecodeSubset() 1011 bool hasAlpha) { in choose_proc() argument [all …]
|
D | SkImageDecoder_libwebp.cpp | 302 int origWidth, origHeight, hasAlpha; in onBuildTileIndex() local 303 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onBuildTileIndex() 318 this->fHasAlpha = hasAlpha; in onBuildTileIndex() 406 int origWidth, origHeight, hasAlpha; in onDecode() local 407 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode() 410 this->fHasAlpha = hasAlpha; in onDecode() 576 int width, height, hasAlpha; in sk_libwebp_dfactory() local 577 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) { in sk_libwebp_dfactory() 586 int width, height, hasAlpha; in get_format_webp() local 587 if (webp_parse_header(stream, &width, &height, &hasAlpha)) { in get_format_webp()
|
/external/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 106 SkBitmap::Config *config, bool *hasAlpha, 325 bool hasAlpha = false; in onDecode() local 328 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) { in onDecode() 354 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode() 407 } else if (hasAlpha) { in onDecode() 794 bool hasAlpha = false; in onDecodeSubset() local 797 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) { in onDecodeSubset() 816 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecodeSubset() 898 } else if (hasAlpha) { in onDecodeSubset() 1010 bool hasAlpha) { in choose_proc() argument [all …]
|
D | SkImageDecoder_libwebp.cpp | 302 int origWidth, origHeight, hasAlpha; in onBuildTileIndex() local 303 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onBuildTileIndex() 318 this->fHasAlpha = hasAlpha; in onBuildTileIndex() 406 int origWidth, origHeight, hasAlpha; in onDecode() local 407 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode() 410 this->fHasAlpha = hasAlpha; in onDecode() 576 int width, height, hasAlpha; in sk_libwebp_dfactory() local 577 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) { in sk_libwebp_dfactory() 586 int width, height, hasAlpha; in get_format_webp() local 587 if (webp_parse_header(stream, &width, &height, &hasAlpha)) { in get_format_webp()
|
/external/chromium_org/content/renderer/device_orientation/ |
D | device_orientation_event_pump_unittest.cc | 80 data.hasAlpha = true; in InitBuffer() 114 EXPECT_TRUE(received_data.hasAlpha); in TEST_F() 143 EXPECT_TRUE(received_data.hasAlpha); in TEST_F() 161 EXPECT_TRUE(received_data.hasAlpha); in TEST_F()
|
D | device_orientation_event_pump.cc | 65 data_.hasAlpha, data_.alpha, data.hasAlpha, data.alpha) || in ShouldFireEvent()
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
D | ImageFrameGeneratorTest.cpp | 140 EXPECT_TRUE(m_generator->hasAlpha(0)); in TEST_F() 156 EXPECT_TRUE(m_generator->hasAlpha(0)); in TEST_F() 163 EXPECT_TRUE(m_generator->hasAlpha(0)); in TEST_F() 176 EXPECT_FALSE(m_generator->hasAlpha(0)); in TEST_F() 184 EXPECT_FALSE(m_generator->hasAlpha(0)); in TEST_F() 191 EXPECT_FALSE(m_generator->hasAlpha(0)); in TEST_F() 410 EXPECT_TRUE(m_generator->hasAlpha(1)); in TEST_F() 420 EXPECT_FALSE(m_generator->hasAlpha(1)); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | WEBPImageDecoderTest.cpp | 218 bool hasAlpha; in TEST_F() member 237 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha()); in TEST_F() 260 bool hasAlpha; in TEST_F() member 280 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha()); in TEST_F() 303 bool hasAlpha; in TEST_F() member 323 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha()); in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | StyleColor.h | 70 bool hasAlpha() const { return m_color.hasAlpha(); } in hasAlpha() function
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
D | ImageFrame.cpp | 70 setHasAlpha(other.hasAlpha()); in operator =() 124 bool ImageFrame::hasAlpha() const in hasAlpha() function in WebCore::ImageFrame
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | Color.js | 229 hasAlpha: function() 239 if (this.hasAlpha()) 289 if (this.hasAlpha()) 295 if (this.hasAlpha()) 303 if (this.hasAlpha())
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/ |
D | MockImageDecoder.h | 110 void setFrameHasAlpha(bool hasAlpha) { m_frameBufferCache[0].setHasAlpha(hasAlpha); } in setFrameHasAlpha() argument
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
D | WEBPImageDecoder.cpp | 44 inline WEBP_CSP_MODE outputMode(bool hasAlpha) { return hasAlpha ? MODE_rgbA : MODE_RGBA; } in outputMode() argument 46 inline WEBP_CSP_MODE outputMode(bool hasAlpha) { return hasAlpha ? MODE_bgrA : MODE_BGRA; } in outputMode() argument 301 …m_frameBackgroundHasAlpha = prevBuffer.hasAlpha() || (prevBuffer.disposalMethod() == ImageFrame::D… in initFrameBuffer()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebDeviceOrientationData.h | 53 bool hasAlpha : 1; variable
|
/external/skia/bench/ |
D | GradientBench.cpp | 266 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument 267 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench() 268 fHasAlpha = hasAlpha; in Gradient2Bench()
|
/external/skia/src/opts/ |
D | SkBitmapProcState_arm_neon.cpp | 104 bool hasAlpha) { in convolveHorizontally_neon() argument 203 template<bool hasAlpha> 260 if (hasAlpha) { in convolveVertically_neon() 319 if (hasAlpha) { in convolveVertically_neon()
|
/external/chromium_org/third_party/skia/src/opts/ |
D | SkBitmapProcState_arm_neon.cpp | 104 bool hasAlpha) { in convolveHorizontally_neon() argument 203 template<bool hasAlpha> 260 if (hasAlpha) { in convolveVertically_neon() 319 if (hasAlpha) { in convolveVertically_neon()
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
D | CanvasRenderingContext.h | 58 virtual bool hasAlpha() const { return true; } in hasAlpha() function
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLCanvasElement.cpp | 319 …CompositeOperator compositeOperator = !m_context || m_context->hasAlpha() ? CompositeSourceOver : … in paint() 430 OpacityMode opacityMode = !m_context || m_context->hasAlpha() ? NonOpaque : Opaque; in createImageBufferSurface() 531 OpacityMode opacityMode = !m_context || m_context->hasAlpha() ? NonOpaque : Opaque; in ensureUnacceleratedImageBuffer()
|
/external/chromium_org/third_party/WebKit/Source/modules/device_orientation/ |
D | DeviceOrientationData.cpp | 44 …return DeviceOrientationData::create(data.hasAlpha, data.alpha, data.hasBeta, data.beta, data.hasG… in create()
|