/test/vts/hals/light/bullhead/ |
lights.c | 40 char const *const LCD_FILE = "/sys/class/leds/lcd-backlight/brightness"; 41 char const *const RED_LED_FILE = "/sys/class/leds/red/brightness"; 42 char const *const GREEN_LED_FILE = "/sys/class/leds/green/brightness"; 43 char const *const BLUE_LED_FILE = "/sys/class/leds/blue/brightness"; 121 int brightness = rgb_to_brightness(state); local 124 err = write_int(LCD_FILE, brightness);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
SettingsFacade.java | 171 @Rpc(description = "Returns the screen backlight brightness.", 172 returns = "the current screen brightness between 0 and 255") 187 @Rpc(description = "Sets the the screen backlight brightness.", 188 returns = "the original screen brightness.") 190 @RpcParameter(name = "value", description = "brightness value between 0 and 255") Integer value) { 196 final int brightness = value; local 199 android.provider.Settings.System.SCREEN_BRIGHTNESS, brightness); local 206 lp.screenBrightness = brightness * 1.0f / 255;
|
/hardware/intel/img/psb_video/src/ |
psb_texture.h | 98 sgx_psb_fixed32 brightness; member in struct:psb_texture_s
|
/hardware/qcom/display/msm8996/sdm/libs/core/fb/ |
hw_primary.cpp | 516 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level); 526 DLOGV_IF(kTagDriverConfig, "Failed to copy new brightness level = %d", level); 544 char brightness[kMaxStringLength] = {0}; local 553 DLOGV_IF(kTagDriverConfig, "Failed to open brightness node = %s, error = %s", kBrightnessNode, 558 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { 559 *level = atoi(brightness); 560 DLOGV_IF(kTagDriverConfig, "Brightness level = %d", *level);
|
hw_device.cpp | 876 char brightness[kMaxStringLength] = { 0 }; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_primary.cpp | 522 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level); 532 DLOGV_IF(kTagDriverConfig, "Failed to copy new brightness level = %d", level); 550 char brightness[kMaxStringLength] = {0}; local 559 DLOGV_IF(kTagDriverConfig, "Failed to open brightness node = %s, error = %s", kBrightnessNode, 564 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { 565 *level = atoi(brightness); 566 DLOGV_IF(kTagDriverConfig, "Brightness level = %d", *level);
|
hw_device.cpp | 977 char brightness[kMaxStringLength] = { 0 }; local [all...] |
/hardware/qcom/display/sdm845/sdm/libs/core/fb/ |
hw_primary.cpp | 522 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level); 532 DLOGV_IF(kTagDriverConfig, "Failed to copy new brightness level = %d", level); 550 char brightness[kMaxStringLength] = {0}; local 559 DLOGV_IF(kTagDriverConfig, "Failed to open brightness node = %s, error = %s", kBrightnessNode, 564 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { 565 *level = atoi(brightness); 566 DLOGV_IF(kTagDriverConfig, "Brightness level = %d", *level);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
QSAnimator.java | 228 // Make brightness appear static position and alpha in through second half. 229 View brightness = mQsPanel.getBrightnessView(); local 230 if (brightness != null) { 231 firstPageBuilder.addFloat(brightness, "translationY", heightDiff, 0); 233 .addFloat(brightness, "alpha", 0, 1) 236 mAllViews.add(brightness);
|
/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...] |
/hardware/qcom/display/msm8998/sdm/libs/core/drm/ |
hw_device_drm.cpp | 286 char brightness[kMaxStringLength] = {0}; local 292 DLOGW("Failed to open max brightness node = %s, error = %s", kMaxBrightnessNode.c_str(), 297 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { 298 hw_panel_info_.panel_max_brightness = atoi(brightness); 299 DLOGI("Max brightness level = %d", hw_panel_info_.panel_max_brightness); 301 DLOGW("Failed to read max brightness level. error = %s", strerror(errno)); 649 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level); 672 char brightness[kMaxStringLength] = {0}; local 681 DLOGV_IF(kTagDriverConfig, "Failed to open brightness node = %s, error = %s", kBrightnessNode [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
FilterGradRepresentation.java | 71 private int brightness = -40; field in class:FilterGradRepresentation.Band 92 brightness = copy.brightness; 117 p.brightness = -50; 163 || b1.brightness != b2.brightness 325 ret[i++] = point.brightness; 351 return mCurrentBand.brightness; 388 mCurrentBand.brightness = value; 450 writer.value(point.brightness); [all...] |
/device/google/marlin/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 1985 int brightness = *(( int * )in_data); local [all...] |
mm_qcamera_main_menu.c | 69 //TODO: find correct values of Brightness defines. 96 {BRIGHTNESS_GOTO_SUBMENU, "Brightness changes."}, 123 {INC_BRIGHTNESS, "Increase Brightness by one step."}, 124 {DEC_BRIGHTNESS, "Decrease Brightness by one step."}, 161 { BRIGHTNESS_CTRL, "Get brightness value"}, 243 int brightness = CAMERA_DEF_BRIGHTNESS; variable 248 int brightness = 0; variable 789 printf(" Camera is in change brightness mode \n"); 800 printf("\nPlease enter your choice for Brightness Change: "); [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 2054 int brightness = *(( int * )in_data); local [all...] |
mm_qcamera_main_menu.c | 71 //TODO: find correct values of Brightness defines. 98 {BRIGHTNESS_GOTO_SUBMENU, "Brightness changes."}, 125 {INC_BRIGHTNESS, "Increase Brightness by one step."}, 126 {DEC_BRIGHTNESS, "Decrease Brightness by one step."}, 163 { BRIGHTNESS_CTRL, "Get brightness value"}, 245 int brightness = CAMERA_DEF_BRIGHTNESS; variable 250 int brightness = 0; variable 791 printf(" Camera is in change brightness mode \n"); 802 printf("\nPlease enter your choice for Brightness Change: "); [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 2054 int brightness = *(( int * )in_data); local [all...] |
mm_qcamera_main_menu.c | 71 //TODO: find correct values of Brightness defines. 98 {BRIGHTNESS_GOTO_SUBMENU, "Brightness changes."}, 125 {INC_BRIGHTNESS, "Increase Brightness by one step."}, 126 {DEC_BRIGHTNESS, "Decrease Brightness by one step."}, 163 { BRIGHTNESS_CTRL, "Get brightness value"}, 245 int brightness = CAMERA_DEF_BRIGHTNESS; variable 250 int brightness = 0; variable 791 printf(" Camera is in change brightness mode \n"); 802 printf("\nPlease enter your choice for Brightness Change: "); [all...] |
/external/ImageMagick/MagickCore/ |
enhance.c | 205 % BrightnessContrastImage() changes the brightness and/or contrast of an 206 % image. It converts the brightness and contrast parameters into slope and 212 % const double brightness,const double contrast,ExceptionInfo *exception) 218 % o brightness: the brightness percent (-100 .. 100). 226 const double brightness,const double contrast,ExceptionInfo *exception) 250 intercept=brightness/100.0+((100-brightness)/200.0)*(1.0-slope); 848 brightness, 860 brightness=0.0 841 brightness, local 2988 brightness, local [all...] |
/external/ImageMagick/MagickWand/ |
operation.c | 1862 brightness, local [all...] |
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/ |
ScreenResponseFragment.java | 267 builder.setMessage("Detected extra blinks, please set your brightness to max") 287 logger.log("Looks like PWM is used for this screen, turn auto brightness off and set it to max brightness"); 408 logger.log("Starting screen brightness curve measurement"); 441 logger.log("ERROR: Brightness curve trigger got a trigger message, " + 491 logger.log("=== Screen brightness curve: ===\nt_start: " + tStart); 516 logger.log("=== End of screen brightness data ==="); 533 // "u" marks the start of the brightness curve data 543 final float brightness = Integer.parseInt(arr[1]); local 544 entries.add(new Entry(timestampMs, brightness)); [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
DisplayPowerController.java | 69 * For debugging, you can make the color fade and brightness animations run 86 // The minimum reduction in brightness when dimmed. 108 // State machine constants for tracking initial brightness ramp skipping when enabled. 144 // The doze screen brightness. 147 // The dim screen brightness. 150 // The minimum screen brightness to use in a very dark room. 153 // The minimum allowed brightness. 156 // The maximum allowed brightness. 159 // True if auto-brightness should be used. 162 // True if should use light sensor to automatically determine doze screen brightness 613 int brightness = PowerManager.BRIGHTNESS_DEFAULT; local [all...] |
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_app.c | 2300 int brightness = *(( int * )in_data); local [all...] |
mm_qcamera_main_menu.c | 67 //TODO: find correct values of Brightness defines. 94 {BRIGHTNESS_GOTO_SUBMENU, "Brightness changes."}, 127 {INC_BRIGHTNESS, "Increase Brightness by one step."}, 128 {DEC_BRIGHTNESS, "Decrease Brightness by one step."}, 172 { BRIGHTNESS_CTRL, "Get brightness value"}, 284 int brightness = CAMERA_DEF_BRIGHTNESS; variable 291 int brightness = 0; variable 904 printf(" Camera is in change brightness mode \n"); 915 printf("\nPlease enter your choice for Brightness Change: "); [all...] |
/hardware/qcom/display/sdm845/sdm/libs/core/drm/ |
hw_device_drm.cpp | 521 char brightness[kMaxStringLength] = {0}; local 527 DLOGW("Failed to open max brightness node = %s, error = %s", kMaxBrightnessNode.c_str(), 532 if (Sys::pread_(fd, brightness, sizeof(brightness), 0) > 0) { 533 hw_panel_info_.panel_max_brightness = atoi(brightness); 534 DLOGI("Max brightness level = %d", hw_panel_info_.panel_max_brightness); 536 DLOGW("Failed to read max brightness level. error = %s", strerror(errno)); 949 DLOGV_IF(kTagDriverConfig, "Set brightness level to %d", level); 972 char brightness[kMaxStringLength] = {0}; local [all...] |