Searched refs:primaryColor (Results 1 – 2 of 2) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | TaskDescriptionTest.java | 122 int primaryColor, int backgroundColor, int statusBarColor, int navigationBarColor) { in assertTaskDescription() argument 144 if (primaryColor != NULL_COLOR) { in assertTaskDescription() 145 assertEquals(primaryColor, td.getPrimaryColor()); in assertTaskDescription()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | SplashscreenTests.java | 207 private void testSplashScreenColor(ComponentName name, int primaryColor, int secondaryColor) { in testSplashScreenColor() argument 244 assertColors(image, appBounds, primaryColor, 0.99f, secondaryColor, 0.02f, ignoreRect); in testSplashScreenColor() 259 private void assertColors(Bitmap img, Rect bounds, int primaryColor, float expectedPrimaryRatio, in assertColors() argument 277 if (isSimilarColor(primaryColor, color)) { in assertColors() 294 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() 303 generateFailureImage(img, bounds, primaryColor, secondaryColor, ignoreRect); in assertColors() 311 private void generateFailureImage(Bitmap img, Rect bounds, int primaryColor, in generateFailureImage() argument 331 if (isSimilarColor(primaryColor, pixel)) { in generateFailureImage()
|