Searched refs:secondaryColor (Results 1 – 1 of 1) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SplashscreenTests.java | 152 private void testSplashScreenColor(ComponentName name, int primaryColor, int secondaryColor) { in testSplashScreenColor() argument 193 assertColors(image, appBounds, primaryColor, 0.99f, secondaryColor, 0.02f, ignoreRect); in testSplashScreenColor() 194 assertColors(image, topInsetsBounds, primaryColor, 0.80f, secondaryColor, 0.10f, null); in testSplashScreenColor() 195 assertColors(image, bottomInsetsBounds, primaryColor, 0.80f, secondaryColor, 0.10f, null); in testSplashScreenColor() 211 int secondaryColor, float acceptableWrongRatio, Rect ignoreRect) { in assertColors() argument 230 } else if (isSimilarColor(secondaryColor, color)) { in assertColors() 245 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() 254 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() 263 int secondaryColor, Rect ignoreRect) { in generateFailureImage() argument 284 } else if (isSimilarColor(secondaryColor, pixel)) { in generateFailureImage()
|