Home
last modified time | relevance | path

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

123

/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DNetworkStatsUtilsTest.kt54 val red = NetworkStats(TEST_START, 0) in testOrderInsensitiveEquals() constant
56 assertTrue(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
57 assertTrue(orderInsensitiveEquals(blue, red)) in testOrderInsensitiveEquals()
60 red.combineValues(testEntry[1]) in testOrderInsensitiveEquals()
62 assertFalse(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
63 assertFalse(orderInsensitiveEquals(blue, red)) in testOrderInsensitiveEquals()
66 red.combineValues(testEntry[0]) in testOrderInsensitiveEquals()
67 assertTrue(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
68 assertTrue(orderInsensitiveEquals(blue, red)) in testOrderInsensitiveEquals()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DCea708Data.java143 public final int red; field in Cea708Data.CaptionColor
147 public CaptionColor(int opacity, int red, int green, int blue) { in CaptionColor() argument
149 this.red = red; in CaptionColor()
156 OPACITY_MAP[opacity], COLOR_MAP[red], COLOR_MAP[green], COLOR_MAP[blue]); in getArgbValue()
DCea708Parser.java638 int red = (data[pos] & 0x30) >> 4; in parseC1() local
641 CaptionColor foregroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
644 red = (data[pos] & 0x30) >> 4; in parseC1()
647 CaptionColor backgroundColor = new CaptionColor(opacity, red, green, blue); in parseC1()
649 red = (data[pos] & 0x30) >> 4; in parseC1()
653 new CaptionColor(CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
694 int red = (data[pos] & 0x30) >> 4; in parseC1() local
697 CaptionColor fillColor = new CaptionColor(opacity, red, green, blue); in parseC1()
699 red = (data[pos + 1] & 0x30) >> 4; in parseC1()
703 new CaptionColor(CaptionColor.OPACITY_SOLID, red, green, blue); in parseC1()
/packages/modules/AdServices/adservices/tests/perf/
DAndroid.bp84 "&& src_protos=($(locations assets/topics_profile.textpb)) && red='\x1b[0;31m' " +
89 "echo \"$${red}Failed to parse profile $$file. See above for errors.$${no_color}\" " +
111 "&& src_protos=($(locations assets/concurrent-configs/*.textpb)) && red='\x1b[0;31m' " +
116 "echo \"$${red}Failed to parse profile $$file. See above for errors.$${no_color}\" " +
/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/Launcher3/src/com/android/launcher3/util/
DThemes.java148 target.setScale(Color.red(color) / 255f, Color.green(color) / 255f, in setColorScaleOnMatrix()
165 target.getArray()[4] = Color.red(dstColor) - Color.red(srcColor); in setColorChangeOnMatrix()
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dreport_definition.proto89 // a medium, red widget was used across the fleet yesterday.
116 // medium, red widget was used at least once in the seven-day period
123 // seven-day period ending yesterday were medium-red.
159 // red widget was used between 10 and 100 times in the seven-day period
166 // medium red widget over the seven-day period ending yesterday was between
204 // give the number of times that the hourly count of medium red widgets
211 // of times that the minimum temperature over an hour of all medium red
241 // type might give the number of times that a medium red widget's
267 // give the mean of all temperature measurements of medium-red widgets
295 // type might give the 95%-ile of the counts of medium-red widgets used by
[all …]
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DUtils.java113 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
161 int r = Color.red(color); in getAlphaInvariantColorMatrixForColor()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DFadeBackground.java60 Color.argb(0, Color.red(color), Color.green(color), Color.blue(color)); in createAnimator()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/util/
DLibUtils.java143 return Color.argb((int) (alpha), Color.red(inputColor), Color.green(inputColor), in applyAlpha()
191 int r = Color.red(color); in getAlphaInvariantColorMatrixForColor()
/packages/modules/Bluetooth/tools/rootcanal/lib/
Dlog.cc44 fmt::emphasis::bold | fmt::fg(fmt::color::red),
/packages/apps/Settings/src/com/android/settings/accessibility/
DColorPreference.java77 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/Settings/tests/robotests/src/com/android/settings/accessibility/
DColorPreferenceTest.java105 final int r = Color.red(value); in setTitles_noTitle_returnRGBText()
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/
DProgramInfo.java53 R.drawable.red,
/packages/modules/Connectivity/nearby/
DREADME.md33 that all classes defined in proto shows red in IDE and cannot be auto-completed.
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java1240 mAlphaMatrixValues[0] = Color.red(color) * alpha / 255; in alphaMatrix()
1256 mMultiplyBlendMatrixValues[0] = multiplyBlend(Color.red(color), alpha); in multiplyBlendMatrix()
/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/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java187 Color.red(circleColor), in updateCircleColor()
/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/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java347 int r = Color.red(pixels[index]); in doInBackground()
/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()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java584 final NetworkStats red = new NetworkStats(TEST_START, -1); in testAddWhenEmpty() local
590 red.combineAllValues(blue); in testAddWhenEmpty()

123