/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
ImageGoodnessFilter.java | 83 .addInputPort("brightness", Signature.PORT_REQUIRED, floatT) 118 getConnectedInputPort("brightness").pullFrame().asFrameValue(); 119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); local 140 contrastRating, colorfulness, brightness); 224 float brightness) { 235 colorfulness, brightness, score); 239 colorfulness, brightness, score); 242 colorfulness, brightness, score); 249 float contrastRating, float colorfulness, float brightness, float score) { 257 score += brightnessScore(brightness); [all...] |
AvgBrightnessFilter.java | 54 float brightness; local 57 brightness = brightnessOperator(inputImage.getWidth(),inputImage.getHeight(), inputBuffer); 61 if (mLogVerbose) Log.v(TAG, "contrastRatio: " + brightness); 65 brightnessOutFrame.setValue(brightness);
|
/external/autotest/client/site_tests/power_BacklightControl/ |
power_BacklightControl.py | 22 # Minimum number of steps expected between min and max brightness levels. 58 # (zero) brightness levels. e.g. when changing from max to min, the 91 logging.error(('Failed to increase brightness to max, ' + \ 92 'brightness is %d.') % current_brightness) 97 # Set brightness to minimum without going to zero. 98 # Note that we don't know what the minimum brightness is, so just set 99 # min_threshold=0 to use the timeout to wait for the brightness to 108 logging.error('Brightness is not at minimum non-zero level: %d' % 114 # Turn off the screen by decreasing brightness one more time with 121 logging.error('Brightness is %d, expecting 0.' % current_brightness [all...] |
control | 15 - There are too many steps (> 16) between min and max brightness. 23 This test verifies that the backlight controller can adjust brightness up and
|
/external/autotest/client/cros/ |
power_utils.py | 157 set_level: Set backlight level to the given brightness. 158 set_percent: Set backlight level to the given brightness percent. 159 set_resume_level: Set backlight level on resume to the given brightness. 160 set_resume_percent: Set backlight level on resume to the given brightness 170 default_brightness_percent: float of default brightness 180 # Default brightness is based on expected average use case. 205 logging.info("Default backlight brightness percent = %f", 210 "brightness percent. Setting to %f", 237 """Set backlight level to the given brightness. 240 level: integer of brightness to se [all...] |
/external/autotest/client/site_tests/hardware_Backlight/ |
control | 9 If backlight_tool fails to adjust the backlight brightness this test will fail.
|
/external/autotest/client/site_tests/power_VideoDetector/ |
control | 9 Fail if the brightness changes between start and end.
|
/external/libweave/examples/daemon/light/ |
light.cc | 35 "brightness": { 40 "brightness": { 49 "brightness": { 181 CHECK(device->AddComponent(kComponent, {"onOff", "brightness", "colorXY"}, 190 device->AddCommandHandler(kComponent, "brightness.setConfig", 206 if (params.GetInteger("brightness", &brightness_value)) { 208 LOG(INFO) << cmd->GetName() << " brightness: " << brightness_value; 286 state.SetInteger("brightness.brightness", brightness_state_);
|
/frameworks/base/core/java/android/os/ |
PowerManagerInternal.java | 98 * Used by the window manager to override the screen brightness based on the 103 * @param brightness The overridden brightness, or -1 to disable the override. 105 public abstract void setScreenBrightnessOverrideFromWindowManager(int brightness); 108 * Used by the window manager to override the button brightness based on the 113 * @param brightness The overridden brightness, or -1 to disable the override. 115 public abstract void setButtonBrightnessOverrideFromWindowManager(int brightness); 146 * @param screenBrightness The overridden screen brightness, or
|
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayPowerState.java | 80 // animation is not playing. We don't know the screen's brightness though, 82 // Although we set the brightness to full on here, the display power controller 83 // will reset the brightness to a new level immediately before the changes 143 * Sets the display brightness. 145 * @param brightness The brightness, ranges from 0 (minimum / off) to 255 (brightest). 147 public void setScreenBrightness(int brightness) { 148 if (mScreenBrightness != brightness) { 150 Slog.d(TAG, "setScreenBrightness: brightness=" + brightness); [all...] |
DisplayBlanker.java | 23 void requestDisplayState(int state, int brightness);
|
/device/google/marlin/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 20 <!-- Set the automatic brightness mode on by default --> 23 <!-- Default screen brightness, from 0 to 255. 82 is 32%. -->
|
/device/huawei/angler/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 20 <!-- Set the automatic brightness mode on by default --> 23 <!-- Default screen brightness, from 0 to 255. 82 is 32%. -->
|
/device/lge/bullhead/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 20 <!-- Set the automatic brightness mode on by default --> 23 <!-- Default screen brightness, from 0 to 255. 78 is 30%. -->
|
/device/moto/shamu/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 20 <!-- Set the automatic brightness mode on by default --> 23 <!-- Default screen brightness, from 0 to 255. 82 is 32%. -->
|
/hardware/libhardware/include/hardware/ |
lights.h | 97 * Light brightness is managed by a user setting. 102 * Light brightness is managed by a light sensor. 111 * head mounted display (HMD). The actual display brightness in this mode is 123 * - Display brightness is set so that the display is still visible to the user 152 * - If you can only do a brightness ramp, then use this formula: 153 * unsigned char brightness = ((77*((color>>16)&0x00ff)) 170 * Policy used by the framework to manage the light's brightness.
|
/hardware/qcom/display/msm8084/liblight/ |
lights.c | 44 = "/sys/class/leds/red/brightness"; 47 = "/sys/class/leds/green/brightness"; 50 = "/sys/class/leds/blue/brightness"; 53 = "/sys/class/leds/lcd-backlight/brightness"; 56 = "/sys/class/leds/button-backlight/brightness"; 118 int brightness = rgb_to_brightness(state); local 123 err = write_int(LCD_FILE, brightness);
|
/hardware/qcom/display/msm8226/liblight/ |
lights.c | 44 = "/sys/class/leds/red/brightness"; 47 = "/sys/class/leds/green/brightness"; 50 = "/sys/class/leds/blue/brightness"; 53 = "/sys/class/leds/lcd-backlight/brightness"; 56 = "/sys/class/leds/button-backlight/brightness"; 118 int brightness = rgb_to_brightness(state); local 123 err = write_int(LCD_FILE, brightness);
|
/hardware/qcom/display/msm8994/liblight/ |
lights.c | 45 = "/sys/class/leds/red/brightness"; 48 = "/sys/class/leds/green/brightness"; 51 = "/sys/class/leds/blue/brightness"; 54 = "/sys/class/leds/lcd-backlight/brightness"; 57 = "/sys/class/leds/button-backlight/brightness"; 119 int brightness = rgb_to_brightness(state); local 124 err = write_int(LCD_FILE, brightness);
|
/hardware/qcom/display/msm8996/liblight/ |
lights.c | 45 = "/sys/class/leds/red/brightness"; 48 = "/sys/class/leds/green/brightness"; 51 = "/sys/class/leds/blue/brightness"; 54 = "/sys/class/leds/lcd-backlight/brightness"; 57 = "/sys/class/leds/button-backlight/brightness"; 119 int brightness = rgb_to_brightness(state); local 124 err = write_int(LCD_FILE, brightness);
|
/hardware/qcom/display/msmcobalt/liblight/ |
lights.c | 45 = "/sys/class/leds/red/brightness"; 48 = "/sys/class/leds/green/brightness"; 51 = "/sys/class/leds/blue/brightness"; 54 = "/sys/class/leds/lcd-backlight/brightness"; 57 = "/sys/class/leds/button-backlight/brightness"; 119 int brightness = rgb_to_brightness(state); local 124 err = write_int(LCD_FILE, brightness);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
SettingsAppWidgetProvider.java | 99 /** Minimum brightness at which the indicator is shown at half-full and ON */ 101 /** Minimum brightness at which the indicator is shown at full */ 745 final int brightness = getBrightness(context); local 752 if (brightness > full) { 758 } else if (brightness > half) { 772 if (brightness > half) { 850 int brightness = Settings.System.getInt(context.getContentResolver(), local 888 int brightness = Settings.System.getInt(cr, local [all...] |
/hardware/qcom/display/msm8960/liblight/ |
lights.c | 46 = "/sys/class/leds/red/brightness"; 49 = "/sys/class/leds/green/brightness"; 52 = "/sys/class/leds/blue/brightness"; 55 = "/sys/class/leds/white/brightness"; 58 = "/sys/class/leds/lcd-backlight/brightness"; 135 int brightness = rgb_to_brightness(state); local 137 err = write_int(LCD_FILE, brightness); 212 int brightness = ((77 * ((colorRGB >> 16) & 0xFF)) + local 215 write_int(WHITE_LED_FILE, (int) brightness);
|
/device/google/dragon/overlay/frameworks/base/packages/SettingsProvider/res/values/ |
defaults.xml | 20 <!-- Default screen brightness, translate to 85 in kernel -->
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
brightness.h | 16 // Native function to extract brightness from image (handed down as ByteBuffer).
|