/packages/apps/Launcher3/src/com/android/launcher3/ |
PageIndicatorMarker.java | 74 .alpha(1f) 79 .alpha(0f) 94 mInactiveMarker.animate().alpha(1f) 97 .alpha(0f)
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
GraphicsUtilities.java | 38 final byte[] alpha = new byte[image.width]; 46 // Copy alpha 47 image.getAlphas(0, y, image.width, alpha, 0); 48 result.setAlphas(1, y + 1, image.width, alpha, 0); 55 * Wipe all color and alpha pixels. 83 final byte[] alpha = new byte[image.width]; 91 // Copy alpha 92 image.getAlphas(0, y, image.width, alpha, 0); 93 result.setAlphas(0, y, image.width, alpha, 0);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
anim1.xml | 11 <alpha
|
/external/qemu/android/skin/ |
surface.c | 448 uint32_t alpha = (color >> 24); local 450 if (alpha == 255) 459 alpha = 255 - alpha; 460 alpha += (alpha >> 7); 469 ARGB_MULSHIFT(dst_c,dst_c,alpha,8); 490 uint32_t alpha; local 493 alpha = 256 - (dst[0] >> 24); 494 ARGB_MULSHIFT(val,src_c,alpha,8) 545 uint32_t alpha; local 569 uint32_t alpha; local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
Color.java | 27 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 29 * stored solely in the alpha component, and not in the color components. The 30 * components are stored as follows (alpha << 24) | (red << 16) | 52 * Return the alpha component of a color int. This is the same as saying 55 public static int alpha(int color) { method in class:Color 85 * The alpha component is implicity 255 (fully opaque). 98 * Return a color-int from alpha, red, green, blue components. 102 * @param alpha Alpha component [0..255] of the color 107 public static int argb(int alpha, int red, int green, int blue) [all...] |
/hardware/qcom/display/msm8960/libcopybit/ |
c2d2.h | 67 C2D_FORMAT_PREMULTIPLIED = (1 << 11), /* alpha premultiplied */ 68 C2D_FORMAT_INVERT_ALPHA = (1 << 12), /* inverts alpha */ 69 C2D_FORMAT_DISABLE_ALPHA = (1 << 13), /* disables alpha */ 71 C2D_FORMAT_TRANSPARENT = (1 << 15), /* YUV 1-bit alpha in Y */ 91 * are premultiplied with the alpha, if applicable. 92 * If the C2D_FORMAT_INVERT_ALPHA bit is set, the alpha interpretation 94 * If the C2D_FORMAT_DISABLE_ALPHA bit is set, the alpha channel serves 99 C2D_COLOR_FORMAT_1 = 0, /* 1-bit alpha/color expansion */ 109 C2D_COLOR_FORMAT_2_A = 7, /* 2-bit alpha only */ 110 C2D_COLOR_FORMAT_4_A = 8, /* 4-bit alpha only * [all...] |
/hardware/qcom/display/msm8974/libcopybit/ |
c2d2.h | 67 C2D_FORMAT_PREMULTIPLIED = (1 << 11), /* alpha premultiplied */ 68 C2D_FORMAT_INVERT_ALPHA = (1 << 12), /* inverts alpha */ 69 C2D_FORMAT_DISABLE_ALPHA = (1 << 13), /* disables alpha */ 71 C2D_FORMAT_TRANSPARENT = (1 << 15), /* YUV 1-bit alpha in Y */ 91 * are premultiplied with the alpha, if applicable. 92 * If the C2D_FORMAT_INVERT_ALPHA bit is set, the alpha interpretation 94 * If the C2D_FORMAT_DISABLE_ALPHA bit is set, the alpha channel serves 99 C2D_COLOR_FORMAT_1 = 0, /* 1-bit alpha/color expansion */ 109 C2D_COLOR_FORMAT_2_A = 7, /* 2-bit alpha only */ 110 C2D_COLOR_FORMAT_4_A = 8, /* 4-bit alpha only * [all...] |
/hardware/qcom/display/msm8x26/libcopybit/ |
c2d2.h | 67 C2D_FORMAT_PREMULTIPLIED = (1 << 11), /* alpha premultiplied */ 68 C2D_FORMAT_INVERT_ALPHA = (1 << 12), /* inverts alpha */ 69 C2D_FORMAT_DISABLE_ALPHA = (1 << 13), /* disables alpha */ 71 C2D_FORMAT_TRANSPARENT = (1 << 15), /* YUV 1-bit alpha in Y */ 91 * are premultiplied with the alpha, if applicable. 92 * If the C2D_FORMAT_INVERT_ALPHA bit is set, the alpha interpretation 94 * If the C2D_FORMAT_DISABLE_ALPHA bit is set, the alpha channel serves 99 C2D_COLOR_FORMAT_1 = 0, /* 1-bit alpha/color expansion */ 109 C2D_COLOR_FORMAT_2_A = 7, /* 2-bit alpha only */ 110 C2D_COLOR_FORMAT_4_A = 8, /* 4-bit alpha only * [all...] |
/external/opencv/cvaux/src/ |
cvmorphing.cpp | 50 float alpha, /* relative position of camera */ 59 float alpha1; /* alpha - 1.0 */ 60 int s, s1; /* integer variant of alpha and alpha1 ( 0 <= s,s1 <= 256 ) */ 78 alpha1 = (float) (1.0 - alpha); 80 s = (int) (alpha * 256); 100 begDestLine = (int) (alpha * begLine + alpha1 * begCorr); 101 endDestLine = (int) (alpha * endLine + alpha1 * endCorr); 189 begDestLine = (int) (alpha1 * begLine + alpha * begCorr); 190 endDestLine = (int) (alpha1 * endLine + alpha * endCorr); 287 float alpha, /* relative position of camera * [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkSpriteBlitter_ARGB32.cpp | 22 Sprite_D32_S32(const SkBitmap& src, U8CPU alpha) : INHERITED(src) { 26 if (255 != alpha) { 34 fAlpha = alpha; 45 U8CPU alpha = fAlpha; local 48 proc(dst, src, width, alpha); 275 U8CPU alpha = paint.getAlpha(); local 282 if (alpha != 0xFF) { 298 if (255 == alpha) { 299 // this can handle xfermode or filter, but not alpha 304 // this can handle alpha, but not xfermode or filte [all...] |
SkBlitter.h | 30 /// zero-terminated run-length encoding of spans of constant alpha values. 33 /// Blit a vertical run of pixels with a constant alpha value. 34 virtual void blitV(int x, int y, int height, SkAlpha alpha); 37 /** Blit a rectangle with one alpha-blended column on the left, 38 width (zero or more) opaque pixels, and one alpha-blended column 98 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE; 120 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE; 147 virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
|
/external/skia/src/core/ |
SkSpriteBlitter_ARGB32.cpp | 22 Sprite_D32_S32(const SkBitmap& src, U8CPU alpha) : INHERITED(src) { 26 if (255 != alpha) { 34 fAlpha = alpha; 45 U8CPU alpha = fAlpha; local 48 proc(dst, src, width, alpha); 275 U8CPU alpha = paint.getAlpha(); local 282 if (alpha != 0xFF) { 298 if (255 == alpha) { 299 // this can handle xfermode or filter, but not alpha 304 // this can handle alpha, but not xfermode or filte [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
r300_fragprog_emit.c | 165 code->alu.inst[ip].alpha_inst = translate_alpha_opcode(c, inst->Alpha.Opcode); 176 /* Set the Alpha address */ 177 src = use_source(code, inst->Alpha.Src[j]); 178 if (inst->Alpha.Src[j].Index >= R300_PFS_NUM_TEMP_REGS) 188 arg = r300FPTranslateAlphaSwizzle(inst->Alpha.Arg[j].Source, inst->Alpha.Arg[j].Swizzle); 189 arg |= inst->Alpha.Arg[j].Abs << 6; 190 arg |= inst->Alpha.Arg[j].Negate << 5; 218 if (inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Used) { 219 switch(inst->Alpha.Src[RC_PAIR_PRESUB_SRC].Index) [all...] |
/external/ceres-solver/internal/ceres/ |
corrector.cc | 62 // correction. Normaly, alpha is upper bounded by one, but with this 63 // change, alpha is bounded above by zero. 89 // 0.5 * alpha^2 - alpha - rho'' / rho' * z'z = 0. 97 const double alpha = 1.0 - sqrt(D); local 100 residual_scaling_ = sqrt_rho1_ / (1 - alpha); 101 alpha_sq_norm_ = alpha / sq_norm; 120 // J = sqrt(rho) * (J - alpha^2 r * r' J)
|
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
wrench_menu_button_cell.mm | 21 [[NSColor colorWithDeviceWhite:0.663 alpha:1.0] set]; 27 NSColor* end = [NSColor colorWithDeviceWhite:0.922 alpha:1.0];
|
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/ |
wrench_menu_button_cell.mm | 22 [[NSColor colorWithDeviceWhite:0.663 alpha:1.0] set]; 28 NSColor* end = [NSColor colorWithDeviceWhite:0.922 alpha:1.0];
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
skia_utils_gtk2.cc | 65 const unsigned char& alpha = gdk_pixels[3]; local 67 skia_data[i] = SkPreMultiplyARGB(alpha, red, green, blue); 104 TRUE, // There is an alpha channel. 117 int alpha = SkColorGetA(pixel); local 118 if (alpha != 0 && alpha != 255) { 123 divided[i + 3] = alpha; 128 divided[i + 3] = alpha;
|
/external/chromium_org/content/browser/device_orientation/ |
orientation.cc | 26 params.alpha = alpha_; 46 old_orientation->alpha()) ||
|
/external/chromium_org/media/base/ |
run_all_unittests.cc | 40 // Enable VP8 alpha support for all media tests. 41 // TODO(tomfinegan): Remove this once the VP8 alpha flag is removed or
|
/external/chromium_org/ppapi/api/ |
ppb_image_data.idl | 26 * The PREMUL suffix implies pre-multiplied alpha is used. In this mode, the 28 * data should be pre-multiplied by their alpha value. For example: starting 36 * <code>float alpha = 0.75f;</code> 38 * <code>uint8_t image_data_red_premul = (uint8_t)(red * alpha * 255.0f); 40 * <code>uint8_t image_data_green_premul = (uint8_t)(green * alpha * 255.0f); 42 * <code>uint8_t image_data_blue_premul = (uint8_t)(blue * alpha * 255.0f); 44 * <code>uint8_t image_data_alpha_premul = (uint8_t)(alpha * 255.0f);</code> 47 * components should not be greater than the alpha value.
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8HTMLCanvasElementCustom.cpp | 60 v8::Handle<v8::String> alpha = v8::String::NewSymbol("alpha"); local 61 if (jsAttrs->Has(alpha)) 62 webGLAttrs->setAlpha(jsAttrs->Get(alpha)->BooleanValue()); 84 v8::Handle<v8::String> alpha = v8::String::NewSymbol("alpha"); local 85 if (jsAttrs->Has(alpha)) 86 canvas2DAttrs->setAlpha(jsAttrs->Get(alpha)->BooleanValue());
|
/external/chromium_org/third_party/WebKit/Source/core/platform/image-encoders/skia/ |
PNGImageEncoder.cpp | 56 const unsigned alpha = SkGetPackedA32(*input); local 57 if ((alpha != 0) && (alpha != 255)) { 58 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedR32(*input)); 59 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedG32(*input)); 60 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedB32(*input)); 61 *output++ = alpha; 66 *output++ = alpha;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_bld_alpha.h | 29 * Alpha testing to LLVM IR translation. 54 LLVMValueRef alpha,
|
/external/chromium_org/third_party/openssl/openssl/crypto/bn/asm/ |
README | 13 For the DEC alpha, I also hand wrote the assember (except the division which 15 On the 2 alpha C compilers I had access to, it was not possible to do
|