HomeSort by relevance Sort by last modified time
    Searched defs:hasAlpha (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/
ImageFrame.cpp 70 setHasAlpha(other.hasAlpha());
124 bool ImageFrame::hasAlpha() const
  /frameworks/base/core/java/android/view/animation/
AlphaAnimation.java 86 public boolean hasAlpha() {
AnimationSet.java 181 public boolean hasAlpha() {
189 if (animations.get(i).hasAlpha()) {
  /frameworks/base/graphics/java/android/graphics/drawable/shapes/
Shape.java 84 public boolean 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());
BitmapTest.java 474 assertFalse(mBitmap.hasAlpha());
476 assertTrue(mBitmap.hasAlpha());
  /external/chromium_org/third_party/WebKit/Source/core/html/canvas/
CanvasRenderingContext.h 58 virtual bool hasAlpha() const { return true; }
  /external/chromium_org/third_party/WebKit/Source/core/css/
StyleColor.h 70 bool hasAlpha() const { return m_color.hasAlpha(); }
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ImageFrameGenerator.cpp 291 bool ImageFrameGenerator::hasAlpha(size_t index)
Color.h 99 bool hasAlpha() const { return alpha() < 255; }
Gradient.cpp 110 bool Gradient::hasAlpha() const
GraphicsContext3D.cpp 716 bool hasAlpha = m_skiaImage ? !m_skiaImage->bitmap().isOpaque() : true;
717 if ((!m_skiaImage || ignoreGammaAndColorProfile || (hasAlpha && !premultiplyAlpha)) && m_image->data()) {
730 hasAlpha = frame->hasAlpha();
738 if (hasAlpha && premultiplyAlpha)
740 } else if (!premultiplyAlpha && hasAlpha) {
    [all...]
  /frameworks/base/graphics/java/android/graphics/
NinePatch.java 202 * This is equivalent to calling <code>getBitmap().hasAlpha()</code> on this
205 public final boolean hasAlpha() {
206 return mBitmap.hasAlpha();
Bitmap.java 558 b.setAlphaAndPremultiplied(hasAlpha(), mIsPremultiplied);
708 bitmap = createBitmap(neww, newh, newConfig, source.hasAlpha());
720 transformed || source.hasAlpha());
735 bitmap.setAlphaAndPremultiplied(source.hasAlpha(), source.mIsPremultiplied);
780 * @param hasAlpha If the bitmap is ARGB_8888 this flag can be used to mark the
786 private static Bitmap createBitmap(int width, int height, Config config, boolean hasAlpha) {
787 return createBitmap(null, width, height, config, hasAlpha);
799 * @param hasAlpha If the bitmap is ARGB_8888 this flag can be used to mark the
806 Config config, boolean hasAlpha) {
814 bm.setHasAlpha(hasAlpha);
    [all...]
  /frameworks/base/libs/hwui/
GradientCache.h 158 bool hasAlpha;
GradientCache.cpp 158 bool hasAlpha = false;
161 hasAlpha = true;
167 info.hasAlpha = hasAlpha;
179 texture->blend = info.hasAlpha;
  /cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/
ShapeTest.java 92 assertTrue(shape.hasAlpha());
  /external/chromium_org/third_party/WebKit/Source/web/tests/
WEBPImageDecoderTest.cpp 218 bool hasAlpha;
237 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha());
260 bool hasAlpha;
280 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha());
303 bool hasAlpha;
323 EXPECT_EQ(frameParameters[i].hasAlpha, frame->hasAlpha());
  /external/chromium_org/third_party/WebKit/Source/platform/image-decoders/png/
PNGImageDecoder.cpp 170 void setHasAlpha(bool hasAlpha) { m_hasAlpha = hasAlpha; }
171 bool hasAlpha() const { return m_hasAlpha; }
180 void createColorTransform(const ColorProfile& colorProfile, bool hasAlpha)
196 qcms_data_type dataFormat = hasAlpha ? QCMS_DATA_RGBA_8 : QCMS_DATA_RGB_8;
409 unsigned colorChannels = m_reader->hasAlpha() ? 4 : 3;
474 bool hasAlpha = m_reader->hasAlpha();
475 unsigned colorChannels = hasAlpha ? 4 : 3;
497 unsigned alpha = hasAlpha ? pixel[3] : 255
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libwebp.cpp 302 int origWidth, origHeight, hasAlpha;
303 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
318 this->fHasAlpha = hasAlpha;
406 int origWidth, origHeight, hasAlpha;
407 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
410 this->fHasAlpha = hasAlpha;
576 int width, height, hasAlpha;
577 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) {
586 int width, height, hasAlpha;
587 if (webp_parse_header(stream, &width, &height, &hasAlpha)) {
    [all...]
SkImageDecoder_libpng.cpp 106 SkBitmap::Config *config, bool *hasAlpha,
325 bool hasAlpha = false;
328 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) {
349 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable);
402 } else if (hasAlpha) {
795 bool hasAlpha = false;
798 if (!this->getBitmapConfig(png_ptr, info_ptr, &config, &hasAlpha, &theTranspColor)) {
817 decodePalette(png_ptr, info_ptr, &hasAlpha, &reallyHasAlpha, &colorTable);
    [all...]
  /external/skia/src/images/
SkImageDecoder_libwebp.cpp 302 int origWidth, origHeight, hasAlpha;
303 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
318 this->fHasAlpha = hasAlpha;
406 int origWidth, origHeight, hasAlpha;
407 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
410 this->fHasAlpha = hasAlpha;
576 int width, height, hasAlpha;
577 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) {
586 int width, height, hasAlpha;
587 if (webp_parse_header(stream, &width, &height, &hasAlpha)) {
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/android/graphics/
Bitmap_Delegate.java 235 * Returns the hasAlpha rendering hint
238 public boolean hasAlpha() {
243 // TODO: check if more checks are required as in hasAlpha.
521 /*package*/ static void nativeSetHasAlpha(int nativeBitmap, boolean hasAlpha) {
528 delegate.mHasAlpha = hasAlpha;
  /frameworks/native/opengl/libagl/
dxt.cpp 144 bool hasAlpha = false;
172 hasAlpha = true;
190 return hasAlpha;
196 bool hasAlpha)
243 if (hasAlpha) {
274 if (hasAlpha) {
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
Color.js 229 hasAlpha: function()
239 if (this.hasAlpha())
289 if (this.hasAlpha())
295 if (this.hasAlpha())
303 if (this.hasAlpha())

Completed in 252 milliseconds

1 2