Home
last modified time | relevance | path

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

12

/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DNetworkStatsUtilsTest.kt49 val red = NetworkStats(TEST_START, 0) in testOrderInsensitiveEquals() constant
51 assertTrue(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
52 assertTrue(orderInsensitiveEquals(blue, red)) in testOrderInsensitiveEquals()
55 red.combineValues(testEntry[1]) in testOrderInsensitiveEquals()
57 assertFalse(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
58 assertFalse(orderInsensitiveEquals(blue, red)) in testOrderInsensitiveEquals()
61 red.combineValues(testEntry[0]) in testOrderInsensitiveEquals()
62 assertTrue(orderInsensitiveEquals(red, blue)) in testOrderInsensitiveEquals()
63 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/apps/Launcher3/src/com/android/launcher3/util/
DThemes.java153 target.setScale(Color.red(color) / 255f, Color.green(color) / 255f, in setColorScaleOnMatrix()
170 target.getArray()[4] = Color.red(dstColor) - Color.red(srcColor); in setColorChangeOnMatrix()
/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/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/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/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/glrenderer/
DGLES20Canvas.java524 float red = ((color >>> 16) & 0xFF) / 255f * alpha; in getColor() local
527 mTempColor[0] = red; in getColor()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DSwipePipToHomeAnimator.java153 float[] bgColor = new float[] {Color.red(color) / 255f, Color.green(color) / 255f, in SwipePipToHomeAnimator()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java187 Color.red(circleColor), in updateCircleColor()
/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/util/
DGalleryUtils.java102 Color.red(from) / 255f, in intColorToFloatARGBArray()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageCurves.java347 int r = Color.red(pixels[index]); in doInBackground()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java576 final NetworkStats red = new NetworkStats(TEST_START, -1); in testAddWhenEmpty() local
582 red.combineAllValues(blue); in testAddWhenEmpty()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageList.java298 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()
/packages/services/Telephony/src/com/android/phone/
DEmergencyDialer.java1242 float r = color.red() + sign * COLOR_DELTA; in getNextColor()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java390 SCRIM_ALPHA, Color.red(color), Color.green(color), Color.blue(color)); in KeyboardView()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java583 Color.red(mGridColor), Color.green(mGridColor), Color.blue(mGridColor))); in visualizeGrid()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
DDoxyfile.in1148 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1149 # purple, and 360 is red again.
2312 # by representing a node as a red box. Note that doxygen if the number of direct

12