/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/skia/src/images/ |
D | SkImageDecoder_libwebp.cpp | 292 int origWidth, origHeight, hasAlpha; in onDecode() local 293 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode() 296 this->fHasAlpha = hasAlpha; in onDecode() 431 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) { in ChooseImporter() argument 434 if (hasAlpha) { in ChooseImporter() 442 if (hasAlpha) { in ChooseImporter() 476 const bool hasAlpha = !bm.isOpaque(); in onEncode() local 478 const ScanlineImporter scanline_import = ChooseImporter(bm.colorType(), hasAlpha, &bpp); in onEncode() 536 int width, height, hasAlpha; in sk_libwebp_dfactory() local 537 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) { in sk_libwebp_dfactory() [all …]
|
D | SkImageDecoder_libpng.cpp | 90 bool getBitmapColorType(png_structp, png_infop, SkColorType*, bool* hasAlpha, 301 bool hasAlpha = false; in onDecode() local 304 if (!this->getBitmapColorType(png_ptr, info_ptr, &colorType, &hasAlpha, &theTranspColor)) { in onDecode() 328 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode() 387 } else if (hasAlpha) { in onDecode() 715 static transform_scanline_proc choose_proc(SkColorType ct, bool hasAlpha) { in choose_proc() argument 719 hasAlpha = false; // we store false in the table entries for kIndex8 in choose_proc() 736 if (gMap[i].fColorType == ct && gMap[i].fHasAlpha == hasAlpha) { in choose_proc() 768 png_byte* SK_RESTRICT trans, bool hasAlpha) { in pack_palette() argument 773 if (hasAlpha) { in pack_palette() [all …]
|
/external/skia/src/core/ |
D | SkConvolver.cpp | 113 template<bool hasAlpha> 136 if (hasAlpha) { in ConvolveHorizontally() 146 if (hasAlpha) { in ConvolveHorizontally() 154 if (hasAlpha) { in ConvolveHorizontally() 194 template<bool hasAlpha> 214 if (hasAlpha) { in ConvolveVertically() 224 if (hasAlpha) { in ConvolveVertically() 232 if (hasAlpha) { in ConvolveVertically()
|
D | SkConvolver.h | 149 bool hasAlpha); 159 bool hasAlpha);
|
/external/skia/src/opts/ |
D | SkBitmapProcState_arm_neon.cpp | 91 bool hasAlpha) { in convolveHorizontally_neon() argument 190 template<bool hasAlpha> 247 if (hasAlpha) { in convolveVertically_neon() 306 if (hasAlpha) { in convolveVertically_neon()
|
/external/skia/bench/ |
D | GradientBench.cpp | 359 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument 360 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench() 361 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/skia/include/core/ |
D | SkImageDecoder.h | 336 SkColorType getPrefColorType(SrcDepth, bool hasAlpha) const;
|
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRender.cpp | 1746 const bool hasAlpha = true; // \todo [2015-09-07 elecro] add correct alpha check in computeVertexReference() local 1763 if (!hasAlpha) in computeVertexReference() 1831 const bool hasAlpha = true; // \todo [2015-09-07 elecro] add correct alpha check in computeFragmentReference() local 1846 if (!hasAlpha) in computeFragmentReference()
|
/external/deqp/framework/qphelper/ |
D | qpTestLog.c | 723 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; in compressImagePNG() local 746 hasAlpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB); in compressImagePNG()
|
/external/opencv3/modules/videoio/src/ |
D | cap_qtkit.mm | 1032 hasAlpha:YES
|
/external/opencv3/modules/highgui/src/ |
D | window_cocoa.mm | 856 hasAlpha:NO
|