Lines Matching defs:alpha
32 final float alpha1 = Color.alpha(fg) / 255f;
33 final float alpha2 = Color.alpha(bg) / 255f;
67 if (Color.alpha(background) != 255) {
70 if (Color.alpha(foreground) < 255) {
83 * Finds the minimum alpha value which can be applied to {@code foreground} so that is has a
86 * @return the alpha value in the range 0-255.
89 if (Color.alpha(background) != 255) {
225 * Set the alpha component of {@code color} to be {@code alpha}.
227 static int modifyAlpha(int color, int alpha) {
228 return (color & 0x00ffffff) | (alpha << 24);