Lines Matching defs:red
27 * Colors are represented as packed ints, made up of 4 bytes: alpha, red,
30 * components are stored as follows (alpha << 24) | (red << 16) |
34 * no contributions from red, green, or blue), and opaque-white would be
60 * Return the red component of a color int. This is the same as saying
63 public static int red(int color) {
84 * Return a color-int from red, green, blue components.
89 * @param red Red component [0..255] of the color
93 public static int rgb(int red, int green, int blue) {
94 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
98 * Return a color-int from alpha, red, green, blue components.
103 * @param red Red component [0..255] of the color
107 public static int argb(int alpha, int red, int green, int blue) {
108 return (alpha << 24) | (red << 16) | (green << 8) | blue;
203 * 'red', 'blue', 'green', 'black', 'white', 'gray', 'cyan', 'magenta',
261 float red = 0.0f;
274 red = b;
279 red = qv;
284 red = pv;
289 red = pv;
294 red = tv;
299 red = b;
305 return 0xFF000000 | (((int) (red * 255.0f)) << 16) |
314 * @param red red component value [0..255]
319 public static void RGBToHSV(int red, int green, int blue, float hsv[]) {
323 nativeRGBToHSV(red, green, blue, hsv);
369 private static native void nativeRGBToHSV(int red, int greed, int blue, float hsv[]);
403 sColorNameMap.put("red", RED);