Home
last modified time | relevance | path

Searched refs:brightness (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DEmbossMaskFilterTest.java64 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/
DColorUtils.java24 public static float brightness(int argb) { in brightness() method in ColorUtils
DLightStatusBarTests.java180 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightStatusBarBitmap()