Home
last modified time | relevance | path

Searched refs:hasAlpha (Results 1 – 17 of 17) sorted by relevance

/external/skia/src/images/
DSkImageDecoder_libwebp.cpp314 int origWidth, origHeight, hasAlpha; in onBuildTileIndex() local
315 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onBuildTileIndex()
330 this->fHasAlpha = hasAlpha; in onBuildTileIndex()
410 int origWidth, origHeight, hasAlpha; in onDecode() local
411 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode()
414 this->fHasAlpha = hasAlpha; in onDecode()
549 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) { in ChooseImporter() argument
552 if (hasAlpha) { in ChooseImporter()
560 if (hasAlpha) { in ChooseImporter()
594 const bool hasAlpha = !bm.isOpaque(); in onEncode() local
[all …]
DSkImageDecoder_libpng.cpp106 bool getBitmapColorType(png_structp, png_infop, SkColorType*, bool* hasAlpha,
329 bool hasAlpha = false; in onDecode() local
332 if (!this->getBitmapColorType(png_ptr, info_ptr, &colorType, &hasAlpha, &theTranspColor)) { in onDecode()
356 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecode()
415 } else if (hasAlpha) { in onDecode()
790 bool hasAlpha = false; in onDecodeSubset() local
793 if (!this->getBitmapColorType(png_ptr, info_ptr, &colorType, &hasAlpha, &theTranspColor)) { in onDecodeSubset()
813 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable); in onDecodeSubset()
895 } else if (hasAlpha) { in onDecodeSubset()
1004 static transform_scanline_proc choose_proc(SkColorType ct, bool hasAlpha) { in choose_proc() argument
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java37 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()
DDownsampler.java239 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()
DBitmapEncoder.java62 } else if (bitmap.hasAlpha()) { in getFormat()
DGlideBitmapDrawable.java122 return bm == null || bm.hasAlpha() || state.paint.getAlpha() < 255 in getOpacity()
DTransformationUtils.java145 outBitmap.setHasAlpha(toTransform.hasAlpha()); in setAlpha()
/external/skia/src/core/
DSkConvolver.cpp114 template<bool hasAlpha>
137 if (hasAlpha) { in ConvolveHorizontally()
147 if (hasAlpha) { in ConvolveHorizontally()
155 if (hasAlpha) { in ConvolveHorizontally()
195 template<bool hasAlpha>
215 if (hasAlpha) { in ConvolveVertically()
225 if (hasAlpha) { in ConvolveVertically()
233 if (hasAlpha) { in ConvolveVertically()
DSkConvolver.h152 bool hasAlpha);
161 bool hasAlpha);
/external/skia/src/opts/
DSkBitmapProcState_arm_neon.cpp116 bool hasAlpha) { in convolveHorizontally_neon() argument
215 template<bool hasAlpha>
272 if (hasAlpha) { in convolveVertically_neon()
331 if (hasAlpha) { in convolveVertically_neon()
/external/skia/bench/
DGradientBench.cpp330 Gradient2Bench(bool hasAlpha) { in Gradient2Bench() argument
331 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque"); in Gradient2Bench()
332 fHasAlpha = hasAlpha; in Gradient2Bench()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp479 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()
DglsShaderRenderCase.cpp658 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeVertexReference() local
675 if (!hasAlpha) in computeVertexReference()
743 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; in computeFragmentReference() local
758 if (!hasAlpha) in computeFragmentReference()
/external/skia/include/core/
DSkImageDecoder.h401 SkColorType getPrefColorType(SrcDepth, bool hasAlpha) const;
/external/deqp/framework/qphelper/
DqpTestLog.c721 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; in compressImagePNG() local
744 hasAlpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB); in compressImagePNG()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...
/external/robolectric/lib/main/
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...