Home
last modified time | relevance | path

Searched refs:blue (Results 1 – 25 of 115) sorted by relevance

12345

/frameworks/base/graphics/java/android/graphics/
DColor.java79 public static int blue(int color) { in blue() method in Color
93 public static int rgb(int red, int green, int blue) { in rgb() argument
94 return (0xFF << 24) | (red << 16) | (green << 8) | blue; in rgb()
107 public static int argb(int alpha, int red, int green, int blue) { in argb() argument
108 return (alpha << 24) | (red << 16) | (green << 8) | blue; in argb()
263 float blue = 0.0f; in HSBtoColor() local
276 blue = pv; in HSBtoColor()
281 blue = pv; in HSBtoColor()
286 blue = tv; in HSBtoColor()
291 blue = b; in HSBtoColor()
[all …]
/frameworks/support/v7/palette/src/android/support/v7/graphics/
DColorUtils.java38 float b = (Color.blue(fg) * alpha1) + (Color.blue(bg) * alpha2 * (1f - alpha1)); in compositeColors()
55 double blue = Color.blue(color) / 255d; in calculateLuminance()
56 blue = blue < 0.03928 ? blue / 12.92 : Math.pow((blue + 0.055) / 1.055, 2.4); in calculateLuminance()
58 return (0.2126 * red) + (0.7152 * green) + (0.0722 * blue); in calculateLuminance()
DColorCutQuantizer.java221 final int b = Color.blue(color); in fitBox()
322 if (Color.blue(color) > dimensionMidPoint) { in findSplitPoint()
348 blueSum += colorPopulation * Color.blue(color); in getAverageColor()
403 ColorUtils.RGBtoHSL(Color.red(color), Color.green(color), Color.blue(color), mTempHsl); in shouldIgnoreColor()
/frameworks/base/core/java/android/hardware/camera2/params/
DTonemapCurve.java103 public TonemapCurve(float[] red, float[] green, float[] blue) { in TonemapCurve() argument
108 checkNotNull(blue, "blue must not be null"); in TonemapCurve()
112 checkArgumentArrayLengthDivisibleBy(blue, POINT_SIZE, "blue"); in TonemapCurve()
116 checkArgumentArrayLengthNoLessThan(blue, MIN_CURVE_LENGTH, "blue"); in TonemapCurve()
120 checkArrayElementsInRange(blue, LEVEL_BLACK, LEVEL_WHITE, "blue"); in TonemapCurve()
124 mBlue = Arrays.copyOf(blue, blue.length); in TonemapCurve()
DRggbChannelVector.java59 final float blue) { in RggbChannelVector() argument
63 mBlue = checkArgumentFinite(blue, "blue"); in RggbChannelVector()
DLensShadingMap.java171 final float blue = in getGainFactorVector() local
174 return new RggbChannelVector(red, greenEven, greenOdd, blue); in getGainFactorVector()
/frameworks/native/services/surfaceflinger/RenderEngine/
DDescription.cpp72 void Description::setColor(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha) { in setColor() argument
75 mColor[2] = blue; in setColor()
DRenderEngine.h70 void clearWithColor(float red, float green, float blue, float alpha);
72 float red, float green, float blue, float alpha);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java152 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors()
160 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
176 (int) (overlayAlpha * Color.blue(baseColor) + in getColorWithOverlay()
177 (1f - overlayAlpha) * Color.blue(overlayColor))); in getColorWithOverlay()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableRggbChannelVector.java52 float blue = buffer.getFloat(); in unmarshal() local
54 return new RggbChannelVector(red, gEven, gOdd, blue); in unmarshal()
/frameworks/native/opengl/libagl/
Ddxt.cpp54 #define blue(x) ( (x) & 0x1f) macro
237 int b0 = blue(color0); in decodeDXT1()
241 int b1 = blue(color1); in decodeDXT1()
367 int b0 = blue(color0); in decodeDXT3()
371 int b1 = blue(color1); in decodeDXT3()
524 int b0 = blue(color0); in decodeDXT5()
528 int b1 = blue(color1); in decodeDXT5()
/frameworks/native/opengl/tests/testViewport/
DREADME7 The program clears the screen to blue, then draws a full screen white quad that
18 Actual: screen is blue with offset white rectangle.
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java78 float blue = (now_us % 3000000) / 3000000.f; in onDrawFrame() local
79 GLES20.glClearColor(red, green, blue, 1.0f); in onDrawFrame()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DDuotoneFilter.java114 Color.blue(mFirstColor)/255f }; in updateParameters()
117 Color.blue(mSecondColor)/255f }; in updateParameters()
/frameworks/native/opengl/libs/GLES_CM/
Dgl_api.in4 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/native/opengl/tools/glgen/specs/gles11/
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/base/media/mca/filterfw/native/core/
Dshader_program.h350 void SetClearColor(float red, float green, float blue, float alpha);
429 float blue; member
432 RGBAColor() : red(0), green(0), blue(0), alpha(1) { in RGBAColor()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DPathDestructionActivity.java76 int blue = MathUtils.random(255); in getRandomColor() local
77 return 0xff000000 | red << 16 | green << 8 | blue; in getRandomColor()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java103 int blue = res.getColor(R.color.blue); in initialize() local
104 mPaint.setColor(blue); in initialize()
151 color = res.getColor(R.color.blue); in setTheme()
/frameworks/av/media/libstagefright/omx/
DSoftVideoEncoderOMXComponent.cpp141 unsigned blue = src[blueOffset]; in ConvertRGB32ToPlanar() local
145 ((red * 66 + green * 129 + blue * 25) >> 8) + 16; in ConvertRGB32ToPlanar()
151 ((-red * 38 - green * 74 + blue * 112) >> 8) + 128; in ConvertRGB32ToPlanar()
154 ((red * 112 - green * 94 - blue * 18) >> 8) + 128; in ConvertRGB32ToPlanar()
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
DGL10.java292 float blue, in glClearColor() argument
299 int blue, in glClearColorx() argument
322 float blue, in glColor4f() argument
329 int blue, in glColor4x() argument
336 boolean blue, in glColorMask() argument
/frameworks/native/opengl/tools/glgen/specs/jsr239/
Dglspec-1.07 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/graphics/
DColorOverlayDimmer.java75 dimColor = Color.rgb(Color.red(dimColor), Color.green(dimColor), Color.blue(dimColor)); in ColorOverlayDimmer()
136 (int)(Color.blue(color) * f)); in applyToColor()
/frameworks/base/docs/html/about/
Dstart.jd17 h2.blue{color:#33B5E5}
18 h2.blue+hr{background:#33B5E5}
28 <h2 class="blue">1. Design</h2>
/frameworks/base/opengl/java/android/opengl/
DGLES10.java318 float blue, in glClearColor() argument
327 int blue, in glClearColorx() argument
360 float blue, in glColor4f() argument
369 int blue, in glColor4x() argument
378 boolean blue, in glColorMask() argument

12345