Home
last modified time | relevance | path

Searched refs:getAlpha (Results 1 – 25 of 104) sorted by relevance

12345

/external/deqp/framework/common/
DtcuRGBA.hpp82 int getAlpha (void) const { return (int)((m_value >> (deUint32)ALPHA_SHIFT) & 0xFFu); } in getAlpha() function in tcu::RGBA
85 …(getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold()
88 …); bytes[1] = (deUint8)getGreen(); bytes[2] = (deUint8)getBlue(); bytes[3] = (deUint8)getAlpha(); } in toBytes()
122 deAbs32(a.getAlpha() - b.getAlpha())); in computeAbsDiff()
134 (int)(it*(float)a.getAlpha() + t*(float)b.getAlpha() + 0.5f)); in blend()
148 deMax32(a.getAlpha(), b.getAlpha())); in max()
161 deClamp32(a.getAlpha() + b.getAlpha(), 0, 255)); in operator +()
169 deClamp32(a.getAlpha() - b.getAlpha(), 0, 255)); in operator -()
177 deClamp32(a.getAlpha() * b, 0, 255)); in operator *()
182 …RGBA(" << c.getRed() << ", " << c.getGreen() << ", " << c.getBlue() << ", " << c.getAlpha() << ")"; in operator <<()
DtcuRGBA.cpp45 float(getAlpha()) / 255.0f); in toVec()
50 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
/external/skqp/src/codec/
DSkMaskSwizzler.cpp58 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_unpremul()
76 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_unpremul()
94 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_premul()
112 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_premul()
183 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_unpremul()
201 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_unpremul()
219 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_premul()
237 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_premul()
306 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_rgba_unpremul()
324 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_bgra_unpremul()
[all …]
DSkMasks.h58 uint8_t getAlpha(uint32_t pixel) const;
/external/skia/src/codec/
DSkMaskSwizzler.cpp58 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_unpremul()
76 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_unpremul()
94 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_rgba_premul()
112 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_bgra_premul()
183 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_unpremul()
201 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_unpremul()
219 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_rgba_premul()
237 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_bgra_premul()
306 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_rgba_unpremul()
324 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_bgra_unpremul()
[all …]
DSkMasks.h58 uint8_t getAlpha(uint32_t pixel) const;
/external/apache-commons-math/src/main/java/org/apache/commons/math/distribution/
DGammaDistributionImpl.java160 public double getAlpha() { in getAlpha() method in GammaDistributionImpl
338 return getAlpha() * getBeta(); in getNumericalMean()
353 return getAlpha() * b * b; in getNumericalVariance()
DBetaDistributionImpl.java98 public double getAlpha() { in getAlpha() method in BetaDistributionImpl
262 final double a = getAlpha(); in getNumericalMean()
278 final double a = getAlpha(); in getNumericalVariance()
DGammaDistribution.java45 double getAlpha(); in getAlpha() method
DBetaDistribution.java41 double getAlpha(); in getAlpha() method
/external/skqp/gm/
Daaxfermodes.cpp136 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass()
216 if (255 != paint->getAlpha()) { in setupShapePaint()
219 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/external/skia/gm/
Daaxfermodes.cpp136 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass()
216 if (255 != paint->getAlpha()) { in setupShapePaint()
219 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DSquaringDrawable.java68 public int getAlpha() { in getAlpha() method in SquaringDrawable
69 return wrapped.getAlpha(); in getAlpha()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DGlideBitmapDrawable.java106 int currentAlpha = state.paint.getAlpha(); in setAlpha()
122 return bm == null || bm.hasAlpha() || state.paint.getAlpha() < 255 in getOpacity()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp77 U8CPU alpha = paint.getAlpha(); in ChooseL565()
165 U8CPU alpha = paint.getAlpha(); in ChooseLA8()
DSkRecordOpts.cpp141 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
182 0xFF == paint->getAlpha() && paint->getBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
/external/skqp/src/core/
DSkSpriteBlitter_RGB565.cpp77 U8CPU alpha = paint.getAlpha(); in ChooseL565()
165 U8CPU alpha = paint.getAlpha(); in ChooseLA8()
DSkRecordOpts.cpp141 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
182 0xFF == paint->getAlpha() && paint->getBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() && !p.getColorFilter() && !p.getShader(); in just_solid_color()
/external/skqp/src/shaders/
DSkShader.cpp107 fPaintAlpha = rec.fPaint->getAlpha(); in Context()
163 if (rec.fPaint.getAlpha() != SK_AlphaOPAQUE) { in onAppendStages()
/external/skia/src/shaders/
DSkShader.cpp108 fPaintAlpha = rec.fPaint->getAlpha(); in Context()
168 if (rec.fPaint.getAlpha() != SK_AlphaOPAQUE) { in onAppendStages()
/external/skqp/modules/sksg/src/
DSkSGPaintNode.cpp31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skia/modules/sksg/src/
DSkSGPaintNode.cpp31 paint.setAlpha(SkScalarRoundToInt(paint.getAlpha() * SkTPin<SkScalar>(fOpacity, 0, 1))); in makePaint()
/external/skia/experimental/svg/model/
DSkSVGRenderContext.cpp109 p->setColor(SkColorSetA(svgPaint.color(), p->getAlpha())); in applySvgPaint()
380 SkScalarRoundToInt(opacity * pctx->fFillPaint.getAlpha())); in applyOpacity()
383 SkScalarRoundToInt(opacity * pctx->fStrokePaint.getAlpha())); in applyOpacity()

12345