Home
last modified time | relevance | path

Searched refs:matchingPixels (Results 1 – 2 of 2) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/window/
DSnapshotTaskTests.java105 int matchingPixels = pixelChecker.getNumMatchingPixels(bitmap, boundToCheck); in testSetDisablePreviewScreenshots() local
106 matchesPixels = matchingPixels >= expectedMatching; in testSetDisablePreviewScreenshots()
139 int matchingPixels = pixelChecker.getNumMatchingPixels(bitmap, boundToCheck); in testSetDisablePreviewScreenshots() local
141 "Expected <=" + MATCHING_PIXEL_MISMATCH_ALLOWED + " matched " + matchingPixels, in testSetDisablePreviewScreenshots()
142 matchingPixels <= MATCHING_PIXEL_MISMATCH_ALLOWED); in testSetDisablePreviewScreenshots()
/cts/tests/tests/display/src/android/display/cts/
DDisplayManagerTest.java129 int matchingPixels = PixelChecker.getNumMatchingPixels(new PixelColor(Color.RED), in testCreateVirtualDisplayFromShell()
131 boolean success = matchingPixels >= size - 100 && matchingPixels <= size + 100; in testCreateVirtualDisplayFromShell()
134 + " matchingPixels=" + matchingPixels); in testCreateVirtualDisplayFromShell()