/packages/apps/DevCamera/src/com/android/devcamera/ |
D | BitmapUtility.java | 49 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/ |
D | LinearColorPreference.java | 40 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()
|
D | LinearColorBar.java | 88 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/ |
D | Cea708Data.java | 151 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/ |
D | Cea708Parser.java | 577 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/ |
D | TransitionImageView.java | 200 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/ |
D | TerminalCallbacks.java | 45 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/ |
D | ColorChecker.java | 116 double g = convert8BitToLuminanceComponent(Color.green(color)); in getLuminance()
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 213 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/ |
D | CarDrawerLayout.java | 961 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/ |
D | ColorPreference.java | 77 final int g = Color.green(value); in getTitleAt()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 53 int g = Color.green(pixels[index]); in doInBackground()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
D | SetupLayoutActivity.java | 62 mainColor = Color.argb(255, Color.red(mainColor), Color.green(mainColor), in maybeSetLogoAndMainColor()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ProgramInfo.java | 51 R.drawable.green,
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | DragView.java | 359 target.setScale(Color.red(color) / 255f, Color.green(color) / 255f, in setColorScale()
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 1218 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/ |
D | GLES20Canvas.java | 525 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/ |
D | GLES20Canvas.java | 523 float green = ((color >>> 8) & 0xFF) / 255f * alpha; in getColor() local 526 mTempColor[1] = green; in getColor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 103 Color.green(from) / 255f, in intColorToFloatARGBArray()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 258 final int blendedGreen = (int) Math.floor(0.8 * Color.green(color)); in setStatusBarColor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCurves.java | 348 int g = Color.green(pixels[index]); in doInBackground()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | Utils.java | 770 return Color.red(color) * 299 + Color.green(color) * 587 + Color.blue(color) * 114 in isBrightColor()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.java | 245 final int secondaryColor = Color.argb(127, Color.red(seriesColor), Color.green(seriesColor), in updateBody()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 176 Color.red(color), Color.green(color), Color.blue(color)); in blendAlpha()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | SuggestionStripLayoutHelper.java | 328 return Color.argb(newAlpha, Color.red(color), Color.green(color), Color.blue(color)); in applyAlpha()
|