Searched refs:numMatchingPixels (Results 1 – 5 of 5) sorted by relevance
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/ |
D | BitmapPixelChecker.java | 66 int numMatchingPixels = 0; in getNumMatchingPixels() local 72 numMatchingPixels++; in getNumMatchingPixels() 85 return numMatchingPixels; in getNumMatchingPixels() 105 int numMatchingPixels = pixelChecker.getNumMatchingPixels(swBitmap, bounds); in validateScreenshot() local 106 float matchedRatio = ((float) numMatchingPixels) / (bounds.width() * bounds.height()); in validateScreenshot() 127 int numMatchingPixels = pixelChecker.getNumMatchingPixels(swBitmap, bounds); in validateScreenshot() local 132 boolean numMatches = expectedMatchingPixels == numMatchingPixels; in validateScreenshot() 136 assertTrue("Expected " + expectedMatchingPixels + " received " + numMatchingPixels in validateScreenshot()
|
D | PixelChecker.java | 42 int numMatchingPixels = 0; in getNumMatchingPixels() local 53 numMatchingPixels++; in getNumMatchingPixels() 57 return numMatchingPixels; in getNumMatchingPixels()
|
D | MultiFramePixelChecker.java | 45 int numMatchingPixels = getNumMatchingPixels(mPixelColors[mStartingColorIndex], plane, in findStartingColor() local 47 if (checkPixels(numMatchingPixels, 0 , 0)) { in findStartingColor()
|
D | ASurfaceControlTestActivity.java | 192 int numMatchingPixels = pixelChecker.getNumMatchingPixels(swBitmap); in verifyScreenshot() local 199 boolean success = pixelChecker.checkPixels(numMatchingPixels, swBitmap.getWidth(), in verifyScreenshot() 206 assertTrue("Actual matched pixels:" + numMatchingPixels in verifyScreenshot() 273 int numMatchingPixels = 0; in getNumMatchingPixels() local 280 numMatchingPixels++; in getNumMatchingPixels() 295 return numMatchingPixels; in getNumMatchingPixels()
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | SurfaceSyncGroupTests.java | 205 int numMatchingPixels = pixelChecker.getNumMatchingPixels(swBitmap, bounds); in validateScreenshot() local 206 assertEquals("Expected 100 received " + numMatchingPixels + " matching pixels", 100, in validateScreenshot() 207 numMatchingPixels); in validateScreenshot()
|