/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/ |
D | NetworkStatsUtilsTest.kt | 49 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/ |
D | Cea708Data.java | 143 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()
|
D | Cea708Parser.java | 638 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/ |
D | Themes.java | 153 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/ |
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/TV/src/com/android/tv/dvr/ui/ |
D | FadeBackground.java | 60 Color.argb(0, Color.red(color), Color.green(color), Color.blue(color)); in createAnimator()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ColorPreference.java | 77 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/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | ColorPreferenceTest.java | 105 final int r = Color.red(value); in setTitles_noTitle_returnRGBText()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ProgramInfo.java | 53 R.drawable.red,
|
/packages/apps/Contacts/src/com/android/contacts/widget/ |
D | MultiShrinkScroller.java | 1240 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/ |
D | GLES20Canvas.java | 524 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/ |
D | SwipePipToHomeAnimator.java | 153 float[] bgColor = new float[] {Color.red(color) / 255f, Color.green(color) / 255f, in SwipePipToHomeAnimator()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonView.java | 187 Color.red(circleColor), in updateCircleColor()
|
/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/util/ |
D | GalleryUtils.java | 102 Color.red(from) / 255f, in intColorToFloatARGBArray()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageCurves.java | 347 int r = Color.red(pixels[index]); in doInBackground()
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 576 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/ |
D | DataUsageList.java | 298 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()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyDialer.java | 1242 float r = color.red() + sign * COLOR_DELTA; in getNextColor()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/ |
D | KeyboardView.java | 390 SCRIM_ALPHA, Color.red(color), Color.green(color), Color.blue(color)); in KeyboardView()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | CellLayout.java | 583 Color.red(mGridColor), Color.green(mGridColor), Color.blue(mGridColor))); in visualizeGrid()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | Doxyfile.in | 1148 # 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
|