Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/cts/
DEmbossMaskFilterTest.java73 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/hardware/res/raw/
Dsony_dualshock4_bluetooth_lighttests.json12 "ledsHidOutput": // RGB leds brightness
28 "ledsHidOutput": // RGB leds brightness
44 "ledsHidOutput": // RGB leds brightness
/cts/tests/tests/display/src/android/display/cts/
DBrightnessTest.java132 assertEquals(secondEvent.lastBrightness, firstEvent.brightness, 1.0f); in testBrightnessSliderTracking()
134 assertTrue("failed " + secondEvent.brightness + " not greater than " + in testBrightnessSliderTracking()
135 firstEvent.brightness, secondEvent.brightness > firstEvent.brightness); in testBrightnessSliderTracking()
456 int brightness = 25; in waitForFirstSliderEvent() local
458 setSystemSetting(Settings.System.SCREEN_BRIGHTNESS, brightness); in waitForFirstSliderEvent()
459 brightness = brightness == 25 ? 80 : 25; in waitForFirstSliderEvent()
/cts/tests/tests/systemui/src/android/systemui/cts/
DColorUtils.java24 public static float brightness(int argb) { in brightness() method in ColorUtils
DLightBarTests.java410 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateBarBitmap()
/cts/apps/CameraITS/utils/
Dits_session_utils.py1298 def _generate_test_image(self, brightness): argument
1309 test_image.fill(brightness)
1315 for brightness in self._BRIGHTNESS_CHECKS:
1317 brightness)
1318 test_image = self._generate_test_image(brightness)
1320 if brightness <= _VALIDATE_LIGHTING_THRESH:
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DUidAtomTests.java919 private void setScreenBrightness(int brightness) throws Exception { in setScreenBrightness() argument
920 getDevice().executeShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java1094 private static void setScreenBrightness(int brightness) { in setScreenBrightness() argument
1095 runShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()