/external/qemu/android/skin/ |
argb.h | 56 mmx_interp255( mmx_t m1, mmx_t m2, mmx_t zero, int alpha ) 62 alpha = (alpha << 16) | (alpha ^ 255); 63 mult = _mm_cvtsi32_si64( alpha ); // mult = [ 0 | 0 | a | 1-a ] 94 #define ARGB_INTERP255(x1,x2,x3,alpha) \ 95 x1 = mmx_interp255( x2, x3, _zero, (alpha)) 162 #define ARGB_INTERP255(x1,x2,x3,alpha) \ 164 int _alpha = (alpha); \ 490 int ex1, ex2, ey1, ey2, alpha; local [all...] |
/external/srec/srec/EventLog/src/ |
EventLogImpl.c | 394 LCHAR alpha[MAX_INT_DIGITS+1]; local 399 CHK(rc, litostr(value, alpha, &size, 10)); 400 return self->token(self, token, alpha); 408 LCHAR alpha[MAX_POINTER_CHARS+1]; local 412 sprintf(alpha, "%p", value); 413 return self->token(self, token, alpha); 420 LCHAR alpha[MAX_INT_DIGITS+1]; local 425 CHK(rc, lultostr(value, alpha, &size, 10)); 426 return self->token(self, token, alpha); 435 LCHAR alpha[MAX_UINT_DIGITS+1] local 457 LCHAR alpha[MAX_INT_DIGITS+1]; local [all...] |
/packages/apps/Contacts/src/com/android/contacts/widget/ |
MultiShrinkScroller.java | 484 // We want to use the same amount of alpha on the new tint color as the previous tint color. 485 final int edgeEffectAlpha = Color.alpha(mEdgeGlowBottom.getColor()); [all...] |
/external/pdfium/core/src/fxge/dib/ |
fx_dib_main.cpp | 453 int alpha;
local 456 alpha = alpha_flag & 0xff;
459 alpha = FXARGB_A(color);
475 color_p[3] = (FX_BYTE)alpha;
496 FXARGB_SETDIB(dest_pos++, dst_color | ((alpha * (*src_scan++) / 255) << 24));
524 *dest_alpha_pos++ = (alpha * (*src_scan++) / 255);
553 void CFX_DIBSource::GetPalette(FX_DWORD* pal, int alpha) const
557 pal[0] = ((m_pPalette ? m_pPalette[0] : 0xff000000) & 0xffffff) | (alpha << 24);
558 pal[1] = ((m_pPalette ? m_pPalette[1] : 0xffffffff) & 0xffffff) | (alpha << 24);
563 pal[i] = (m_pPalette[i] & 0x00ffffff) | (alpha << 24); 1147 int alpha = FXARGB_A(color); local [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
wb_vad.c | 264 Word16 alpha; local 326 alpha = ALPHA4; 329 alpha = 32767; 332 alpha = ALPHA5; 336 st->ave_level[i] = add1(st->ave_level[i], vo_mult_r(alpha, vo_sub(level[i], st->ave_level[i]))); 573 Word16 alpha; local 602 alpha = ALPHA_SP_UP; 605 alpha = ALPHA_SP_DOWN; 609 st->speech_level = add1(st->speech_level, vo_mult_r(alpha, vo_sub(tmp, st->speech_level)));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SearchPanelCircleView.java | 315 float alpha = 1.0f-t; 316 alpha = Math.max((alpha - 0.5f) * 2.0f, 0); 317 mLogo.setAlpha(alpha); 547 float alpha; field in class:SearchPanelCircleView.Ripple 563 alpha = 1.0f - animation.getAnimatedFraction(); 564 alpha = mDisappearInterpolator.getInterpolation(alpha); 587 mRipplePaint.setAlpha((int) (alpha * 255));
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
CanvasRenderingContext2D.idl | 158 [MeasureAs=CanvasRenderingContext2DSetAlpha] void setAlpha(unrestricted float alpha); 165 [MeasureAs=CanvasRenderingContext2DSetStrokeColor] void setStrokeColor(DOMString color, optional unrestricted float alpha); 166 [MeasureAs=CanvasRenderingContext2DSetStrokeColor] void setStrokeColor(unrestricted float grayLevel, optional unrestricted float alpha); 169 [MeasureAs=CanvasRenderingContext2DSetFillColor] void setFillColor(DOMString color, optional unrestricted float alpha); 170 [MeasureAs=CanvasRenderingContext2DSetFillColor] void setFillColor(unrestricted float grayLevel, optional unrestricted float alpha); 176 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted float width, unrestricted float height, unrestricted float blur, optional DOMString color, optional unrestricted float alpha); 177 [MeasureAs=CanvasRenderingContext2DSetShadow] void setShadow(unrestricted float width, unrestricted float height, unrestricted float blur, unrestricted float grayLevel, optional unrestricted float alpha);
|
CanvasRenderingContext2D.h | 138 void setStrokeColor(const String& color, float alpha); 139 void setStrokeColor(float grayLevel, float alpha); 145 void setFillColor(const String& color, float alpha); 146 void setFillColor(float grayLevel, float alpha); 174 void setShadow(float width, float height, float blur, const String& color, float alpha); 175 void setShadow(float width, float height, float blur, float grayLevel, float alpha);
|
/external/chromium_org/third_party/skia/src/core/ |
SkBlitter.cpp | 48 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 49 if (alpha == 255) { 57 this->blitAntiH(x, y++, &alpha, runs); 70 /// such as alpha == 0 or 255; also uses blitV(), which some subclasses 239 void SkNullBlitter::blitV(int x, int y, int height, SkAlpha alpha) {} 334 void SkRectClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 352 fBlitter->blitV(x, y0, y1 - y0, alpha); 461 void SkRgnClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 471 fBlitter->blitV(x, r.fTop, r.height(), alpha); 641 const uint8_t* alpha = fMask->getAddr8(x, y) [all...] |
SkAAClip.cpp | 50 * Data runs are packed [count, alpha] 93 return segments * 2; // each segment is row[0] + row[1] (n + alpha) 910 void addRun(int x, int y, U8CPU alpha, int count) { 942 AppendRun(data, alpha, count); 947 void addColumn(int x, int y, U8CPU alpha, int height) { 950 this->addRun(x, y, alpha, 1); 1151 static void AppendRun(SkTDArray<uint8_t>& data, U8CPU alpha, int count) { 1159 ptr[1] = alpha; 1170 we inject an explicit empty scanline (alpha==0) 1407 U8CPU alpha() const { return fAlpha; } function in class:RowIter 1854 SkAlpha alpha = row[1]; local [all...] |
/external/eigen/Eigen/src/Core/ |
GeneralProduct.h | 232 // FIXME not very good if rhs is real and lhs complex while alpha is real too 243 // FIXME not very good if lhs is real and rhs complex while alpha is real too 297 template<typename Dest> void scaleAndAddTo(Dest& dest, const Scalar& alpha) const 299 internal::outer_product_selector_run(*this, dest, adds(alpha), IsRowMajor<Dest>()); 345 template<typename Dest> void scaleAndAddTo(Dest& dst, const Scalar& alpha) const 349 bool(internal::blas_traits<MatrixType>::HasUsableDirectAccess)>::run(*this, dst, alpha); 360 static void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) 366 (prod.rhs().transpose(), prod.lhs().transpose()), destT, alpha); local 409 static inline void run(const ProductType& prod, Dest& dest, const typename ProductType::Scalar& alpha) 425 ResScalar actualAlpha = alpha * LhsBlasTraits::extractScalarFactor(prod.lhs() [all...] |
/external/skia/src/core/ |
SkBlitter.cpp | 48 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 49 if (alpha == 255) { 57 this->blitAntiH(x, y++, &alpha, runs); 70 /// such as alpha == 0 or 255; also uses blitV(), which some subclasses 239 void SkNullBlitter::blitV(int x, int y, int height, SkAlpha alpha) {} 334 void SkRectClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 352 fBlitter->blitV(x, y0, y1 - y0, alpha); 461 void SkRgnClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { 471 fBlitter->blitV(x, r.fTop, r.height(), alpha); 641 const uint8_t* alpha = fMask->getAddr8(x, y) [all...] |
SkAAClip.cpp | 50 * Data runs are packed [count, alpha] 93 return segments * 2; // each segment is row[0] + row[1] (n + alpha) 910 void addRun(int x, int y, U8CPU alpha, int count) { 942 AppendRun(data, alpha, count); 947 void addColumn(int x, int y, U8CPU alpha, int height) { 950 this->addRun(x, y, alpha, 1); 1151 static void AppendRun(SkTDArray<uint8_t>& data, U8CPU alpha, int count) { 1159 ptr[1] = alpha; 1170 we inject an explicit empty scanline (alpha==0) 1407 U8CPU alpha() const { return fAlpha; } function in class:RowIter 1854 SkAlpha alpha = row[1]; local [all...] |
/external/chromium_org/mojo/public/cpp/bindings/tests/ |
sample_service_unittest.cc | 18 return static_cast<int32_t>(bar->alpha) << 16 | 40 bar->alpha = 20; 50 bar->alpha = base; 121 EXPECT_EQ(20, foo.bar->alpha); 130 EXPECT_EQ(base, foo.extra_bars[i]->alpha) << i; 193 Print(depth, "alpha", bar->alpha);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
GraphicsContext.h | 184 void setAlphaAsFloat(float alpha) { mutableState()->setAlphaAsFloat(alpha);} 187 int alpha = immutableState()->alpha(); local 188 return alpha > 255 ? 255 : alpha;
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
es1_conversion.h | 5 _es_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 17 _es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 20 _es_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
lpc_analysis.c | 81 double sum, alpha; local 83 alpha = 0; //warning -DH 92 alpha = r[0] + r[1] * k[0]; 98 k[m] = -sum / alpha; 99 alpha += k[m] * sum; 109 return alpha;
|
/external/eigen/lapack/ |
slarfg.f | 21 * SUBROUTINE SLARFG( N, ALPHA, X, INCX, TAU ) 25 * REAL ALPHA, TAU 40 *> H * ( alpha ) = ( beta ), H**T * H = I. 43 *> where alpha and beta are scalars, and x is an (n-1)-element real 67 *> \param[in,out] ALPHA 69 *> ALPHA is REAL 70 *> On entry, the value alpha. 107 SUBROUTINE SLARFG( N, ALPHA, X, INCX, TAU ) 116 REAL ALPHA, TAU 160 BETA = -SIGN( SLAPY2( ALPHA, XNORM ), ALPHA [all...] |
/external/mesa3d/src/mesa/main/ |
es1_conversion.h | 5 _es_ClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha); 17 _es_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); 20 _es_Color4x(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
|
/external/opencv/cv/src/ |
cvsnakes.cpp | 58 // alpha - pointer to coefficient of continuity energy, 61 // coeffUsage - if CV_VALUE - alpha, beta, gamma point to single value 76 float *alpha, 129 if( alpha == NULL ) 349 _alpha = *alpha; 355 _alpha = alpha[i]; 410 int length, float *alpha, 433 alpha, beta, gamma, coeffUsage, win, criteria,
|
/external/opencv/cvaux/src/ |
cvepilines.cpp | 81 double alpha; local 88 alpha = len2 / len1; 90 pointSym2->x = pointCorner.x + alpha*(point1.x - pointCorner.x); 91 pointSym2->y = pointCorner.y + alpha*(point1.y - pointCorner.y); 92 pointSym2->z = pointCorner.z + alpha*(point1.z - pointCorner.z); 98 /* Compute 3D point for scanline and alpha betta */ 99 int icvCompute3DPoint( double alpha,double betta, 110 double alphabetta = alpha*betta; 112 partAll = alpha - betta; 113 if( fabs(partAll) > 0.00001 ) /* alpha must be > betta * 220 double alpha = ((double)currLine)\/((double)(numScanlines)); \/* maybe - 1 *\/ local 565 double alpha,betta; local 1104 double alpha,betta; local 2012 double alpha = dist2\/dist1; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testalpha.c | 3 Then move an alpha valued sprite around the screen. 62 /* Create a "light" -- a yellowish surface with variable alpha */ 76 /* Create a 16 (4/4/4/4) bpp square with a full 4-bit alpha channel */ 77 /* Note: this isn't any faster than a 32 bit alpha surface */ 84 /* Create a 32 (8/8/8/8) bpp square with a full 8-bit alpha channel */ 101 /* Get a tranparent pixel value - we'll add alpha later */ 110 /* Calculate alpha values for the surface. */ 138 /* We set the alpha component as the right N bits */ 143 /* Enable RLE acceleration of this alpha surface */ 170 /* Update time spend doing alpha blitting * 250 int alpha; local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
lpc_analysis.c | 81 double sum, alpha; local 83 alpha = 0; //warning -DH 92 alpha = r[0] + r[1] * k[0]; 98 k[m] = -sum / alpha; 99 alpha += k[m] * sum; 109 return alpha;
|
/external/pixman/pixman/ |
pixman-mips-dspr2-asm.h | 656 alpha, red, green, blue \ 660 andi \alpha, \bl, 0xff 665 maddu $ac0, \wb1, \alpha 670 ext \alpha, \bl, 8, 8 675 maddu $ac1, \wb1, \alpha 680 ext \alpha, \bl, 16, 8 687 maddu $ac2, \wb1, \alpha 692 ext \alpha, \bl, 24, 8 699 maddu $ac3, \wb1, \alpha 703 mflo \alpha, $ac [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
ColorMatrixColorFilterTest.java | 95 assertEquals(Color.alpha(expected), Color.alpha(actual), TOLERANCE);
|