Searched refs:hasAlpha (Results 1 - 25 of 27) sorted by relevance

12

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
H A DImageHeaderParser.java37 private final boolean hasAlpha; field in class:ImageHeaderParser.ImageType
39 ImageType(boolean hasAlpha) { argument
40 this.hasAlpha = hasAlpha;
43 public boolean hasAlpha() { method in class:ImageHeaderParser.ImageType
44 return hasAlpha;
82 public boolean hasAlpha() throws IOException { method in class:ImageHeaderParser
83 return getType().hasAlpha();
H A DBitmapEncoder.java18 * {@link android.graphics.Bitmap}s that return true from {@link android.graphics.Bitmap#hasAlpha()}} are written
62 } else if (bitmap.hasAlpha()) {
H A DDownsampler.java239 boolean hasAlpha = false;
243 hasAlpha = new ImageHeaderParser(is).hasAlpha();
258 return hasAlpha ? Bitmap.Config.ARGB_8888 : Bitmap.Config.RGB_565;
H A DGlideBitmapDrawable.java122 return bm == null || bm.hasAlpha() || state.paint.getAlpha() < 255
H A DTransformationUtils.java136 * keeps {@link android.graphics.Bitmap#hasAlpha()}} consistent before and after the transformation for
145 outBitmap.setHasAlpha(toTransform.hasAlpha());
/external/skia/src/core/
H A DSkConvolver.cpp113 template<bool hasAlpha>
136 if (hasAlpha) {
146 if (hasAlpha) {
154 if (hasAlpha) {
194 template<bool hasAlpha>
214 if (hasAlpha) {
224 if (hasAlpha) {
232 if (hasAlpha) {
H A DSkConvolver.h149 bool hasAlpha);
159 bool hasAlpha);
/external/skia/src/images/
H A DSkImageDecoder_libwebp.cpp292 int origWidth, origHeight, hasAlpha; local
293 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
296 this->fHasAlpha = hasAlpha;
431 static ScanlineImporter ChooseImporter(SkColorType ct, bool hasAlpha, int* bpp) { argument
434 if (hasAlpha) {
442 if (hasAlpha) {
476 const bool hasAlpha = !bm.isOpaque(); local
478 const ScanlineImporter scanline_import = ChooseImporter(bm.colorType(), hasAlpha, &bpp);
536 int width, height, hasAlpha; local
537 if (!webp_parse_header(stream, &width, &height, &hasAlpha)) {
546 int width, height, hasAlpha; local
[all...]
H A DSkImageDecoder_libpng.cpp90 bool getBitmapColorType(png_structp, png_infop, SkColorType*, bool* hasAlpha,
301 bool hasAlpha = false; local
304 if (!this->getBitmapColorType(png_ptr, info_ptr, &colorType, &hasAlpha, &theTranspColor)) {
328 decodePalette(png_ptr, info_ptr, bitDepth, &hasAlpha, &reallyHasAlpha, &colorTable);
387 } else if (hasAlpha) {
715 static transform_scanline_proc choose_proc(SkColorType ct, bool hasAlpha) { argument
719 hasAlpha = false; // we store false in the table entries for kIndex8
736 if (gMap[i].fColorType == ct && gMap[i].fHasAlpha == hasAlpha) {
759 /* Pack palette[] with the corresponding colors, and if hasAlpha is true, also
760 pack trans[] and return the number of trans[] entries written. If hasAlpha
766 pack_palette(SkColorTable* ctable, png_color* SK_RESTRICT palette, png_byte* SK_RESTRICT trans, bool hasAlpha) argument
849 const bool hasAlpha = !bitmap->isOpaque(); local
908 doEncode(SkWStream* stream, const SkBitmap& bitmap, const bool& hasAlpha, int colorType, int bitDepth, SkColorType ct, png_color_8& sig_bit) argument
[all...]
/external/skia/include/core/
H A DSkImageDecoder.h332 the returned bitmap. SrcDepth and hasAlpha reflect the raw data of the
334 srcDepth and hasAlpha, or kUnknown_SkColorType if there is no preference.
336 SkColorType getPrefColorType(SrcDepth, bool hasAlpha) const;
/external/skia/src/opts/
H A DSkBitmapProcState_arm_neon.cpp91 bool hasAlpha) {
190 template<bool hasAlpha>
247 if (hasAlpha) {
306 if (hasAlpha) {
88 convolveHorizontally_neon(const unsigned char* srcData, const SkConvolutionFilter1D& filter, unsigned char* outRow, bool hasAlpha) argument
/external/deqp/modules/glshared/
H A DglsRandomShaderCase.cpp479 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; local
480 tcu::TextureLevel rendered (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight);
481 tcu::TextureLevel reference (tcu::TextureFormat(hasAlpha ? tcu::TextureFormat::RGBA : tcu::TextureFormat::RGB, tcu::TextureFormat::UNORM_INT8), viewportWidth, viewportHeight);
H A DglsShaderRenderCase.cpp642 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; local
659 if (!hasAlpha)
727 bool hasAlpha = m_renderCtx.getRenderTarget().getPixelFormat().alphaBits > 0; local
742 if (!hasAlpha)
/external/skia/bench/
H A DGradientBench.cpp359 Gradient2Bench(bool hasAlpha) { argument
360 fName.printf("gradient_create_%s", hasAlpha ? "alpha" : "opaque");
361 fHasAlpha = hasAlpha;
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp1746 const bool hasAlpha = true; // \todo [2015-09-07 elecro] add correct alpha check local
1763 if (!hasAlpha)
1831 const bool hasAlpha = true; // \todo [2015-09-07 elecro] add correct alpha check local
1846 if (!hasAlpha)
/external/deqp/framework/qphelper/
H A DqpTestLog.c723 deBool hasAlpha = imageFormat == QP_IMAGE_FORMAT_RGBA8888; local
746 hasAlpha ? PNG_COLOR_TYPE_RGBA : PNG_COLOR_TYPE_RGB);
/external/opencv3/modules/videoio/src/
H A Dcap_qtkit.mm1032 hasAlpha:YES
/external/opencv3/modules/highgui/src/
H A Dwindow_cocoa.mm856 hasAlpha:NO
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/libgdx/backends/gdx-backend-android/libs/
H A Dandroid-4.4.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v1/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ...
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 819 milliseconds

12