/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/ |
D | ColorVerifier.java | 27 public ColorVerifier(@ColorInt int color) { in ColorVerifier() 31 public ColorVerifier(@ColorInt int color, int colorTolerance) { in ColorVerifier() 36 public ColorVerifier(@ColorInt int color, int colorThreshold, float spatialTolerance) { in ColorVerifier()
|
D | SamplePointVerifier.java | 74 protected boolean verifyPixel(int color, int expectedColor) { in verifyPixel() 79 boolean verifyPixel(int color); in verifyPixel()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | ColorVerifier.java | 27 public ColorVerifier(@ColorInt int color) { in ColorVerifier() 31 public ColorVerifier(@ColorInt int color, int colorTolerance) { in ColorVerifier() 36 public ColorVerifier(@ColorInt int color, int colorThreshold, float spatialTolerance) { in ColorVerifier()
|
D | ColorCountVerifier.java | 26 public ColorCountVerifier(int color, int count, int threshold) { in ColorCountVerifier() 32 public ColorCountVerifier(int color, int count) { in ColorCountVerifier()
|
D | SamplePointVerifier.java | 74 protected boolean verifyPixel(int color, int expectedColor) { in verifyPixel() 79 boolean verifyPixel(int color); in verifyPixel()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { in verifyPixelWithThreshold() 21 public static boolean verifyPixelGrayScale(int color, int threshold) { in verifyPixelGrayScale() 33 public static boolean verifyPixelBetweenColors(int color, int expectedOuterColor, in verifyPixelBetweenColors()
|
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 29 public BitmapPixelChecker(int color) { in BitmapPixelChecker() 33 public BitmapPixelChecker(int color, boolean logWhenNoMatch) { in BitmapPixelChecker() 43 int color = bitmap.getPixel(x, y); in getNumMatchingPixels() local
|
D | PixelColor.java | 47 public PixelColor(int color) { in PixelColor() 67 private int getMinValue(short color) { in getMinValue() 71 private int getMaxValue(short color) { in getMaxValue() 75 public boolean matchesColor(int color) { in matchesColor()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
D | CompareUtils.java | 9 public static boolean verifyPixelWithThreshold(int color, int expectedColor, int threshold) { in verifyPixelWithThreshold() 21 public static boolean verifyPixelGrayScale(int color, int threshold) { in verifyPixelGrayScale()
|
/cts/tests/tests/hardware/res/raw/ |
D | sony_dualshock4_bluetooth_lighttests.json | 9 "color": 0xff446688, number 25 "color": 0x7f446688, number 41 "color": 0x00000000, number
|
D | sony_dualshock3_usb_lighttests.json | 8 "color": 0x00000000, number
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | ScreenshotTest.java | 55 private void validateDeviceAndRunTestForColor(int color) throws Throwable { in validateDeviceAndRunTestForColor() 79 private void delayAndStartSession(int color) throws Exception { in delayAndStartSession()
|
/cts/tests/tests/widget/src/android/widget/cts/util/ |
D | TestUtils.java | 129 @ColorInt int color, int allowedComponentVariance, boolean throwExceptionIfFails) { in assertAllPixelsOfColor() 145 @NonNull Rect region, @ColorInt int color, int allowedComponentVariance, in assertRegionPixelsOfColor() 175 int drawableWidth, int drawableHeight, boolean callSetBounds, @ColorInt int color, in assertAllPixelsOfColor() 212 @NonNull Rect region, @ColorInt int color, int allowedComponentVariance, in assertAllPixelsOfColor() 255 @ColorInt int color, in assertCenterPixelOfColor() 279 public static String formatColorToHex(@ColorInt int color) { in formatColorToHex() 340 public static ColorStateList colorStateListOf(final @ColorInt int color) { in colorStateListOf()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Color_ColorLongTest.java | 260 long color = pack(0.8912f, 0.4962f, 0.1164f, 1.0f, ColorSpace.get(Named.ADOBE_RGB)); in testToArgb() local 301 long color = pack(0.5f, 0.0f, 1.0f, 0.25f, p3); in testPack() local 381 long color = convert(0xffff8000, ColorSpace.get(Named.ADOBE_RGB)); in testConvertColorInt() local 391 long color = convert(pack(1.0f, 0.5f, 0.0f, 1.0f, ColorSpace.get(Named.DISPLAY_P3)), in testConvertColorLong() local 403 long color = convert(pack(1.0f, 0.5f, 0.0f, 1.0f, p3), connector); in testConvertConnector() local 418 long color = convert(1.0f, 0.5f, 0.0f, 1.0f, in testConvert() local
|
D | LinearGradientTest.java | 49 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; in testLinearGradient() local
|
D | SystemPaletteTest.java | 87 forEachThemeDefinition((color, style, expectedPalette) -> { in testThemeStyles() argument 133 final String color = parser.getAttributeValue(null, "color"); in forEachThemeDefinition() local 328 void apply(String color, String style, int[] expectedPalette); in apply()
|
D | PaintFlagsDrawFilterTest.java | 173 int color = bitmap.getPixel(i, j); in verifyContainsNonBW() local 189 int color = bitmap.getPixel(i, j); in verifyContainsOnlyBlackAndWhite() local
|
/cts/hostsidetests/theme/src/android/theme/cts/ |
D | ComparisonTask.java | 73 private static int getAlphaScaledBlue(final int color) { in getAlphaScaledBlue() 77 private static int getAlphaScaledGreen(final int color) { in getAlphaScaledGreen() 81 private static int getAlphaScaledRed(final int color) { in getAlphaScaledRed() 85 private static int getAlpha(final int color) { in getAlpha()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | RemoteVirtualDisplayService.java | 103 private void render(int color) { in render() 160 public void doRendering(final int color) { in doRendering() 189 public void doRendering(int color) { in doRendering()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | RsPackColorTo8888Test.java | 134 private byte[] rs_PackColorTo8888(Float3 color) { in rs_PackColorTo8888() 147 private byte[] rs_PackColorTo8888(Float4 color) { in rs_PackColorTo8888()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/ |
D | AppCloningDeviceTest.java | 131 int color = 0x00000000; in testMediaStoreManager_writeImageToSharedStorage() local 153 public static Bitmap createImage(int width, int height, int color) { in createImage()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 347 final int color, final int windowFlags) { in assertDisplayCanShowPresentation() 412 int color, int windowFlags) { in TestPresentation() 447 public boolean waitForColor(int color, long timeoutMillis) { in waitForColor() 478 int color = scanImage(image); in onImageAvailable() local
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | CodecUtils.java | 222 private static boolean isRed(Color color) { in isRed() 226 private static boolean isGreen(Color color) { in isGreen() 230 private static boolean isBlue(Color color) { in isBlue() 234 private static boolean isWhite(Color color) { in isWhite()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | TestThemeHelper.java | 136 final int color = ta.getColor(0, 0); in getColor() local 143 final Drawable color = ta.getDrawable(0); in getDrawableColor() local 158 int color = 0; in assertDrawableColor() local
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | GL2JniLibOne.java | 26 public static native float[] draw(int category, int subcategory, float[] color); in draw()
|