Home
last modified time | relevance | path

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

1234

/external/deqp/framework/common/
DtcuRGBA.hpp82 int getAlpha (void) const { return (m_value >> ALPHA_SHIFT) & 0xFF; } in getAlpha() function in tcu::RGBA
85 …(getGreen() <= thr.getGreen()) && (getBlue() <= thr.getBlue()) && (getAlpha() <= thr.getAlpha()); } in isBelowThreshold()
88 … const { bytes[0] = getRed(); bytes[1] = getGreen(); bytes[2] = getBlue(); bytes[3] = 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.cpp51 float(getAlpha()) / 255.0f); in toVec()
56 return IVec4(getRed(), getGreen(), getBlue(), getAlpha()); in toIVec()
DtcuPixelFormat.hpp96 alphaBits ? convertChannel(col.getAlpha(), alphaBits) : 0xff); in convertColor()
/external/chromium_org/third_party/skia/src/core/
DSkPaintPriv.cpp34 if (paint->getAlpha() != 255) { in isPaintOpaque()
51 if (paint->getAlpha() != 0) { in isPaintOpaque()
DSkSpriteBlitter_ARGB32.cpp77 if (255 != paint.getAlpha()) { in Sprite_D32_XferFilter()
85 fAlpha = paint.getAlpha(); in Sprite_D32_XferFilter()
274 U8CPU alpha = paint.getAlpha(); in ChooseD32()
DSkShader.cpp120 fPaintAlpha = rec.fPaint->getAlpha(); in Context()
314 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
376 U8CPU newA = SkMulDiv255Round(SkColorGetA(fColor), paint.getAlpha()); in asFragmentProcessor()
DSkSpriteBlitter_RGB16.cpp272 if (paint.getAlpha() < 0xFF) { in setup()
291 U8CPU alpha = fPaint->getAlpha(); in blitRect()
327 unsigned alpha = paint.getAlpha(); in ChooseD16()
/external/skia/src/core/
DSkPaintPriv.cpp34 if (paint->getAlpha() != 255) { in isPaintOpaque()
51 if (paint->getAlpha() != 0) { in isPaintOpaque()
DSkSpriteBlitter_ARGB32.cpp77 if (255 != paint.getAlpha()) { in Sprite_D32_XferFilter()
85 fAlpha = paint.getAlpha(); in Sprite_D32_XferFilter()
274 U8CPU alpha = paint.getAlpha(); in ChooseD32()
DSkShader.cpp111 fPaintAlpha = rec.fPaint->getAlpha(); in Context()
298 unsigned a = SkAlphaMul(SkColorGetA(color), SkAlpha255To256(rec.fPaint->getAlpha())); in ColorShaderContext()
361 U8CPU newA = SkMulDiv255Round(SkColorGetA(fColor), paint.getAlpha()); in asNewEffect()
DSkSpriteBlitter_RGB16.cpp272 if (paint.getAlpha() < 0xFF) { in setup()
291 U8CPU alpha = fPaint->getAlpha(); in blitRect()
325 unsigned alpha = paint.getAlpha(); in ChooseD16()
/external/skia/bench/
DShaderMaskBench.cpp54 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
65 paint.setAlpha(fPaint.getAlpha()); in onDraw()
DTextBench.cpp87 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
/external/chromium_org/third_party/skia/bench/
DShaderMaskBench.cpp54 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
65 paint.setAlpha(fPaint.getAlpha()); in onDraw()
DTextBench.cpp87 fName.appendf("_%02X", fPaint.getAlpha()); in onGetName()
/external/deqp/framework/egl/
DegluConfigFilter.cpp75 << (ConfigAlphaSize() == bits.getAlpha()); in operator ==()
85 << (ConfigAlphaSize() >= bits.getAlpha()); in operator >=()
/external/glide/library/src/main/java/com/bumptech/glide/request/target/
DSquaringDrawable.java63 public int getAlpha() { in getAlpha() method in SquaringDrawable
64 return wrapped.getAlpha(); in getAlpha()
/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/chromium_org/skia/ext/
Dvector_platform_device_emf_win.cc357 (255 == paint.getAlpha()); in gdiCanHandleText()
604 if (!paint.getAlpha()) in ApplyPaint()
805 if (paint.getAlpha() == 0) { in CreateBrush()
814 if (paint.getAlpha() == 0) { in CreatePen()
864 unsigned char alpha = paint.getAlpha(); in InternalDrawBitmap()
Danalysis_canvas.cc29 return (paint.getAlpha() == 255 && in IsSolidColorPaint()
142 } else if (paint.getAlpha() != 0 || xfermode != SkXfermode::kSrc_Mode) { in drawRect()
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp205 if ((clearMask & 0x8) && !(spanKnownMask & 0x8)) spanColor.setAlpha(clearCol.getAlpha()); in iterate()
247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp205 if ((clearMask & 0x8) && !(spanKnownMask & 0x8)) spanColor.setAlpha(clearCol.getAlpha()); in iterate()
247 colorThreshold.setAlpha(colorThreshold.getAlpha() + 1); in iterate()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPaint.java53 public int getAlpha() { in getAlpha() method in ShadowPaint
DShadowImageView.java130 public int getAlpha() { in getAlpha() method in ShadowImageView

1234