/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 | 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()
|
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()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | Themes.java | 135 target.setScale(Color.red(color) / 255f, Color.green(color) / 255f, in setColorScaleOnMatrix() 152 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/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 353 final File red = new File(mDir, "red"); in testScan_Nomedia_Dir() local 355 red.mkdirs(); in testScan_Nomedia_Dir() 357 stage(R.raw.test_image, new File(red, "red.jpg")); in testScan_Nomedia_Dir() 366 final File redNomedia = new File(red, ".nomedia"); in testScan_Nomedia_Dir()
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 211 val->color.rgb.red, val->color.rgb.green, val->color.rgb.blue); in term_settermprop() 485 cell->bg.red = 255; in getCellLocked() 515 cell->bg.red = 128; in getCellLocked() 566 return (0xff << 24 | color.rgb.red << 16 | color.rgb.green << 8 | color.rgb.blue); in toArgb()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | ColorExtractionAlgorithm.java | 77 ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue), in extractInto() 93 ColorUtils.RGBToHSL(Color.red(colorValue), Color.green(colorValue), Color.blue(colorValue), in extractInto()
|
/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/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/ |
D | ColorMatcher.java | 25 int r = bucketize(Color.red(targetColor)); in findClosestColor()
|
D | SwiperThemeMatcher.java | 39 int r = Color.red(closestColor); in findTheme()
|
/packages/apps/ManagedProvisioning/tools/java/com/android/managedprovisioning/tools/anim/ |
D | SwiperThemeGenerator.java | 46 String colorHex = String.format("%02x%02x%02x", Color.red(candidate), in main()
|
/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/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | ColorChecker.java | 104 double r = convert8BitToLuminanceComponent(Color.red(color)); in getLuminance()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupLayoutActivity.java | 110 return Color.argb(255, Color.red(color), Color.green(color), Color.blue(color)); in toSolidColor()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ColorPreference.java | 77 final int r = Color.red(value); in getTitleAt()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonView.java | 187 Color.red(circleColor), in updateCircleColor()
|
/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()
|