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()
179 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.WHITE)); in testReparentOff()
207 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.RED)); in testReparentOn()
231 new RectChecker(new Rect(0, 0, 100, 100), PixelColor.GREEN)); in testSetLayer()
254 new RectChecker.Target(new Rect(0, 0, 50, 50), PixelColor.RED), in testSetGeometry_dstBoundsOffScreen()
255 new RectChecker.Target(new Rect(50, 50, 150, 150), PixelColor.WHITE))); in testSetGeometry_dstBoundsOffScreen()
278 new RectChecker.Target(new Rect(50, 50, 150, 150), PixelColor.RED))); in testSetGeometry_dstBoundsOnScreen()
302 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()