/packages/apps/Settings/src/com/android/settings/applications/ |
D | LinearColorPreference.java | 40 public void setRatios(float red, float yellow, float green) { in setRatios() argument 41 mRedRatio = red; in setRatios() 47 public void setColors(int red, int yellow, int green) { in setColors() argument 48 mRedColor = red; in setColors()
|
D | LinearColorBar.java | 88 public void setRatios(float red, float yellow, float green) { in setRatios() argument 89 mRedRatio = red; in setRatios() 95 public void setColors(int red, int yellow, int green) { in setColors() argument 96 mLeftColor = red; in setColors()
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/ |
D | Cea708Data.java | 150 public final int red; field in Cea708Data.CaptionColor 154 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument 156 this.red = red; 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 | 576 int red = (data[pos] & 0x30) >> 4; in parseC1() local 579 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() 582 red = (data[pos] & 0x30) >> 4; in parseC1() 585 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1() 587 red = (data[pos] & 0x30) >> 4; in parseC1() 591 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1() 621 int red = (data[pos] & 0x30) >> 4; in parseC1() local 624 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1() 626 red = (data[pos + 1] & 0x30) >> 4; in parseC1() 630 CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
|
/packages/apps/Gallery2/jni/filters/ |
D | vibrance.c | 41 float red = (r-MAX(g, b))/256.f; in JNIFUNCF() local 42 float sx = (float)(Vib/(1+exp(-red*3))); in JNIFUNCF()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
D | TransitionImageView.java | 199 mBgRedDiff = Color.red(dstColor) - Color.red(srcColor); in calculateDiffs() 266 Color.red(mSrcBgColor) + (int) (mBgRedDiff * mProgress), in setProgress()
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 212 return env->CallIntMethod(term->getCallbacks(), setTermPropIntMethod, prop, val->color.red, in term_settermprop() 494 cell->bg.red = 255; in getCellLocked() 524 cell->bg.red = 128; in getCellLocked() 575 return (0xff << 24 | color.red << 16 | color.green << 8 | color.blue); in toArgb()
|
/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 | 115 double r = convert8BitToLuminanceComponent(Color.red(color)); in getLuminance()
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | CarDrawerLayout.java | 959 int red = weightedAverage(Color.red(startingColor), in updateViewFaders() local 960 Color.red(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 | 76 final int r = Color.red(value); in getTitleAt()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | HistogramView.java | 52 int r = Color.red(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 | 52 R.drawable.red,
|
/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 | 1217 mAlphaMatrixValues[0] = Color.red(color) * alpha / 255; in alphaMatrix() 1233 mMultiplyBlendMatrixValues[0] = multiplyBlend(Color.red(color), alpha); in multiplyBlendMatrix()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 524 float red = ((color >>> 16) & 0xFF) / 255f * alpha; in getColor() local 527 mTempColor[0] = red; in getColor()
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
D | GLES20Canvas.java | 522 float red = ((color >>> 16) & 0xFF) / 255f * alpha; in getColor() local 525 mTempColor[0] = red; in getColor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | GalleryUtils.java | 102 Color.red(from) / 255f, in intColorToFloatARGBArray()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UiUtils.java | 257 final int blendedRed = (int) Math.floor(0.8 * Color.red(color)); in setStatusBarColor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCurves.java | 347 int r = Color.red(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()
|