/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/ |
D | format_traits.h | 60 static const bool hasAlpha{ false }; 80 static const bool hasAlpha{ true }; 102 static const bool hasAlpha{ true }; 124 static const bool hasAlpha{ true }; 146 static const bool hasAlpha{ false }; 168 static const bool hasAlpha{ false }; 190 static const bool hasAlpha{ true }; 212 static const bool hasAlpha{ true }; 234 static const bool hasAlpha{ true }; 256 static const bool hasAlpha{ false }; [all …]
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/ |
D | ImageHeaderParser.java | 37 private final boolean hasAlpha; field in ImageHeaderParser.ImageType 39 ImageType(boolean hasAlpha) { in ImageType() argument 40 this.hasAlpha = hasAlpha; in ImageType() 43 public boolean hasAlpha() { in hasAlpha() method in ImageHeaderParser.ImageType 44 return hasAlpha; in hasAlpha() 82 public boolean hasAlpha() throws IOException { in hasAlpha() method in ImageHeaderParser 83 return getType().hasAlpha(); in hasAlpha()
|
D | Downsampler.java | 239 boolean hasAlpha = false; in getConfig() 243 hasAlpha = new ImageHeaderParser(is).hasAlpha(); in getConfig() 258 return hasAlpha ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565; in getConfig()
|
D | BitmapEncoder.java | 62 } else if (bitmap.hasAlpha()) { in getFormat()
|
D | GlideBitmapDrawable.java | 122 return bm == null || bm.hasAlpha() || state.paint.getAlpha() < 255 in getOpacity()
|
D | TransformationUtils.java | 145 outBitmap.setHasAlpha(toTransform.hasAlpha()); in setAlpha()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBitmap.java | 48 private boolean hasAlpha; field in ShadowBitmap 203 boolean hasAlpha) { in createBitmap() argument 481 protected final boolean hasAlpha() { in hasAlpha() method in ShadowBitmap 482 return hasAlpha; in hasAlpha() 486 protected void setHasAlpha(boolean hasAlpha) { in setHasAlpha() argument 487 this.hasAlpha = hasAlpha; in setHasAlpha()
|
/external/skia/src/codec/ |
D | SkWebpCodec.cpp | 134 const bool hasAlpha = SkToBool(frame.has_alpha) in MakeFromStream() local 149 if (hasAlpha) { in MakeFromStream() 159 if (hasAlpha) { in MakeFromStream() 207 SkWebpCodec::Frame* SkWebpCodec::FrameHolder::appendNewFrame(bool hasAlpha) { in appendNewFrame() argument 209 fFrames.emplace_back(i, hasAlpha ? SkEncodedInfo::kUnpremul_Alpha in appendNewFrame() 317 frameInfo->fAlphaType = frame->hasAlpha() ? kUnpremul_SkAlphaType in onGetFrameInfo()
|
D | SkWebpCodec.h | 83 Frame* appendNewFrame(bool hasAlpha);
|
D | SkFrameHolder.h | 68 bool hasAlpha() const { return fHasAlpha; } in hasAlpha() function
|
D | SkCodec.cpp | 304 return this->initializeColorXform(info, frame->reportedAlpha(), !frame->hasAlpha()) in handleFrameIndex() 784 frame->setHasAlpha(prevFrame->hasAlpha() || clearPrevFrame); in setAlphaAndRequiredFrame() 815 frame->setHasAlpha(prevFrame->hasAlpha() || (reportsAlpha && !blendWithPrevFrame)); in setAlphaAndRequiredFrame()
|
D | SkGifCodec.cpp | 137 frameInfo->fAlphaType = frameContext->hasAlpha() ? kUnpremul_SkAlphaType in onGetFrameInfo()
|
/external/skqp/src/codec/ |
D | SkWebpCodec.cpp | 134 const bool hasAlpha = SkToBool(frame.has_alpha) in MakeFromStream() local 149 if (hasAlpha) { in MakeFromStream() 159 if (hasAlpha) { in MakeFromStream() 207 SkWebpCodec::Frame* SkWebpCodec::FrameHolder::appendNewFrame(bool hasAlpha) { in appendNewFrame() argument 209 fFrames.emplace_back(i, hasAlpha ? SkEncodedInfo::kUnpremul_Alpha in appendNewFrame() 317 frameInfo->fAlphaType = frame->hasAlpha() ? kUnpremul_SkAlphaType in onGetFrameInfo()
|
D | SkWebpCodec.h | 83 Frame* appendNewFrame(bool hasAlpha);
|
D | SkFrameHolder.h | 68 bool hasAlpha() const { return fHasAlpha; } in hasAlpha() function
|
D | SkCodec.cpp | 304 return this->initializeColorXform(info, frame->reportedAlpha(), !frame->hasAlpha()) in handleFrameIndex() 784 frame->setHasAlpha(prevFrame->hasAlpha() || clearPrevFrame); in setAlphaAndRequiredFrame() 815 frame->setHasAlpha(prevFrame->hasAlpha() || (reportsAlpha && !blendWithPrevFrame)); in setAlphaAndRequiredFrame()
|
D | SkGifCodec.cpp | 137 frameInfo->fAlphaType = frameContext->hasAlpha() ? kUnpremul_SkAlphaType in onGetFrameInfo()
|
/external/skia/src/ports/ |
D | SkImageGeneratorCG.cpp | 83 bool hasAlpha = bool(CFDictionaryGetValue(properties.get(), kCGImagePropertyHasAlpha)); in MakeFromEncodedCG() local 84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG()
|
/external/skqp/src/ports/ |
D | SkImageGeneratorCG.cpp | 83 bool hasAlpha = bool(CFDictionaryGetValue(properties.get(), kCGImagePropertyHasAlpha)); in MakeFromEncodedCG() local 84 SkAlphaType alphaType = hasAlpha ? kPremul_SkAlphaType : kOpaque_SkAlphaType; in MakeFromEncodedCG()
|
/external/skia/bench/ |
D | GradientBench.cpp | 328 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument 329 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench() 330 fHasAlpha = hasAlpha; in Gradient2Bench()
|
/external/skqp/bench/ |
D | GradientBench.cpp | 328 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument 329 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench() 330 fHasAlpha = hasAlpha; in Gradient2Bench()
|
/external/deqp/modules/glshared/ |
D | glsRandomShaderCase.cpp | 479 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in iterate() local 480 …tcu::TextureLevel rendered (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::Textur… in iterate() 481 …tcu::TextureLevel reference (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::Textu… in iterate()
|
D | glsShaderRenderCase.cpp | 642 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeVertexReference() local 659 if (!hasAlpha) in computeVertexReference() 727 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeFragmentReference() local 742 if (!hasAlpha) in computeFragmentReference()
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderRenderCase.cpp | 695 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeVertexReference() local 712 if (!hasAlpha) in computeVertexReference() 784 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeFragmentReference() local 799 if (!hasAlpha) in computeFragmentReference()
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 53 public void hasAlpha() { in hasAlpha() method in ShadowBitmapTest 55 assertThat(bitmap.hasAlpha()).isFalse(); in hasAlpha() 57 assertThat(bitmap.hasAlpha()).isTrue(); in hasAlpha()
|