Home
last modified time | relevance | path

Searched refs:PixelChecker (Results 1 – 15 of 15) sorted by relevance

/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfacePackageFlickerTest.java30 import android.view.cts.surfacevalidator.PixelChecker;
62 private final PixelChecker mPixelChecker;
83 public SurfacePackageTestCase(PixelChecker pixelChecker, in SurfacePackageTestCase()
128 public PixelChecker getChecker() { in getChecker()
140 PixelChecker pixelChecker = new PixelChecker(Color.GREEN) { in testSurfacePackageNoFlicker()
DSurfaceControlTest.java56 import android.view.cts.surfacevalidator.ASurfaceControlTestActivity.PixelChecker;
275 private void verifyTest(SurfaceHolder.Callback callback, PixelChecker pixelChecker) { in verifyTest()
279 private void verifyTest(SurfaceHolder.Callback callback, PixelChecker pixelChecker, in verifyTest()
308 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_createFromWindow()
326 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_create()
345 new PixelChecker(Color.RED) { //10000 in testSurfaceControl_acquire()
364 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setBuffer()
387 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setBuffer_parentAndChild()
408 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setBuffer_childOnly()
431 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setVisibility_show()
[all …]
DASurfaceControlTest.java79 import android.view.cts.surfacevalidator.ASurfaceControlTestActivity.PixelChecker;
282 private void verifyTest(BasicSurfaceHolderCallback callback, PixelChecker pixelChecker) { in verifyTest()
330 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_createFromWindow()
348 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceControl_create()
374 new PixelChecker(Color.RED) { //10000 in testSurfaceControl_fromJava()
397 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_fromJava()
421 new PixelChecker(Color.RED) { //10000 in testSurfaceControl_acquire()
440 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setBuffer()
460 new PixelChecker(Color.YELLOW) { //10000 in testSurfaceTransaction_setNullBuffer()
483 new PixelChecker(Color.RED) { //10000 in testSurfaceTransaction_setBuffer_parentAndChild()
[all …]
DSurfaceViewSyncTest.java37 import android.view.cts.surfacevalidator.PixelChecker;
191 private final PixelChecker mBlackPixelChecker = new PixelChecker() {
283 new PixelChecker() { in testSmallRect()
301 new PixelChecker() { in testEmptySurfaceView()
315 new PixelChecker() { in testSurfaceViewSmallScale()
DAttachedSurfaceControlSyncTest.java35 import android.view.cts.surfacevalidator.PixelChecker;
237 new PixelChecker() { in testSync()
251 new PixelChecker() { in testSyncFromDrawCallback()
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DAnimationTestCase.java27 private final PixelChecker mPixelChecker;
35 PixelChecker pixelChecker) { in AnimationTestCase()
42 public PixelChecker getChecker() { in getChecker()
DSurfaceControlTestCase.java29 private final PixelChecker mPixelChecker;
36 public SurfaceControlTestCase(SurfaceHolder.Callback callback, PixelChecker pixelChecker, in SurfaceControlTestCase()
46 public PixelChecker getChecker() { in getChecker()
DASurfaceControlTestActivity.java121 PixelChecker pixelChecker, TestName name) { in verifyTest()
126 PixelChecker pixelChecker, TestName name, int numOfTransactionToListen) { in verifyTest()
166 public void verifyScreenshot(PixelChecker pixelChecker, TestName name) { in verifyScreenshot()
222 public static class RectChecker extends PixelChecker {
255 public abstract static class PixelChecker { class in ASurfaceControlTestActivity
259 public PixelChecker() { in PixelChecker() method in ASurfaceControlTestActivity.PixelChecker
263 public PixelChecker(int color) { in PixelChecker() method in ASurfaceControlTestActivity.PixelChecker
267 public PixelChecker(int color, boolean logWhenNoMatch) { in PixelChecker() method in ASurfaceControlTestActivity.PixelChecker
DPixelChecker.java25 public abstract class PixelChecker { class
32 public PixelChecker() { in PixelChecker() method in PixelChecker
36 public PixelChecker(@ColorInt int color) { in PixelChecker() method in PixelChecker
DISurfaceValidatorTestCase.java25 PixelChecker getChecker(); in getChecker()
DSurfacePixelValidator2.java54 private final PixelChecker mPixelChecker;
125 PixelChecker pixelChecker, int requiredNumFrames) { in SurfacePixelValidator2()
DMultiFramePixelChecker.java22 public abstract class MultiFramePixelChecker extends PixelChecker {
DRectChecker.java26 public class RectChecker extends PixelChecker {
/cts/tests/surfacecontrol/src/android/view/cts/util/
DSyncValidatorSCVHTestCase.java39 import android.view.cts.surfacevalidator.PixelChecker;
122 public PixelChecker getChecker() { in getChecker()
123 return new PixelChecker(Color.BLACK) { in getChecker()
/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java44 import android.view.cts.surfacevalidator.PixelChecker;
129 int matchingPixels = PixelChecker.getNumMatchingPixels(new PixelColor(Color.RED), in testCreateVirtualDisplayFromShell()