Home
last modified time | relevance | path

Searched refs:green (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLMock.java72 public void glColor4f(float red, float green, float blue, in glColor4f() argument
75 mGLColor = makeColor4f(red, green, blue, alpha); in glColor4f()
79 public void glColor4x(int red, int green, int blue, int alpha) { in glColor4x() argument
81 mGLColor = makeColor4x(red, green, blue, alpha); in glColor4x()
183 public static int makeColor4f(float red, float green, float blue, in makeColor4f() argument
187 (Math.round(green * 255) << 8) | in makeColor4f()
191 public static int makeColor4x(int red, int green, int blue, int alpha) { in makeColor4x() argument
193 return makeColor4f(red / X, green / X, blue / X, alpha / X); in makeColor4x()
DGLStub.java59 float green, in glClearColor() argument
66 int green, in glClearColorx() argument
89 float green, in glColor4f() argument
96 int green, in glColor4x() argument
103 boolean green, in glColorMask() argument
796 byte green, in glColor4ub() argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DBoxBlurFilter.java75 int green = 0; in applyOneDimension() local
80 green += (argb & GREEN_MASK) >> GREEN_MASK_SHIFT; in applyOneDimension()
87 | (KERNEL_NORM[green] << GREEN_MASK_SHIFT) in applyOneDimension()
95 green += ((next & GREEN_MASK) - (prev & GREEN_MASK)) >> GREEN_MASK_SHIFT; in applyOneDimension()
/packages/apps/Phone/src/com/android/phone/
DBitmapUtils.java135 int green = 0; in gaussianBlurFilter() local
141 green += weight *((argb & GREEN_MASK) >> GREEN_MASK_SHIFT); in gaussianBlurFilter()
146 | ((green >> 8) << GREEN_MASK_SHIFT) in gaussianBlurFilter()
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
Dgrass.rs273 float green = 0.0f;
290 green = tv;
295 green = z;
300 green = z;
305 green = qv;
310 green = pv;
315 green = pv;
320 return rsPackColorTo8888(red, green, blue);
/packages/apps/Settings/src/com/android/settings/applications/
DLinearColorBar.java53 public void setRatios(float red, float yellow, float green) { in setRatios() argument
56 mGreenRatio = green; in setRatios()
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
DHoloSpiralRS.java254 float green = Color.green(color) / 255.0f; in convertColor() local
257 return new Float4(red, green, blue, alpha); in convertColor()
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
DPhaseBeamRS.java164 float green = new Float(values[3]); in createBackgroundMesh() local
167 mVertexColors.set_color(i, new Float4(red, green, blue, 1.0f), false); in createBackgroundMesh()
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/actions/
DDoodleView.java95 doodlePaint.setColor(Color.argb(192, Color.red(color), Color.green(color), in setColor()
/packages/apps/Contacts/src/com/android/contacts/widget/
DTextHighlightingAnimation.java165 color = Color.argb(mAlpha, Color.red(color), Color.green(color), Color.blue(color)); in updateDrawState()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DLatinKeyboard.java153 Color.red(color), Color.green(color), Color.blue(color)); in getSpacebarTextColor()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestionsView.java324 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()