Home
last modified time | relevance | path

Searched refs:currentColor (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DRadialGradientTest.java105 Color currentColor = null; in testColorLong() local
115 if (currentColor == null) { in testColorLong()
116 currentColor = c; in testColorLong()
118 assertTrue("Outer " + currentPoint + " (" + currentColor in testColorLong()
120 + " (" + lastColor + ")", currentColor.red() < lastColor.red()); in testColorLong()
121 assertTrue("Outer " + currentPoint + " (" + currentColor in testColorLong()
124 currentColor.blue() > lastColor.blue()); in testColorLong()
127 + currentPoint, currentColor, c, .08f); in testColorLong()
133 lastColor = currentColor; in testColorLong()
DSweepGradientTest.java279 Color currentColor = null; in testColorLong() local
287 if (currentColor == null) { in testColorLong()
289 currentColor = c; in testColorLong()
295 lastColor = currentColor; in testColorLong()
308 + " should match same angle with radius " + lastRadius, currentColor, in testColorLong()
314 lastColor = currentColor; in testColorLong()
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/
DBlurTests.java693 Color currentColor = screenshot.getColor(x, y); in assertBlur() local
695 if (previousColor.blue() <= currentColor.blue()) { in assertBlur()
699 + ", currentColor blue: " + currentColor.blue()); in assertBlur()
701 if (previousColor.red() >= currentColor.red()) { in assertBlur()
705 + ", currentColor red: " + currentColor.red()); in assertBlur()
707 previousColor = currentColor; in assertBlur()
/cts/tests/tests/widget/src/android/widget/cts/
DMagnifierTest.java1013 final int currentColor = bitmap.getPixel(x, y); in assertFourQuadrants() local
1014 colorCount.put(currentColor, colorCount.getOrDefault(currentColor, 0) + 1); in assertFourQuadrants()