Searched refs:blue (Results 1 - 25 of 79) sorted by relevance

1234

/frameworks/base/graphics/java/android/graphics/
H A DColor.java30 * green, blue. The values are unpremultiplied, meaning any transparency is
33 * (green << 8) | blue. Each component ranges between 0..255 with 0
36 * no contributions from red, green, or blue), and opaque-white would be
81 * Return the blue component of a color int. This is the same as saying
85 public static int blue(int color) { method in class:Color
90 * Return a color-int from red, green, blue components.
97 * @param blue Blue component [0..255] of the color
100 public static int rgb(int red, int green, int blue) { argument
101 return (0xFF << 24) | (red << 16) | (green << 8) | blue;
105 * Return a color-int from alpha, red, green, blue component
115 argb(int alpha, int red, int green, int blue) argument
331 RGBToHSV(int red, int green, int blue, @Size(3) float hsv[]) argument
381 nativeRGBToHSV(int red, int greed, int blue, float hsv[]) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DTonemapCurve.java33 * <p>This defines red, green, and blue curves that the {@link CameraDevice} will
74 * Index of the blue color channel curve.
94 * @param blue An array of elements whose length is divisible by {@value #POINT_SIZE}
103 public TonemapCurve(float[] red, float[] green, float[] blue) { argument
108 checkNotNull(blue, "blue must not be null");
112 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue");
116 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue");
[all...]
H A DRggbChannelVector.java54 * @param blue blue pixel
59 final float blue) {
63 mBlue = checkArgumentFinite(blue, "blue");
94 * Get the blue component.
58 RggbChannelVector(final float red, final float greenEven, final float greenOdd, final float blue) argument
H A DLensShadingMap.java170 final float blue =
173 return new RggbChannelVector(red, greenEven, greenOdd, blue);
/frameworks/support/v4/java/android/support/v4/graphics/
H A DColorUtils.java43 int b = compositeComponent(Color.blue(foreground), fgAlpha,
44 Color.blue(background), bgAlpha, a);
70 double blue = Color.blue(color) / 255d;
71 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4);
73 return (0.2126 * red) + (0.7152 * green) + (0.0722 * blue);
158 * @param b blue componen
[all...]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
H A DMarshalQueryableRggbChannelVector.java52 float blue = buffer.getFloat();
54 return new RggbChannelVector(red, gEven, gOdd, blue);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DDescription.cpp72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { argument
75 mColor[2] = blue;
H A DDescription.h66 void setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
H A DRenderEngine.h71 void clearWithColor(float red, float green, float blue, float alpha);
73 float red, float green, float blue, float alpha);
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java78 float blue = (now_us % 3000000) / 3000000.f;
79 GLES20.glClearColor(red, green, blue, 1.0f);
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A DMaterial.java104 int[] blue = new int[means.length - 1];
114 blue[i] = (rgb >> 0) & 0xff;
131 mMaterialProp[i].mBlue = blue[i];
245 int blue = m[0].mBlue;
251 mColor[p + BLUE] = (byte) blue;
268 int blue = (int) (m[k].mBlue * t1 + m[k + 1].mBlue * t2);
277 mColor[p + BLUE] = (byte) blue;
289 int blue = mp.mBlue;
294 mColor[p + BLUE] = (byte) blue;
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DDuotoneFilter.java114 Color.blue(mFirstColor)/255f };
117 Color.blue(mSecondColor)/255f };
H A DTintFilter.java125 Color.blue(mTint) / 255f };
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DPathDestructionActivity.java76 int blue = MathUtils.random(255);
77 return 0xff000000 | red << 16 | green << 8 | blue;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
H A DUtilities.java122 float bgB = Color.blue(bg) / 255f;
130 float fgB = Color.blue(fg) / 255f;
146 (int) (overlayAlpha * Color.blue(baseColor) +
147 (1f - overlayAlpha) * Color.blue(overlayColor)));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/graphics/
H A DColorFilterCache.java43 final int b = Color.blue(color);
H A DColorOverlayDimmer.java75 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor));
136 (int)(Color.blue(color) * f));
/frameworks/support/v4/tests/java/android/support/v4/graphics/
H A DColorUtilsTest.java111 Color.blue(expectedRgb), Color.blue(actualRgb), ALLOWED_OFFSET_RGB_COMPONENT);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
H A DTextViewWithCircularIndicator.java31 * A text view which, when pressed or activated, displays a blue circle around the text.
48 mCircleColor = res.getColor(R.color.blue);
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
H A DRadialSelectorView.java35 * View to show what number is selected. This will draw a blue circle over the number, with a blue
36 * line coming from the center of the main circle to the edge of the blue selection.
103 int blue = res.getColor(R.color.blue);
104 mPaint.setColor(blue);
151 color = res.getColor(R.color.blue);
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h350 void SetClearColor(float red, float green, float blue, float alpha);
429 float blue; member in struct:android::filterfw::ShaderProgram::RGBAColor
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) {
/frameworks/native/opengl/libagl/
H A Ddxt.cpp54 #define blue(x) ( (x) & 0x1f) macro
237 int b0 = blue(color0);
241 int b1 = blue(color1);
367 int b0 = blue(color0);
371 int b1 = blue(color1);
524 int b0 = blue(color0);
528 int b1 = blue(color1);
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec7 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/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DSearchOrbView.java120 int blue = (int)(Color.blue(color) * (1 - sBrightnessAlpha) + brightnessValue);
122 return Color.argb(alpha, red, green, blue);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DScrimView.java77 Color.green(color), Color.blue(color));

Completed in 1915 milliseconds

1234