/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 73 public static int green(int color) { in green() method in Color 96 public static int rgb(int red, int green, int blue) { in rgb() argument 97 return (0xFF << 24) | (red << 16) | (green << 8) | blue; in rgb() 111 public static int argb(int alpha, int red, int green, int blue) { in argb() argument 112 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb() 126 double green = Color.green(color) / 255.0; in luminance() 127 green = green < 0.03928 ? green / 12.92 : Math.pow((green + 0.055) / 1.055, 2.4); in luminance() 130 return (float) ((0.2126 * red) + (0.7152 * green) + (0.0722 * blue)); in luminance() 176 public static void RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) { 180 nativeRGBToHSV(red, green, blue, hsv);
|
/frameworks/rs/java/tests/Refocus/src/com/android/rs/test/ |
D | layered_filter_fast_f32.rs | 106 sharp->green = in.g * g_kOneOver255; 111 sharp->green = 112 ApplyLUT_Float(sharp->green, g_camera_response.lut_remove_crf_float); 270 float4 this_value = {weight * sharp->red, weight * sharp->green, 291 float4 this_value = {weight * sharp->red, weight * sharp->green, 387 fuzzy->green += factor * result.green; 433 sharp->green += factor * (fuzzy->green - sharp->green); 437 fuzzy->green = 0; 463 fuzzy->green += sharp->green * capacity; 484 ApplyLUT_Float(fuzzy->green, g_camera_response.lut_apply_crf_float); [all …]
|
D | pixel_format_f32.rsh | 7 // 1. Initially, it stores the input color (red, green, blue) and the depth 17 // the color (red, green, blue) of FocusPixel is updated and ready to be used in 21 // the color (red, green, blue) of FocusPixel is *not* changed. 28 float green; 52 float green;
|
D | layered_filter_f32_helper.rsh | 96 result.green += weight * sharp_nbr->green; 108 result.green *= factor; 144 fuzzy.green = result.g * factor; 180 result.green += weight * sharp_nbr->green; 192 result.green *= fac; 202 p->green = 0; 222 p->green = 0;
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | TonemapCurve.java | 103 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument 107 checkNotNull(green, "green must not be null"); in TonemapCurve() 111 checkArgumentArrayLengthDivisibleBy(green, POINT_SIZE, "green"); in TonemapCurve() 115 checkArgumentArrayLengthNoLessThan(green, MIN_CURVE_LENGTH, "green"); in TonemapCurve() 119 checkArrayElementsInRange(green, LEVEL_BLACK, LEVEL_WHITE, "green"); in TonemapCurve() 123 mGreen = Arrays.copyOf(green, green.length); in TonemapCurve()
|
/frameworks/base/docs/html/about/versions/ |
D | android-2.2-highlights.jd | 36 .green { 78 <p style="margin-top:0">New Home screen <span class="green">tips widget</span> assists new users on 81 <p>The Phone, applications Launcher, and Browser now have <span class="green">dedicated 95 <p><span class="green">Improved security</span> with the addition of numeric pin or alpha-numeric 98 <p><span class="green">Remote wipe:</span> Exchange administrators can remotely reset the device to 100 <p><span class="green">Exchange Calendars are now supported</span> in the Calendar application.</p> 101 <p><span class="green">Auto-discovery:</span> you just need to know your user-name and password to 103 <p><span class="green">Global Address Lists look-up</span> is now available in the Email 121 <p>Gallery allows you to <span class="green">peek into picture stacks</span> using a zoom 123 <p>Camera <span class="green">onscreen buttons</span> provide easy access to a new UI for [all …]
|
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
D | Material.java | 103 int[] green = new int[means.length - 1]; in setup() local 113 green[i] = (rgb >> 8) & 0xff; in setup() 130 mMaterialProp[i].mGreen = green[i]; in setup() 244 int green = m[0].mGreen; in buildMaterialProp() local 250 mColor[p + GREEN] = (byte) green; in buildMaterialProp() 267 int green = (int) (m[k].mGreen * t1 + m[k + 1].mGreen * t2); in buildMaterialProp() local 276 mColor[p + GREEN] = (byte) green; in buildMaterialProp() 288 int green = mp.mGreen; in buildMaterialProp() local 293 mColor[p + GREEN] = (byte) green; in buildMaterialProp()
|
/frameworks/support/v7/palette/src/androidTest/java/android/support/v7/graphics/ |
D | TestUtils.java | 37 assertEquals(Color.green(expected), Color.green(actual), 2); in assertCloseColors()
|
/frameworks/native/opengl/tests/finish/ |
D | finish.cpp | 165 uint16_t green = 0x7E0; in main() local 168 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); in main() 213 uint16_t green = 0x7E0; in main() local 216 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); in main()
|
/frameworks/native/opengl/libagl/ |
D | dxt.cpp | 53 #define green(x) (((x) >> 5) & 0x3f) macro 236 int g0 = green(color0); in decodeDXT1() 240 int g1 = green(color1); in decodeDXT1() 366 int g0 = green(color0); in decodeDXT3() 370 int g1 = green(color1); in decodeDXT3() 523 int g0 = green(color0); in decodeDXT5() 527 int g1 = green(color1); in decodeDXT5()
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Description.cpp | 72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { in setColor() argument 74 mColor[1] = green; in setColor()
|
D | RenderEngine.h | 71 void clearWithColor(float red, float green, float blue, float alpha); 73 float red, float green, float blue, float alpha);
|
/frameworks/support/v4/java/android/support/v4/graphics/ |
D | ColorUtils.java | 54 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 55 Color.green(background), bgAlpha, a); in compositeColors() 221 RGBToHSL(Color.red(color), Color.green(color), Color.blue(color), outHsl); in colorToHSL() 310 RGBToLAB(Color.red(color), Color.green(color), Color.blue(color), outLab); in colorToLAB() 353 RGBToXYZ(Color.red(color), Color.green(color), Color.blue(color), outXyz); in colorToXYZ() 546 float g = Color.green(color1) * inverseRatio + Color.green(color2) * ratio; in blendARGB()
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | gl_api.in | 4 void API_ENTRY(glClearColor)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 5 CALL_GL_API(glClearColor, red, green, blue, alpha); 13 void API_ENTRY(glColor4f)(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) { 14 CALL_GL_API(glColor4f, red, green, blue, alpha); 139 void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 140 CALL_GL_API(glClearColorx, red, green, blue, alpha); 154 void API_ENTRY(glColor4ub)(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) { 155 CALL_GL_API(glColor4ub, red, green, blue, alpha); 157 void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 158 CALL_GL_API(glColor4x, red, green, blue, alpha); [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationUtils.java | 51 (int) interpolate(Color.green(startColor), Color.green(endColor), amount), in interpolateColors()
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES10.spec | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/ |
D | TestFramerateView.java | 77 float green = (now_us % 2000000) / 2000000.f; in onDrawFrame() local 79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.cpp | 68 U8CPU green = lerp(SkColorGetG(fromColor), SkColorGetG(toColor), fraction); in interpolateColors() local 70 return SkColorSetARGB(alpha, red, green, blue); in interpolateColors()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
D | DuotoneFilter.java | 113 Color.green(mFirstColor)/255f, in updateParameters() 116 Color.green(mSecondColor)/255f, in updateParameters()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 428 float green; member 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) { in RGBAColor()
|
/frameworks/support/v4/tests/java/android/support/v4/graphics/ |
D | ColorUtilsTest.java | 207 assertEquals("Green not within offset", Color.green(expected), Color.green(actualRgb), in verifyHSLToColor() 254 assertEquals("G not equal: " + message, Color.green(expected), Color.green(actual), 1); in verifyRGBComponentsClose()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
D | Utilities.java | 176 float bgG = Color.green(bg) / 255f; in computeContrastBetweenColors() 184 float fgG = Color.green(fg) / 255f; in computeContrastBetweenColors() 199 (int) (overlayAlpha * Color.green(baseColor) + in getColorWithOverlay() 200 (1f - overlayAlpha) * Color.green(overlayColor)), in getColorWithOverlay()
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
D | GL10.java | 291 float green, in glClearColor() argument 298 int green, in glClearColorx() argument 321 float green, in glColor4f() argument 328 int green, in glColor4x() argument 335 boolean green, in glColorMask() argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | PathDestructionActivity.java | 75 int green = MathUtils.random(255); in getRandomColor() local 77 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0 | 7 void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 8 void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 13 void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 15 void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha )
|