/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()
|
/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/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/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/view/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | PixelColor.java | 46 public PixelColor(int color) { in PixelColor() 66 private int getMinValue(short color) { in getMinValue() 70 private int getMaxValue(short color) { in getMaxValue()
|
D | ASurfaceControlTestActivity.java | 206 public PixelChecker(int color) { in PixelChecker() 210 public PixelChecker(int color, boolean logWhenNoMatch) { in PixelChecker() 221 int color = bitmap.getPixel(x + OFFSET_X, y + OFFSET_Y); in getNumMatchingPixels() local 240 boolean matchesColor(PixelColor expectedColor, int color) { in matchesColor()
|
/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 | 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/src/android/media/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()
|
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/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/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/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()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | OrganizationInfoTest.java | 64 int color = mDevicePolicyManager.getOrganizationColor(null); in testSetOrGetOrganizationColorWithNullAdminFails() local
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 56 int[] color = new int[width * height]; in testConstructor() local
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TextureViewTest.java | 109 int color = waitForChange(window, center, Color.WHITE); in testFirstFrames() local 469 int color = dstBitmap.getPixel(0, 0); in verify() local 549 private static void clearColor(int color) { in clearColor() 567 private void waitForColor(Window window, Point point, int color) in waitForColor() 579 private int waitForChange(Window window, Point point, int color) in waitForChange()
|