Home
last modified time | relevance | path

Searched refs:PixelColor (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DASurfaceControlTest.java36 import android.view.cts.surfacevalidator.PixelColor;
358 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceControl_createFromWindow()
376 new PixelChecker(PixelColor.YELLOW) { //10000 in testSurfaceControl_create()
392 PixelColor.RED); in testSurfaceTransaction_setBuffer()
395 new PixelChecker(PixelColor.RED) { //10000 in testSurfaceTransaction_setBuffer()
413 DEFAULT_LAYOUT_HEIGHT, PixelColor.BLUE); in testSurfaceTransaction_setBuffer_parentAndChild()
415 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED); in testSurfaceTransaction_setBuffer_parentAndChild()
418 new PixelChecker(PixelColor.RED) { //10000 in testSurfaceTransaction_setBuffer_parentAndChild()
436 DEFAULT_LAYOUT_HEIGHT, PixelColor.RED); in testSurfaceTransaction_setBuffer_childOnly()
439 new PixelChecker(PixelColor.RED) { //10000 in testSurfaceTransaction_setBuffer_childOnly()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DSurfaceControlTest.java33 import android.view.cts.surfacevalidator.PixelColor;
143 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.RED)); in testShow()
162 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.WHITE)); in testHide()
181 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.WHITE)); in testReparentOff()
202 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.RED)); in testReparentOn()
226 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.GREEN)); in testSetLayer()
249 new RectChecker.Target(new Rect(0, 0, 50, 50), PixelColor.RED), in testSetGeometry_dstBoundsOffScreen()
250 new RectChecker.Target(new Rect(50, 50, 150, 150), PixelColor.WHITE))); in testSetGeometry_dstBoundsOffScreen()
273 new RectChecker.Target(new Rect(50, 50, 150, 150), PixelColor.RED))); in testSetGeometry_dstBoundsOnScreen()
297 new RectChecker.Target(new Rect(0, 0, 200, 200), PixelColor.RED))); in testSetGeometry_dstBoundsScaled()
DSurfaceViewSurfaceValidatorTest.java28 import android.view.cts.surfacevalidator.PixelColor;
105 PixelChecker pixelChecker = new PixelChecker(PixelColor.BLACK) { in testOnTopHasNoBackground()
143 PixelChecker pixelChecker = new PixelChecker(PixelColor.BLACK) { in testBackgroundIsBehindAllSurfaceView()
/cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelChecker.java26 private PixelColor mPixelColor;
31 mPixelColor = new PixelColor(); in PixelChecker()
35 mPixelColor = new PixelColor(color); in PixelChecker()
38 PixelColor getColor() { in getColor()
DPixelColor.java18 public class PixelColor { class
41 public PixelColor(int color) { in PixelColor() method in PixelColor
57 public PixelColor() { in PixelColor() method in PixelColor
DRectChecker.java32 PixelColor mPixelColor;
36 mPixelColor = new PixelColor(p); in Target()