Searched refs:brightness (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | EmbossMaskFilterTest.java | 73 assertTrue(brightness(bitmap, top) > brightness(bitmap, bottom)); in testEmbossMaskFilter() 74 assertTrue(brightness(bitmap, left) > brightness(bitmap, right)); in testEmbossMaskFilter() 78 assertEquals(0, brightness(bitmap, top)); in testEmbossMaskFilter() 80 assertEquals(0, brightness(bitmap, bottom)); in testEmbossMaskFilter() 82 assertEquals(0, brightness(bitmap, left)); in testEmbossMaskFilter() 84 assertEquals(0, brightness(bitmap, right)); in testEmbossMaskFilter() 91 private long brightness(Bitmap b, Rect rect) { in brightness() method in EmbossMaskFilterTest
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 130 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking() 132 assertTrue("failed " + secondEvent.brightness + " not greater than " + in testBrightnessSliderTracking() 133 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking() 392 int brightness = 25; in waitForFirstSliderEvent() local 394 setSystemSetting(Settings.System.SCREEN_BRIGHTNESS, brightness); in waitForFirstSliderEvent() 395 brightness = brightness == 25 ? 80 : 25; in waitForFirstSliderEvent()
|
/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 | 266 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateLightBarBitmap()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 532 private static void setScreenBrightness(int brightness) { in setScreenBrightness() argument 533 runShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | AtomTestCase.java | 839 protected void setScreenBrightness(int brightness) throws Exception { in setScreenBrightness() argument 840 getDevice().executeShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|