Searched refs:brightness (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | EmbossMaskFilterTest.java | 64 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); in testEmbossMaskFilter() 65 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter() 69 assertEquals(0, brightness(bitmap, top)); in testEmbossMaskFilter() 71 assertEquals(0, brightness(bitmap, bottom)); in testEmbossMaskFilter() 73 assertEquals(0, brightness(bitmap, left)); in testEmbossMaskFilter() 75 assertEquals(0, brightness(bitmap, right)); in testEmbossMaskFilter() 82 private long brightness(Bitmap b, Rect rect) { in brightness() method in EmbossMaskFilterTest
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | ColorUtils.java | 24 public static float brightness(int argb) { in brightness() method in ColorUtils
|
D | LightStatusBarTests.java | 180 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightStatusBarBitmap()
|