Searched refs:ignoreRect (Results 1 – 1 of 1) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | SplashscreenTests.java | 239 Rect ignoreRect = new Rect(0, 0, px, px); in testSplashScreenColor() local 240 ignoreRect.offsetTo(appBounds.centerX() - ignoreRect.width() / 2, in testSplashScreenColor() 241 appBounds.centerY() - ignoreRect.height() / 2); in testSplashScreenColor() 244 assertColors(image, appBounds, primaryColor, 0.99f, secondaryColor, 0.02f, ignoreRect); in testSplashScreenColor() 260 int secondaryColor, float acceptableWrongRatio, Rect ignoreRect) { in assertColors() argument 273 if (ignoreRect != null && ignoreRect.contains(x, y)) { in assertColors() 288 if (ignoreRect != null) { in assertColors() 289 totalPixels -= ignoreRect.width() * ignoreRect.height(); in assertColors() 294 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() 303 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() [all …]
|