Home
last modified time | relevance | path

Searched defs:color (Results 1 – 25 of 100) sorted by relevance

1234

/cts/tests/tests/uirendering27/src/android/uirendering/cts/bitmapverifiers/
DColorVerifier.java27 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()
DSamplePointVerifier.java74 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/
DColorVerifier.java27 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()
DColorCountVerifier.java26 public ColorCountVerifier(int color, int count, int threshold) { in ColorCountVerifier()
32 public ColorCountVerifier(int color, int count) { in ColorCountVerifier()
DSamplePointVerifier.java74 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/
DCompareUtils.java9 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/
DBitmapPixelChecker.java29 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
DPixelColor.java47 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/
DCompareUtils.java9 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/
Dsony_dualshock4_bluetooth_lighttests.json9 "color": 0xff446688, number
25 "color": 0x7f446688, number
41 "color": 0x00000000, number
Dsony_dualshock3_usb_lighttests.json8 "color": 0x00000000, number
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java55 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/
DTestUtils.java129 @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/
DColor_ColorLongTest.java260 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
DLinearGradientTest.java49 int[] color = { Color.BLUE, Color.GREEN, Color.RED }; in testLinearGradient() local
DSystemPaletteTest.java87 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()
DPaintFlagsDrawFilterTest.java173 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/
DComparisonTask.java73 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/
DRemoteVirtualDisplayService.java103 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/
DRsPackColorTo8888Test.java134 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/
DAppCloningDeviceTest.java131 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/
DVirtualDisplayTest.java347 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/
DCodecUtils.java222 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/
DTestThemeHelper.java136 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/
DGL2JniLibOne.java26 public static native float[] draw(int category, int subcategory, float[] color); in draw()

1234