/frameworks/base/core/java/android/widget/ |
H A D | ImageButton.java | 87 protected boolean onSetAlpha(int alpha) { argument
|
H A D | ScrollBarDrawable.java | 218 public void setAlpha(int alpha) { argument 220 mVerticalTrack.setAlpha(alpha); 222 mVerticalThumb.setAlpha(alpha); 224 mHorizontalTrack.setAlpha(alpha); 226 mHorizontalThumb.setAlpha(alpha);
|
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/graphics/ |
H A D | BitmapTest.java | 167 private static int computePrePostMul(int alpha, int comp) { argument 168 if (alpha == 0) { 171 int premul = Math.round(alpha * comp / 255.f); 172 int unpre = Math.round(255.0f * premul / alpha); 192 // now check that we did a good job returning the unpremultiplied alpha 205 int a0 = Color.alpha(c0); 206 int a1 = Color.alpha(c1); 207 assertEquals("alpha", a0, a1);
|
/frameworks/base/core/java/android/view/animation/ |
H A D | Transformation.java | 30 * Indicates a transformation that has no effect (alpha = 1 and identity matrix.) 34 * Indicates a transformation that applies an alpha only (uses an identity matrix.) 38 * Indicates a transformation that applies a matrix only (alpha = 1.) 42 * Indicates a transformation that applies an alpha and a matrix. 51 * Creates a new transformation with alpha = 1 and the identity matrix. 124 * @param alpha 1.0 means fully opaqe and 0.0 means fully transparent 126 public void setAlpha(float alpha) { argument 127 mAlpha = alpha; 158 sb.append("{alpha="); sb.append(mAlpha); 168 pw.print("{alpha [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | ColorDrawable.java | 73 * Returns the alpha value of this drawable's color. 82 * Sets the color's alpha value. 84 * @param alpha The alpha value to set, between 0 and 255. 86 public void setAlpha(int alpha) { argument 87 alpha += alpha >> 7; // make it 0..256 89 int useAlpha = baseAlpha * alpha >> 8;
|
H A D | PictureDrawable.java | 104 public void setAlpha(int alpha) {} argument
|
H A D | AnimatedRotateDrawable.java | 149 public void setAlpha(int alpha) { argument 150 mState.mDrawable.setAlpha(alpha);
|
H A D | ClipDrawable.java | 148 public void setAlpha(int alpha) { argument 149 mClipState.mDrawable.setAlpha(alpha);
|
H A D | InsetDrawable.java | 187 public void setAlpha(int alpha) { argument 188 mInsetState.mDrawable.setAlpha(alpha);
|
H A D | NinePatchDrawable.java | 203 public void setAlpha(int alpha) { argument 204 getPaint().setAlpha(alpha);
|
H A D | RotateDrawable.java | 105 public void setAlpha(int alpha) { argument 106 mState.mDrawable.setAlpha(alpha);
|
H A D | ScaleDrawable.java | 170 public void setAlpha(int alpha) { argument 171 mScaleState.mDrawable.setAlpha(alpha);
|
/frameworks/base/include/private/ui/ |
H A D | LayerState.h | 37 alpha(0), tint(0), flags(0), mask(0), 60 float alpha; member in struct:android::layer_state_t
|
/frameworks/base/services/java/com/android/server/status/ |
H A D | FixedSizeDrawable.java | 43 public void setAlpha(int alpha) { argument 44 mDrawable.setAlpha(alpha);
|
/frameworks/base/tests/CoreTests/android/graphics/drawable/ |
H A D | StateListDrawableTest.java | 87 public void setAlpha(int alpha) { argument
|
/frameworks/base/awt/java/awt/ |
H A D | AlphaComposite.java | 33 * The AlphaComposite class defines a basic alpha compositing rules for 42 * The Constant CLEAR indicates that both the color and the alpha of the 122 * AlphaComposite object with the opaque CLEAR rule and an alpha of 1.0f. 127 * AlphaComposite object with the opaque SRC rule and an alpha of 1.0f. 132 * AlphaComposite object with the opaque DST rule and an alpha of 1.0f. 137 * AlphaComposite object with the opaque SRC_OVER rule and an alpha of 1.0f. 142 * AlphaComposite object with the opaque DST_OVER rule and an alpha of 1.0f. 147 * AlphaComposite object with the opaque SRC_IN rule and an alpha of 1.0f. 152 * AlphaComposite object with the opaque DST_IN rule and an alpha of 1.0f. 157 * AlphaComposite object with the opaque SRC_OUT rule and an alpha o 189 private float alpha; field in class:AlphaComposite 201 AlphaComposite(int rule, float alpha) argument 306 getInstance(int rule, float alpha) argument [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/render/ |
H A D | NativeImageBlitter.java | 148 float alpha = ac.getAlpha(); 153 compType, alpha, clipRects, srcSurf.invalidated()); 159 width, height, compType, alpha, 205 int compType, float alpha, int clip[], boolean invalidated); 210 float alpha, int clip[], boolean invalidated); 202 bltBG(int srcX, int srcY, long srsSurfDataPtr, Object srcData, int dstX, int dstY, long dstSurfDataPtr, Object dstData, int width, int height, int bgcolor, int compType, float alpha, int clip[], boolean invalidated) argument 207 blt(int srcX, int srcY, long srsSurfDataPtr, Object srcData, int dstX, int dstY, long dstSurfDataPtr, Object dstData, int width, int height, int compType, float alpha, int clip[], boolean invalidated) argument
|
H A D | JavaBlitter.java | 216 float alpha = 0; 225 alpha = ac.getAlpha(); 281 dstCM, dstRast, _w, _h, rule, alpha, bgcolor); 296 int width, int height, int rule, float alpha, Color bgcolor){ 299 int srcConstAllpha = (int)(alpha * 255 + 0.5f); 294 alphaCompose(int srcX, int srcY, ColorModel srcCM, Raster srcRast, int dstX, int dstY, ColorModel dstCM, WritableRaster dstRast, int width, int height, int rule, float alpha, Color bgcolor) argument
|
/frameworks/base/core/java/android/content/res/ |
H A D | ColorStateList.java | 154 * colors as this one but where each color has the specified alpha value 157 public ColorStateList withAlpha(int alpha) { argument 162 colors[i] = (mColors[i] & 0xFFFFFF) | (alpha << 24);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 26 * Colors are represented as packed ints, made up of 4 bytes: alpha, red, 28 * stored solely in the alpha component, and not in the color components. The 29 * components are stored as follows (alpha << 24) | (red << 16) | 50 * Return the alpha component of a color int. This is the same as saying 53 public static int alpha(int color) { method in class:Color 83 * The alpha component is implicity 255 (fully opaque). 96 * Return a color-int from alpha, red, green, blue components. 100 * @param alpha Alpha component [0..255] of the color 105 public static int argb(int alpha, int red, int green, int blue) { argument 106 return (alpha << 2 358 HSVToColor(int alpha, float hsv[]) argument 366 nativeHSVToColor(int alpha, float hsv[]) argument [all...] |
/frameworks/base/graphics/java/android/graphics/utils/ |
H A D | BoundaryPatch.java | 123 * Set the alpha for the patch 125 public void setAlpha(int alpha) { argument 126 mPaint.setAlpha(alpha);
|
/frameworks/base/libs/surfaceflinger/ |
H A D | LayerBlur.cpp | 208 if (UNLIKELY(s.alpha < 0xFF)) { 209 const GGLfixed alpha = (s.alpha << 16)/255; local 210 glColor4x(0, 0, 0, alpha);
|
H A D | LayerDim.cpp | 116 if (s.alpha>0 && (it != end)) { 118 const GGLfixed alpha = (s.alpha << 16)/255; local 123 glColor4x(0, 0, 0, alpha);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchImpl.cpp | 64 static SkColor modAlpha(SkColor c, int alpha) { argument 65 int scale = alpha + (alpha >> 7);
|
H A D | Shader.cpp | 29 static int Color_HSVToColor(JNIEnv* env, jobject, int alpha, jfloatArray hsvArray) argument 39 return SkHSVToColor(alpha, hsv);
|