Searched refs:brightness (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | EmbossMaskFilterTest.java | 72 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); in testEmbossMaskFilter() 73 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter() 77 assertEquals(0, brightness(bitmap, top)); in testEmbossMaskFilter() 79 assertEquals(0, brightness(bitmap, bottom)); in testEmbossMaskFilter() 81 assertEquals(0, brightness(bitmap, left)); in testEmbossMaskFilter() 83 assertEquals(0, brightness(bitmap, right)); in testEmbossMaskFilter() 90 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 | LightBarTests.java | 256 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightBarBitmap()
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 127 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking() 129 assertTrue("failed " + secondEvent.brightness + " not greater than " + in testBrightnessSliderTracking() 130 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 474 private static void setScreenBrightness(int brightness) { in setScreenBrightness() argument 475 runShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 536 protected void setScreenBrightness(int brightness) throws Exception { in setScreenBrightness() argument 537 getDevice().executeShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|