Home
last modified time | relevance | path

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

12

/packages/apps/DevCamera/src/com/android/devcamera/
DBitmapUtility.java49 int green; in bitmapFromYuvImage() local
51 green = ((int) buf0.get(i)) & 255; in bitmapFromYuvImage()
52 colors[i] = green << 16 | green << 8 | green | alpha; in bitmapFromYuvImage()
/packages/apps/Settings/src/com/android/settings/applications/
DLinearColorPreference.java40 public void setRatios(float red, float yellow, float green) { in setRatios() argument
43 mGreenRatio = green; in setRatios()
47 public void setColors(int red, int yellow, int green) { in setColors() argument
50 mGreenColor = green; in setColors()
DLinearColorBar.java88 public void setRatios(float red, float yellow, float green) { in setRatios() argument
91 mGreenRatio = green; in setRatios()
95 public void setColors(int red, int yellow, int green) { in setColors() argument
98 mRightColor = green; in setColors()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
DCea708Data.java151 public final int green; field in Cea708Data.CaptionColor
154 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument
157 this.green = green; in CaptionColor()
163 OPACITY_MAP[opacity], COLOR_MAP[red], COLOR_MAP[green], COLOR_MAP[blue]); in getArgbValue()
/packages/apps/TV/usbtuner/src/com/android/usbtuner/cc/
DCea708Parser.java577 int green = (data[pos] & 0x0c) >> 2; in parseC1() local
579 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
583 green = (data[pos] & 0x0c) >> 2; in parseC1()
585 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
588 green = (data[pos] & 0x0c) >> 2; in parseC1()
591 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
622 int green = (data[pos] & 0x0c) >> 2; in parseC1() local
624 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
627 green = (data[pos + 1] & 0x0c) >> 2; in parseC1()
630 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionImageView.java200 mBgGreenDiff = Color.green(dstColor) - Color.green(srcColor); in calculateDiffs()
267 Color.green(mSrcBgColor) + (int) (mBgGreenDiff * mProgress), in setProgress()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalCallbacks.java45 public int setTermPropColor(int prop, int red, int green, int blue) { in setTermPropColor() argument
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DColorChecker.java116 double g = convert8BitToLuminanceComponent(Color.green(color)); in getLuminance()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp213 val->color.green, val->color.blue); in term_settermprop()
514 cell->bg.green = 255; in getCellLocked()
575 return (0xff << 24 | color.red << 16 | color.green << 8 | color.blue); in toArgb()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java961 int green = weightedAverage(Color.green(startingColor), in updateViewFaders() local
962 Color.green(endingColor), fadeProgress); in updateViewFaders()
965 viewFaderHolder.viewFader.setColor(alpha << 24 | red << 16 | green << 8 | blue); in updateViewFaders()
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java77 final int g = Color.green(value); in getTitleAt()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java53 int g = Color.green(pixels[index]); in doInBackground()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DSetupLayoutActivity.java62 mainColor = Color.argb(255, Color.red(mainColor), Color.green(mainColor), in maybeSetLogoAndMainColor()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DProgramInfo.java51 R.drawable.green,
/packages/apps/Launcher3/src/com/android/launcher3/
DDragView.java359 target.setScale(Color.red(color) / 255f, Color.green(color) / 255f, in setColorScale()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java1218 mAlphaMatrixValues[6] = Color.green(color) * alpha / 255; in alphaMatrix()
1234 mMultiplyBlendMatrixValues[6] = multiplyBlend(Color.green(color), alpha); in multiplyBlendMatrix()
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java525 float green = ((color >>> 8) & 0xFF) / 255f * alpha; in getColor() local
528 mTempColor[1] = green; in getColor()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
DGLES20Canvas.java523 float green = ((color >>> 8) & 0xFF) / 255f * alpha; in getColor() local
526 mTempColor[1] = green; in getColor()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java103 Color.green(from) / 255f, in intColorToFloatARGBArray()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java258 final int blendedGreen = (int) Math.floor(0.8 * Color.green(color)); in setStatusBarColor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java348 int g = Color.green(pixels[index]); in doInBackground()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java770 return Color.red(color) * 299 + Color.green(color) * 587 + Color.blue(color) * 114 in isBrightColor()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java245 final int secondaryColor = Color.argb(127, Color.red(seriesColor), Color.green(seriesColor), in updateBody()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java176 Color.red(color), Color.green(color), Color.blue(color)); in blendAlpha()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DSuggestionStripLayoutHelper.java328 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()

12