Home
last modified time | relevance | path

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

1234

/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()
DtcuPixelFormat.hpp96 alphaBits ? convertChannel(col.getAlpha(), alphaBits) : 0xff); in convertColor()
DtcuSurface.hpp83 *((deUint8*)pixAddr + 3) = (deUint8)col.getAlpha(); in setPixel()
/external/skia/src/core/
DSkSpanProcs.cpp64 SkASSERT(0xFF == paint.getAlpha()); in noop_filterspan()
69 SkASSERT(0xFF != paint.getAlpha()); in alpha_filterspan()
70 const Sk4f scale = Sk4f(paint.getAlpha() * (1.0f/255)); in alpha_filterspan()
78 SkASSERT(0xFF == paint.getAlpha()); in colorfilter_filterspan()
84 SkASSERT(0xFF != paint.getAlpha()); in colorfilter_alpha_filterspan()
91 return 0xFF == paint.getAlpha() ? colorfilter_filterspan : colorfilter_alpha_filterspan; in SkFilterSpanProc_Choose()
93 return 0xFF == paint.getAlpha() ? noop_filterspan : alpha_filterspan; in SkFilterSpanProc_Choose()
DSkSpriteBlitter_ARGB32.cpp73 if (255 != paint.getAlpha()) { in Sprite_D32_XferFilter()
81 fAlpha = paint.getAlpha(); in Sprite_D32_XferFilter()
265 U8CPU alpha = paint.getAlpha(); in ChooseL32()
DSkShader.cpp111 fPaintAlpha = rec.fPaint->getAlpha(); in Context()
284 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
298 c4.fA *= rec.fPaint->getAlpha() / 255.0f; in ColorShaderContext()
DSkXfermodeInterpretation.cpp12 return SK_AlphaOPAQUE == p.getAlpha() in just_solid_color()
DSkSpriteBlitter_RGB16.cpp263 if (paint.getAlpha() < 0xFF) { in setup()
281 U8CPU alpha = fPaint->getAlpha(); in blitRect()
317 unsigned alpha = paint.getAlpha(); in ChooseD16()
DSkPaintPriv.cpp30 const unsigned paintAlpha = paint->getAlpha(); in Overwrites()
/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
DChiSquaredDistributionImpl.java108 return gamma.getAlpha() * 2.0; in getDegreesOfFreedom()
/external/skia/src/codec/
DSkMaskSwizzler.cpp41 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_n32_unpremul()
59 uint8_t alpha = masks->getAlpha(p); in swizzle_mask16_to_n32_premul()
113 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_n32_unpremul()
131 uint8_t alpha = masks->getAlpha(p); in swizzle_mask24_to_n32_premul()
183 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_n32_unpremul()
201 uint8_t alpha = masks->getAlpha(p); in swizzle_mask32_to_n32_premul()
DSkMasks.h58 uint8_t getAlpha(uint32_t pixel) const;
/external/skia/bench/
DShaderMaskBench.cpp53 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
64 paint.setAlpha(fPaint.getAlpha()); in onDraw()
/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/skia/gm/
Daaxfermodes.cpp135 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/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/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()
DPairingSession.java507 byte[] genAlpha = mChallenge.getAlpha(userNonce); in doPairingPhase()
548 byte[] localAlpha = mChallenge.getAlpha(nonce); in doPairingPhase()
559 byte[] genAlpha = mChallenge.getAlpha(nonce); in doPairingPhase()
/external/opencv3/modules/superres/include/opencv2/
Dsuperres.hpp133 virtual double getAlpha() const = 0;
/external/opencv3/modules/superres/include/opencv2/superres/
Doptical_flow.hpp148 virtual double getAlpha() const = 0;

1234