Home
last modified time | relevance | path

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

123

/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/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/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/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()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelColor.java41 public PixelColor(int color) { in PixelColor()
61 private int getMinValue(short color) { in getMinValue()
68 private int getMaxValue(short color) { in getMaxValue()
/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
DPaintFlagsDrawFilterTest.java173 int color = bitmap.getPixel(i, j); in verifyContainsNonBW() local
189 int color = bitmap.getPixel(i, j); in verifyContainsOnlyBlackAndWhite() local
DShaderTest.java47 int[] color = new int[width * height]; in testAccessLocalMatrix() 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/src/android/media/cts/
DRemoteVirtualDisplayService.java103 private void render(int color) { in render()
160 public void doRendering(final int color) { in doRendering()
190 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/tests/tests/display/src/android/display/cts/
DVirtualDisplayTest.java230 final int color, final int windowType, final int windowFlags) { in assertDisplayCanShowPresentation()
296 int color, int windowType, int windowFlags) { in TestPresentation()
333 public boolean waitForColor(int color, long timeoutMillis) { in waitForColor()
364 int color = scanImage(image); in onImageAvailable() local
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceControlTest.java109 void fillWithColor(SurfaceControl sc, int color) { in fillWithColor()
117 private SurfaceControl buildDefaultSurface(SurfaceControl parent, int color) { in buildDefaultSurface()
DSplashscreenTests.java62 final int color = img.getPixel(x, y); in assertColors() local
/cts/tests/tests/opengl/src/android/opengl/cts/
DGL2JniLibOne.java26 public static native float[] draw(int category, int subcategory, float[] color); in draw()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DOrganizationInfoTest.java64 int color = mDevicePolicyManager.getOrganizationColor(null); in testSetOrGetOrganizationColorWithNullAdminFails() local
/cts/tests/tests/assist/src/android/assist/cts/
DScreenshotTest.java97 private void delayAndStartSession(int color) throws Exception { in delayAndStartSession()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewTest.java105 int color = waitForChange(window, center, Color.WHITE); in testFirstFrames() local
444 int color = dstBitmap.getPixel(0, 0); in verify() local
524 private static void clearColor(int color) { in clearColor()
542 private void waitForColor(Window window, Point point, int color) in waitForColor()
554 private int waitForChange(Window window, Point point, int color) in waitForChange()
/cts/tests/tests/text/src/android/text/style/cts/
DImageSpanTest.java56 int[] color = new int[width * height]; in testConstructor() local
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeSettings.java139 public Builder setBackgroundColor(@ColorInt int color) { in setBackgroundColor()
150 public Builder setNavigationBarColor(@ColorInt int color) { in setNavigationBarColor()

123