/cts/apps/CameraITS/utils/ |
D | scene_change_utils.py | 22 _FRAME_SHIFT_SMALL = 5 # Num of frames to shift if scene or brightness change. 35 bright_change_flag: Boolean for if image brightness changes. 41 Truth table for 3A frame, Change flag, Bright flag, Last frame brightness 43 1, 1, 1, X --> PASS: 3A settled, scene and brightness change 44 1, 1, 0, X --> FAIL: 3A settled, scene change, but no brightness change 56 if bright_change_flag: # scene_change_flag & brightness change --> PASS 57 logging.debug('Scene & brightness change: PASS.') 59 else: # scene_change_flag & no brightness change --> FAIL 61 logging.error('Scene change, but no brightness change.') 65 logging.debug('No scene change flag, but brightness change.') [all …]
|
D | its_session_utils.py | 1298 def _generate_test_image(self, brightness): argument 1299 """Creates a Y plane array with pixel values of brightness. 1302 brightness: float between [0.0, 1.0] 1305 Y plane array with elements of value brightness 1309 test_image.fill(brightness) 1315 for brightness in self._BRIGHTNESS_CHECKS: 1316 logging.debug('Testing validate_lighting with brightness %.1f', 1317 brightness) 1318 test_image = self._generate_test_image(brightness) 1319 print(f'Testing brightness: {brightness}') [all …]
|
/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() 88 * Calculate the cumulative brightness of all pixels in the given rectangle. 91 private long brightness(Bitmap b, Rect rect) { in brightness() method in EmbossMaskFilterTest
|
/cts/tests/tests/hardware/res/raw/ |
D | sony_dualshock4_bluetooth_lighttests.json | 6 "capabilities": "RGB | BRIGHTNESS", 12 "ledsHidOutput": // RGB leds brightness 22 "capabilities": "RGB | BRIGHTNESS", 28 "ledsHidOutput": // RGB leds brightness 38 "capabilities": "RGB | BRIGHTNESS", 44 "ledsHidOutput": // RGB leds brightness
|
/cts/tests/tests/display/src/android/display/cts/ |
D | BrightnessTest.java | 115 // Update brightness in testBrightnessSliderTracking() 124 // Update brightness again in testBrightnessSliderTracking() 132 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() 164 // Then change the brightness in testNoTrackingForManualBrightness() 197 // Set brightness config to not sample color. in testNoColorSampleData() 360 // Update brightness while we have a custom curve. 371 // Update brightness again now with default curve. 454 // Keep changing brightness until we get an event to handle devices with sensors in waitForFirstSliderEvent() [all …]
|
D | DisplayTest.java | 951 // brightness. 1105 * Sets the brightness via the shell cmd. 1108 Process process = Runtime.getRuntime().exec("cmd display set-brightness " + value);
|
/cts/tests/tests/display/ |
D | AndroidManifest.xml | 24 <!-- For testing brightness slider tracking. --> 27 <!-- For testing pushing brightness curves. --> 29 <!-- For querying to see if packages exist with the brightness permissions. -->
|
/cts/apps/CameraITS/tests/ |
D | its_base_test.py | 100 self.tablet_screen_brightness = self.user_params['brightness'] 147 # Turn off the adaptive brightness on tablet. 151 # Set the screen brightness 155 logging.debug('Tablet brightness set to: %s',
|
/cts/apps/CameraITS/tests/scene_change/ |
D | test_scene_change.py | 71 and the second is for whether brightness in images changed. 175 Depending on scene brightness changes and scene change flag assertions during 202 logging.debug('Tablet brightness: %d', tablet_level) 215 # Find frame where 3A converges and final brightness.
|
/cts/apps/CameraITS/ |
D | config.yml | 28 brightness: 96
|
/cts/tests/tests/graphics/src/android/graphics/cts/utils/ |
D | Cam.java | 66 * Brightness in CAM16. 68 * <p>Prefer lightness, brightness is an absolute quantity. For example, a sheet of white paper 89 * <p>Colorfulness in proportion to brightness. Prefer chroma, saturation measures colorfulness 90 * relative to the color's own brightness, where chroma is colorfulness relative to white. 191 // CAM16 lightness and brightness in fromIntInFrame()
|
/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 | 410 if (ColorUtils.brightness(c) > ColorUtils.brightness(background)) { in evaluateBarBitmap()
|
/cts/tests/tests/media/ |
D | AndroidTest.xml | 26 <option name="screen-adaptive-brightness" value="off" />
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_locked_burst.py | 97 # Assert center patch brightness & similarity
|
D | test_auto_vs_manual.py | 64 however there can be variations in brightness/contrast due to different
|
D | test_ev_compensation_advanced.py | 49 # Use linear tonemap to avoid brightness being impacted by tone curves.
|
D | test_param_flash_mode.py | 126 logging.debug('Brightness means: %s', str(means))
|
D | test_exposure.py | 155 each other; result should be the same brightness, but over the sequence
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | PowerIncidentTest.java | 74 …assertTrue("Brightness limit max setting (" + settingMax + ") is less than min setting (" + settin… in verifyPowerManagerServiceDumpProto()
|
/cts/apps/CameraITS/tests/scene1_2/ |
D | test_yuv_jpeg_all.py | 14 """Verifies YUV & JPEG image captures have similar brightness."""
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/ |
D | UidAtomTests.java | 644 // Restore initial screen brightness in testScreenBrightness() 919 private void setScreenBrightness(int brightness) throws Exception { in setScreenBrightness() argument 920 getDevice().executeShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|
/cts/apps/CameraITS/tests/scene2_b/ |
D | test_auto_per_frame_control.py | 167 pylab.plot(range(len(lumas)), lumas, '-g.', label='Center patch brightness')
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 1094 private static void setScreenBrightness(int brightness) { in setScreenBrightness() argument 1095 runShellCommand("settings put system screen_brightness " + brightness); in setScreenBrightness()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | EmojiConstants.java | 772 0x1F505, // LOW BRIGHTNESS SYMBOL 773 0x1F506, // HIGH BRIGHTNESS SYMBOL
|