/frameworks/base/core/java/com/android/internal/widget/multiwaveview/ |
PointCloud.java | 49 private float alpha = 0.0f; field in class:PointCloud.WaveManager 59 alpha = a; 63 return alpha; 71 private float alpha = 0.0f; field in class:PointCloud.GlowManager 90 alpha = a; 94 return alpha; 184 glowAlpha = glowManager.alpha * max(0.0f, (float) Math.pow(cosf, 10.0f)); 193 waveAlpha = waveManager.alpha * max(0.0f, (float) Math.pow(cosf, 20.0f)); 213 int alpha = getAlphaForPoint(point); local 215 if (alpha == 0) continue [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
ShapeDrawable.java | 198 private static int modulateAlpha(int paintAlpha, int alpha) { 199 int scale = alpha + (alpha >>> 7); // convert to 0..256 241 * Set the alpha level for this drawable [0..255]. Note that this drawable 242 * also has a color in its paint, which has an alpha as well. These two 244 * alpha is 75% (i.e. 192) and the drawable's alpha is 50% (i.e. 128), then 245 * the combined alpha that will be used during drawing will be 37.5% 248 @Override public void setAlpha(int alpha) { 249 mShapeState.mAlpha = alpha; 264 final int alpha = p.getAlpha(); local [all...] |
/frameworks/base/libs/hwui/ |
Layer.h | 117 inline void setAlpha(int alpha) { 118 this->alpha = alpha; 121 inline void setAlpha(int alpha, SkXfermode::Mode mode) { 122 this->alpha = alpha; 127 return alpha; 302 int alpha; member in struct:android::uirenderer::Layer
|
/frameworks/base/services/input/ |
SpriteController.h | 120 /* Sets the sprite alpha blend ratio between 0.0 and 1.0. */ 121 virtual void setAlpha(float alpha) = 0; 180 positionX(0), positionY(0), layer(0), alpha(1.0f), 191 float alpha; member in struct:android::SpriteController::SpriteState 201 return visible && alpha > 0.0f && icon.isValid(); 223 virtual void setAlpha(float alpha);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
Bitmap_Delegate.java | 182 * @return true if the bitmap alpha should be used at render time 444 int alpha = paint != null ? paint.getAlpha() : 0xFF; local 445 BufferedImage image = createCopy(bitmap.getImage(), BufferedImage.TYPE_INT_ARGB, alpha); 447 // create the delegate. The actual Bitmap config is only an alpha channel 502 // in this case we have to manually compare the alpha channel as the rest is garbage. 534 * if alpha is different than 255, then it is applied to the alpha channel of each pixel. 538 * @param alpha an optional alpha modifier 541 /*package*/ static BufferedImage createCopy(BufferedImage image, int imageType, int alpha) { [all...] |
/frameworks/native/opengl/libagl/ |
dxt.cpp | 346 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local 401 int a = alpha & 0xf; 402 alpha >>= 4; 432 // Alpha table for the current block 470 uint64_t alpha = ((uint64_t)alphahi << 32) | alphalo; local 471 uint64_t alpha0 = alpha & 0xff; 472 alpha >>= 8; 473 uint64_t alpha1 = alpha & 0xff; 474 alpha >>= 8; 558 int acode = alpha & 0x7 [all...] |
/frameworks/native/opengl/tests/hwc/ |
hwcStress.cpp | 592 float alpha = testRandFract(); local 602 hwcTestFillColor(frames[row][col].get(), color, alpha); 604 testPrintI(" buf: %p handle: %p color: %s alpha: %f", 606 string(color).c_str(), alpha);
|
/frameworks/native/services/surfaceflinger/ |
LayerBase.cpp | 91 mCurrentState.alpha = 0xFF; 145 bool LayerBase::setAlpha(uint8_t alpha) { 146 if (mCurrentState.alpha == alpha) 149 mCurrentState.alpha = alpha; 353 GLclampf alpha) const 357 glColor4f(red,green,blue,alpha); 379 if (CC_UNLIKELY(s.alpha < 0xFF)) { 380 const GLfloat alpha = s.alpha * (1.0f/255.0f) local [all...] |
LayerBase.h | 84 uint8_t alpha; member in struct:android::LayerBase::State 99 bool setAlpha(uint8_t alpha); 249 GLclampf b, GLclampf alpha) const;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 35 ALPHA, 204 if (mPropertiesToSet.contains(Properties.ALPHA)) { 205 mViewPropertyAnimator.alpha(mAlpha); 250 public LauncherViewPropertyAnimator alpha(float value) { method in class:LauncherViewPropertyAnimator 251 mPropertiesToSet.add(Properties.ALPHA);
|
/cts/tests/tests/animation/src/android/animation/cts/ |
LayoutAnimationTest.java | 114 PropertyValuesHolder pvhAlpha = PropertyValuesHolder.ofFloat("alpha", startAlpha, 132 PropertyValuesHolder pvhAlpha = PropertyValuesHolder.ofFloat("alpha", startAlpha, 143 float alpha = mActivity.getLastButton().getAlpha(); local 144 alphaList.add(alpha);
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
autocomplete_popup_contents_view.cc | 524 // the children since they paint text, and GDI will reset this alpha data if 543 // Now we paint the border, so it will be alpha-blended atop the contents. 609 SkAlpha alpha = GetThemeProvider()->ShouldUseNativeFrame() ? local 613 AutocompleteResultView::BACKGROUND), alpha), SkXfermode::kDstIn_Mode);
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/ |
KnownHosts.java | 852 final char[] alpha = "0123456789abcdef".toCharArray(); local 863 sb.append(alpha[b >> 4]); 864 sb.append(alpha[b & 15]);
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/materials/ |
MaterialContext.java | 77 float alpha = ((Number) structure.getFieldValue("alpha")).floatValue(); local 79 diffuseColor = new ColorRGBA(r, g, b, alpha); 93 float alpha = ((Number) structure.getFieldValue("alpha")).floatValue(); local 94 ambientColor = new ColorRGBA(r, g, b, alpha); 194 * If the mapping type is MTEX_COL then if the texture has no alpha channel then all textures before it are 195 * discarded and will not be loaded and merged because texture with no alpha will cover them anyway. 218 * This method determines if the given texture has no alpha channel. 221 * the texture to check for alpha channe 309 float alpha = ((Number) materialStructure.getFieldValue("alpha")).floatValue(); local 343 float alpha = ((Number) materialStructure.getFieldValue("alpha")).floatValue(); local [all...] |
/external/opencv/cvaux/src/ |
cvlevmarprojbandle.cpp | 1303 double alpha; local [all...] |
/external/qemu/android/ |
main-common.c | 566 int alpha, rotate; local 568 if ( opts->onion_alpha && 1 == sscanf( opts->onion_alpha, "%d", &alpha ) ) { 569 alpha = (256*alpha)/100; 571 alpha = 128; 579 qemulator_get()->onion_alpha = alpha; [all...] |
/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/qemu/distrib/sdl-1.2.12/src/video/ |
SDL_RLEaccel.c | 25 * RLE encoding for software colorkey and alpha-channel acceleration 30 * decoder. Added per-surface alpha blitter. Added per-pixel alpha 49 * binary transparency and for per-surface alpha blending, and for surfaces 50 * with per-pixel alpha. The details differ, however: 62 * Encoding of surfaces with per-pixel alpha: 69 * partially transparent (translucent) pixels (where 1 <= alpha <= 254), 73 * the alpha value occupying the highest 8 bits. The <skip> and <run> 78 * and the hole filled with the 5 most significant bits of the alpha value. 120 * Various colorkey blit methods, for opaque and per-surface alpha 846 unsigned alpha; local 1292 unsigned alpha = dfmt->Amask ? 255 : 0; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/gem/ |
SDL_gemvideo.h | 64 Uint32 red, green, blue, alpha; /* Screen components */ member in struct:SDL_PrivateVideoData 113 #define VDI_alphamask (this->hidden->alpha)
|
/external/qemu/distrib/sdl-1.2.12/src/video/macdsp/ |
SDL_dspvideo.c | 103 DSP_TRY_CC_AND_AA - Define if you want to try HWA color-key and alpha blitters 105 but hw alpha is neck-and-neck with SDL's soft bitter. 168 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha); 209 RGBColor alpha; // alpha color member in struct:private_hwdata 1018 static int DSp_SetHWAlpha(_THIS, SDL_Surface *surface, UInt8 alpha) 1020 surface->hwdata->alpha.red = (alpha / 255.0) * 65535; 1021 surface->hwdata->alpha.blue = (alpha / 255.0) * 65535 [all...] |
/external/skia/src/core/ |
SkBlitter_RGB16.cpp | 60 virtual void blitV(int x, int y, int height, SkAlpha alpha); 87 virtual void blitV(int x, int y, int height, SkAlpha alpha); 211 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 225 unsigned aa = *alpha++; 230 alpha += maskRB; 381 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 404 /* alpha is 8x8, widen and split to get pair of 16x4's */ 405 alpha_full = vmovl_u8(vld1_u8(alpha)); 452 alpha += UNROLL; 460 SkAlpha255To256(*alpha++) >> 3) 641 const uint8_t* SK_RESTRICT alpha = mask.getAddr8(clip.fLeft, clip.fTop); local 704 int alpha = shader->getSpan16Alpha(); local 718 int alpha = shader->getSpan16Alpha(); local 766 int alpha = shader->getSpan16Alpha(); local [all...] |
SkScan_AntiPath.cpp | 61 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE { 162 *accumulates* SCALE pixels worth of "alpha" in [0,(256/SCALE)] 164 itself, with the same (alpha - (alpha >> 8)) correction as 181 int alpha = (256 >> SHIFT) * aa; local 183 return alpha - (alpha >> 8); 322 // xrite/SCALE should give us alpha. 439 static void add_aa_span(uint8_t* alpha, U8CPU startAlpha) { 440 /* I should be able to just add alpha[x] + startAlpha [all...] |
/external/skia/src/opts/ |
SkBlitRow_opts_arm.cpp | 21 U8CPU alpha, int /*x*/, int /*y*/) { 22 SkASSERT(255 == alpha); 75 // intentionally don't calculate alpha 155 // intentionally don't calculate alpha 195 U8CPU alpha, int /*x*/, int /*y*/) { 197 U8CPU alpha_for_asm = alpha; 215 "add %[alpha], %[alpha], #1 \n\t" // adjust range of alpha 0-256 217 "add %[alpha], %[alpha], %[alpha], lsr #7 \n\t" // adjust range of alpha 0-25 1661 unsigned alpha = SkAlpha255To256(a); local [all...] |
/external/svox/pico/lib/ |
picosig2.c | 3634 picoos_single alpha; local [all...] |
/external/webp/src/dec/ |
io.c | 104 // These two don't erase the alpha value 333 // Warning! Don't overwrite the alpha values (if any), as they 382 const uint8_t* alpha = io->a; local 383 if (alpha) { 385 memcpy(dst, alpha, mb_w * sizeof(*dst)); 386 alpha += io->width; 399 const uint8_t* alpha = io->a; local 400 if (alpha) { 403 dst[4 * i + 3] = alpha[i]; 405 alpha += io->width [all...] |