Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/applications/
DLinearColorPreference.java40 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()
DLinearColorBar.java88 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/
DCea708Data.java150 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/
DCea708Parser.java576 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/
Dvibrance.c41 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/
DTransitionImageView.java199 mBgRedDiff = Color.red(dstColor) - Color.red(srcColor); in calculateDiffs()
266 Color.red(mSrcBgColor) + (int) (mBgRedDiff * mProgress), in setProgress()
/packages/apps/Terminal/jni/
Dcom_android_terminal_Terminal.cpp212 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/
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.java115 double r = convert8BitToLuminanceComponent(Color.red(color)); in getLuminance()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java959 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/
DColorPreference.java76 final int r = Color.red(value); in getTitleAt()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/
DHistogramView.java52 int r = Color.red(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.java52 R.drawable.red,
/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.java1217 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/
DGLES20Canvas.java524 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/
DGLES20Canvas.java522 float red = ((color >>> 16) & 0xFF) / 255f * alpha; in getColor() local
525 mTempColor[0] = red; in getColor()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java102 Color.red(from) / 255f, in intColorToFloatARGBArray()
/packages/apps/Messaging/src/com/android/messaging/util/
DUiUtils.java257 final int blendedRed = (int) Math.floor(0.8 * Color.red(color)); in setStatusBarColor()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java347 int r = Color.red(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