/frameworks/support/transition/src/androidTest/java/androidx/transition/ |
H A D | ChangeBoundsTest.java | 56 assertThat(startHolder.green, is(below(startHolder.red))); 60 assertThat(endHolder.green, is(atTop())); 61 assertThat(endHolder.red, is(below(endHolder.green))); 95 public final View green; field in class:ChangeBoundsTest.ViewHolder 99 green = activity.findViewById(R.id.greenSquare);
|
/frameworks/native/opengl/tests/finish/ |
H A D | finish.cpp | 164 uint16_t green = 0x7E0; local 167 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green); 212 uint16_t green = 0x7E0; local 215 glTexSubImage2D(GL_TEXTURE_2D, 0, 0, 0, 1, 1, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, &green);
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | TonemapCurve.java | 33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will 70 * Index of the green color channel curve. 93 * @param green An array of elements whose length is divisible by {@value #POINT_SIZE} 103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument 107 checkNotNull(green, "green must not be null"); 111 checkArgumentArrayLengthDivisibleBy(green, POINT_SIZE, "green"); 115 checkArgumentArrayLengthNoLessThan(green, MIN_CURVE_LENGTH, "green"); [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.h | 350 void SetClearColor(float red, float green, float blue, float alpha); 428 float green; member in struct:android::filterfw::ShaderProgram::RGBAColor 432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
|
H A D | shader_program.cpp | 562 clear_color_.green, 595 void ShaderProgram::SetClearColor(float red, float green, float blue, float alpha) { argument 597 clear_color_.green = green;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Shader.cpp | 28 static void Color_RGBToHSV(JNIEnv* env, jobject, jint red, jint green, jint blue, jfloatArray hsvArray) argument 31 SkRGBToHSV(red, green, blue, hsv);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 111 * <li>{@link #green(int)} to extract the green component</li> 124 * which the components represent red, green and blue values.</p> 210 * <li>{@link #green(long)} to extract the green/Y/a component</li> 239 * Color green = Color.valueOf(100.0f, -128.0f, 128.0f, 1.0f, lab); 249 * <li>{@link #green()}, returns the green component value (or second 336 * @param g The value of the green channel, must be in [0..1] range 349 * @param g The value of the green channe 518 public float green() { method in class:Color 742 public static float green(@ColorLong long color) { method in class:Color 999 pack(float red, float green, float blue) argument 1016 pack(float red, float green, float blue, float alpha) argument 1040 pack(float red, float green, float blue, float alpha, @NonNull ColorSpace colorSpace) argument 1258 public static int green(int color) { method in class:Color 1283 rgb( @ntRangefrom = 0, to = 255) int red, @IntRange(from = 0, to = 255) int green, @IntRange(from = 0, to = 255) int blue) argument 1301 rgb(float red, float green, float blue) argument 1319 argb( @ntRangefrom = 0, to = 255) int alpha, @IntRange(from = 0, to = 255) int red, @IntRange(from = 0, to = 255) int green, @IntRange(from = 0, to = 255) int blue) argument 1338 argb(float alpha, float red, float green, float blue) argument 1415 RGBToHSV( @ntRangefrom = 0, to = 255) int red, @IntRange(from = 0, to = 255) int green, @IntRange(from = 0, to = 255) int blue, @Size(3) float hsv[]) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | state.cpp | 569 void glClearColorx(GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha) { argument 571 c->rasterizer.procs.clearColorx(c, red, green, blue, alpha);
|
H A D | dxt.cpp | 53 #define green(x) (((x) >> 5) & 0x3f) macro 236 int g0 = green(color0); 240 int g1 = green(color1); 366 int g0 = green(color0); 370 int g1 = green(color1); 523 int g0 = green(color0); 527 int g1 = green(color1);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | SoftVideoEncoderOMXComponent.cpp | 482 unsigned green = src[greenOffset]; local 494 ((red * 65 + green * 129 + blue * 25 + 128) >> 8) + 16; 500 ((-red * 38 - green * 74 + blue * 112 + 128) >> 8) + 128; 503 ((red * 112 - green * 94 - blue * 18 + 128) >> 8) + 128;
|
/frameworks/base/tools/aapt2/compile/ |
H A D | PngCrunch.cpp | 412 slot->green = color >> 16; 534 int green = *row++; local 544 (red != 0 || green != 0 || blue != 0); 545 red = green = blue = 0; 549 const uint32_t color = red << 24 | green << 16 | blue << 8 | alpha; 560 if (red != green || red != blue) { 567 max_gray_deviation = std::max(std::abs(red - green), max_gray_deviation); 568 max_gray_deviation = std::max(std::abs(green - blue), max_gray_deviation); 680 // The image was already grayscale, red == green == blue.
|
/frameworks/support/palette/src/main/java/androidx/palette/graphics/ |
H A D | Palette.java | 456 mGreen = Color.green(color); 462 Swatch(int red, int green, int blue, int population) { argument 464 mGreen = green; 466 mRgb = Color.rgb(red, green, blue);
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 459 mGreen = Color.green(color); 465 Swatch(int red, int green, int blue, int population) { argument 467 mGreen = green; 469 mRgb = Color.rgb(red, green, blue);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 328 float green, float blue, float alpha) { 347 setupFillWithColor(red, green, blue, alpha); 351 void RenderEngine::clearWithColor(float red, float green, float blue, float alpha) { argument 352 glClearColor(red, green, blue, alpha); 327 fillRegionWithColor(const Region& region, uint32_t height, float red, float green, float blue, float alpha) argument
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES11.cpp | 713 /* void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) */ 716 (JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) { 719 (GLubyte)green, 715 android_glColor4ub__BBBB(JNIEnv *_env, jobject _this, jbyte red, jbyte green, jbyte blue, jbyte alpha) argument
|
H A D | android_opengl_GLES10.cpp | 515 /* void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) */ 518 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 521 (GLclampf)green, 527 /* void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 530 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 533 (GLclampx)green, 575 /* void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) */ 578 (JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) { 581 (GLfloat)green, 587 /* void glColor4x ( GLfixed red, GLfixed green, GLfixe 517 android_glClearColor__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 529 android_glClearColorx__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 577 android_glColor4f__FFFF(JNIEnv *_env, jobject _this, jfloat red, jfloat green, jfloat blue, jfloat alpha) argument 589 android_glColor4x__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 601 android_glColorMask__ZZZZ(JNIEnv *_env, jobject _this, jboolean red, jboolean green, jboolean blue, jboolean alpha) argument [all...] |
H A D | android_opengl_GLES11Ext.cpp | 984 /* void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) */ 987 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 990 (GLclampx)green, 1085 /* void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) */ 1088 (JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) { 1091 (GLfixed)green, 986 android_glClearColorxOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument 1087 android_glColor4xOES__IIII(JNIEnv *_env, jobject _this, jint red, jint green, jint blue, jint alpha) argument
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES11.java | 209 // C function void glColor4ub ( GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha ) 213 byte green, 211 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
H A D | GLES11Ext.java | 279 // C function void glClearColorxOES ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 283 int green, 309 // C function void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 313 int green, 281 glClearColorxOES( int red, int green, int blue, int alpha ) argument 311 glColor4xOES( int red, int green, int blue, int alpha ) argument
|
H A D | GLErrorWrapper.java | 106 public void glClearColor(float red, float green, float blue, float alpha) { argument 108 mgl.glClearColor(red, green, blue, alpha); 112 public void glClearColorx(int red, int green, int blue, int alpha) { argument 114 mgl.glClearColorx(red, green, blue, alpha); 142 public void glColor4f(float red, float green, float blue, float alpha) { argument 144 mgl.glColor4f(red, green, blue, alpha); 148 public void glColor4x(int red, int green, int blue, int alpha) { argument 150 mgl.glColor4x(red, green, blue, alpha); 154 public void glColorMask(boolean red, boolean green, boolean blue, argument 157 mgl.glColorMask(red, green, blu 980 glColor4ub(byte red, byte green, byte blue, byte alpha) argument [all...] |
H A D | GLES10.java | 313 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 317 float green, 322 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 326 int green, 355 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 359 float green, 364 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 368 int green, 373 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 377 boolean green, 315 glClearColor( float red, float green, float blue, float alpha ) argument 324 glClearColorx( int red, int green, int blue, int alpha ) argument 357 glColor4f( float red, float green, float blue, float alpha ) argument 366 glColor4x( int red, int green, int blue, int alpha ) argument 375 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument [all...] |
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11.java | 190 byte green, 188 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | Layer.cpp | 718 void Layer::clearWithOpenGL(const RenderArea& renderArea, float red, float green, float blue, argument 722 engine.setupFillWithColor(red, green, blue, alpha);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 127 // C function void glClearColor ( GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha ) 131 float green, 136 // C function void glClearColorx ( GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha ) 140 int green, 169 // C function void glColor4f ( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha ) 173 float green, 178 // C function void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 182 int green, 187 // C function void glColorMask ( GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha ) 191 boolean green, 129 glClearColor( float red, float green, float blue, float alpha ) argument 138 glClearColorx( int red, int green, int blue, int alpha ) argument 171 glColor4f( float red, float green, float blue, float alpha ) argument 180 glColor4x( int red, int green, int blue, int alpha ) argument 189 glColorMask( boolean red, boolean green, boolean blue, boolean alpha ) argument 1223 glColor4ub( byte red, byte green, byte blue, byte alpha ) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | Cea708CaptionRenderer.java | 499 int green = (data[pos] & 0x0c) >> 2; 501 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); 505 green = (data[pos] & 0x0c) >> 2; 507 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); 510 green = (data[pos] & 0x0c) >> 2; 513 CaptionColor.OPACITY_SOLID, red, green, blue); 544 int green = (data[pos] & 0x0c) >> 2; 546 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); 549 green = (data[pos + 1] & 0x0c) >> 2; 552 CaptionColor.OPACITY_SOLID, red, green, blu 843 public final int green; field in class:Cea708CCParser.CaptionColor 846 CaptionColor(int opacity, int red, int green, int blue) argument [all...] |