Searched refs:matchingPixels (Results 1 – 2 of 2) sorted by relevance
105 int matchingPixels = pixelChecker.getNumMatchingPixels(bitmap, boundToCheck); in testSetDisablePreviewScreenshots() local106 matchesPixels = matchingPixels >= expectedMatching; in testSetDisablePreviewScreenshots()139 int matchingPixels = pixelChecker.getNumMatchingPixels(bitmap, boundToCheck); in testSetDisablePreviewScreenshots() local141 "Expected <=" + MATCHING_PIXEL_MISMATCH_ALLOWED + " matched " + matchingPixels, in testSetDisablePreviewScreenshots()142 matchingPixels <= MATCHING_PIXEL_MISMATCH_ALLOWED); in testSetDisablePreviewScreenshots()
129 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()