Home
last modified time | relevance | path

Searched refs:getAlpha (Results 1 – 25 of 108) 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 …]
/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 …]
/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/skia/src/shaders/
DSkColorShader.cpp44 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
58 c4.fA *= rec.fPaint->getAlpha() / 255.0f; in ColorShaderContext()
160 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in Color4Context()
174 c4.fA *= rec.fPaint->getAlpha() * (1 / 255.0f); in Color4Context()
/external/skqp/src/shaders/
DSkColorShader.cpp44 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
58 c4.fA *= rec.fPaint->getAlpha() / 255.0f; in ColorShaderContext()
160 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in Color4Context()
174 c4.fA *= rec.fPaint->getAlpha() * (1 / 255.0f); in Color4Context()
/external/skqp/bench/
DShaderMaskBench.cpp53 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
64 paint.setAlpha(fPaint.getAlpha()); in onDraw()
/external/skia/bench/
DShaderMaskBench.cpp53 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
64 paint.setAlpha(fPaint.getAlpha()); in onDraw()
/external/skqp/gm/
Daaxfermodes.cpp136 SkASSERT(colorIdx == 0 || 255 == paint.getAlpha()); in draw_pass()
215 if (255 != paint->getAlpha()) { in setupShapePaint()
218 paint->setAlpha(255 * paint->getAlpha() / maxSum); in setupShapePaint()
/external/skia/gm/
Daaxfermodes.cpp137 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/pdf/
DSkPDFGraphicState.cpp89 SkPDFFillGraphicState fillKey = {p.getAlpha(), pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
104 p.getAlpha(), pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
/external/skqp/src/pdf/
DSkPDFGraphicState.cpp89 SkPDFFillGraphicState fillKey = {p.getAlpha(), pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
104 p.getAlpha(), pdf_blend_mode(p.getBlendMode())}; in GetGraphicStateForPaint()
/external/google-tv-pairing-protocol/java/src/com/google/polo/pairing/
DPoloChallengeResponse.java83 public byte[] getAlpha(byte[] nonce) throws PoloException { in getAlpha() method in PoloChallengeResponse
149 byte[] alphaBytes = getAlpha(nonce); in getGamma()
/external/skia/src/core/
DSkSpriteBlitter_RGB565.cpp77 U8CPU alpha = paint.getAlpha(); in ChooseL565()
165 U8CPU alpha = paint.getAlpha(); in ChooseLA8()
DSkRecordOpts.cpp140 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
181 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.cpp140 paint->setAlpha(SkMulDiv255Round(paint->getAlpha(), SkColorGetA(layerColor))); in fold_opacity_layer_color_to_paint()
181 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()

12345