/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayBlanker.java | 23 void requestDisplayState(int state, int brightness); argument
|
H A D | DisplayPowerController.java | 68 * For debugging, you can make the color fade and brightness animations run 84 // The minimum reduction in brightness when dimmed. 135 // The doze screen brightness. 138 // The dim screen brightness. 141 // The minimum screen brightness to use in a very dark room. 144 // The minimum allowed brightness. 147 // The maximum allowed brightness. 150 // True if auto-brightness should be used. 153 // True if should use light sensor to automatically determine doze screen brightness. 240 // Remembers whether certain kinds of brightness adjustment 1244 createAutoBrightnessSpline(int[] lux, int[] brightness) argument [all...] |
H A D | 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) { argument 148 if (mScreenBrightness != brightness) { 150 Slog.d(TAG, "setScreenBrightness: brightness=" + brightness); [all...] |
H A D | LocalDisplayAdapter.java | 432 public Runnable requestDisplayStateLocked(final int state, final int brightness) { argument 433 // Assume that the brightness is off if the display is being turned off. 434 assert state != Display.STATE_OFF || brightness == PowerManager.BRIGHTNESS_OFF; 437 final boolean brightnessChanged = (mBrightness != brightness) && mBacklight != null; 449 mBrightness = brightness; 475 // so that it can apply appropriate VR brightness settings. This should 476 // happen prior to changing the brightness but also if there is no 477 // brightness change at all. 484 // Apply brightness changes given that we are in a non-suspended state. 486 setDisplayBrightness(brightness); [all...] |
H A D | DisplayManagerService.java | 186 // The overall display brightness. 347 private void requestGlobalDisplayStateInternal(int state, int brightness) { argument 352 brightness = PowerManager.BRIGHTNESS_OFF; 353 } else if (brightness < 0) { 354 brightness = PowerManager.BRIGHTNESS_DEFAULT; 355 } else if (brightness > PowerManager.BRIGHTNESS_ON) { 356 brightness = PowerManager.BRIGHTNESS_ON; 366 && mGlobalDisplayBrightness == brightness) { 372 + ", brightness=" + brightness [all...] |
H A D | DisplayDevice.java | 132 * @param brightness The new display brightness. 136 public Runnable requestDisplayStateLocked(int state, int brightness) { argument
|
H A D | VirtualDisplayAdapter.java | 233 public Runnable requestDisplayStateLocked(int state, int brightness) { argument
|
/frameworks/base/services/core/java/com/android/server/lights/ |
H A D | Light.java | 25 * Light brightness is managed by a user setting. 30 * Light brightness is managed by a light sensor. 39 public abstract void setBrightness(int brightness); argument 40 public abstract void setBrightness(int brightness, int brightnessMode); argument
|
H A D | LightsService.java | 41 public void setBrightness(int brightness) { argument 42 setBrightness(brightness, BRIGHTNESS_MODE_USER); 46 public void setBrightness(int brightness, int brightnessMode) { argument 51 ": brightness=0x" + Integer.toHexString(brightness)); 55 int color = brightness & 0x000000ff; 112 // current brightness or other values when leaving VR so we avoid any incorrect 113 // jumps. The code that calls this method will immediately issue a brightness
|
/frameworks/base/media/mca/filterpacks/native/imageproc/ |
H A D | brightness.c | 26 float brightness; member in struct:__anon1108 43 if (strcmp(key, "brightness") == 0) 44 ((BrightnessParameters*)user_data)->brightness = atof(value); 78 const float brightness = params->brightness; local 80 // Run the brightness adjustment 81 const int factor = (int)(brightness * 255.0f);
|
/frameworks/base/core/java/android/os/ |
H A D | 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); argument 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); argument 146 * @param screenBrightness The overridden screen brightness, or
|
H A D | IPowerManager.aidl | 61 // temporarily overrides the screen brightness settings to allow the user to 63 void setTemporaryScreenBrightnessSettingOverride(int brightness);
|
H A D | PowerManager.java | 139 * Wake lock level: Ensures that the screen is on at full brightness; 157 * full brightness. 445 * Gets the minimum supported screen brightness setting. 456 * Gets the maximum supported screen brightness setting. 467 * Gets the default screen brightness setting. 476 * Gets the minimum supported screen brightness setting for VR Mode. 485 * Gets the maximum supported screen brightness setting for VR Mode. 496 * Gets the default screen brightness for VR setting. 768 * Boosts the brightness of the screen to maximum for a predetermined 791 * Returns whether the screen brightness i 816 setBacklightBrightness(int brightness) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
H A D | AvgBrightnessFilter.java | 54 float brightness; 57 brightness = brightnessOperator(inputImage.getWidth(),inputImage.getHeight(), inputBuffer); 61 if (mLogVerbose) Log.v(TAG, "contrastRatio: " + brightness); 65 brightnessOutFrame.setValue(brightness);
|
H A D | ImageGoodnessFilter.java | 83 .addInputPort("brightness", Signature.PORT_REQUIRED, floatT) 118 getConnectedInputPort("brightness").pullFrame().asFrameValue(); 119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); 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); 222 computePictureScore(float vector_accel, float sharpness, float underExposure, float overExposure, float contrastRating, float colorfulness, float brightness) argument 248 subComputeScore(float sharpness, float underExposure, float overExposure, float contrastRating, float colorfulness, float brightness, float score) argument 386 brightnessScore(float brightness) argument [all...] |
H A D | CSVWriterFilter.java | 60 .addInputPort("brightness", Signature.PORT_REQUIRED, floatT) 94 getConnectedInputPort("brightness").pullFrame().asFrameValue(); 95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); 134 underExposure + "," + colorfulness + "," + contrast + "," + brightness + 137 underExposure + "," + colorfulness + "," + contrast + "," + brightness +
|
/frameworks/base/media/mca/filterpacks/ |
H A D | Android.mk | 44 LOCAL_SRC_FILES += native/imageproc/brightness.c \
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | Android.mk | 32 brightness.cpp \
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSAnimator.java | 219 // Make brightness appear static position and alpha in through second half. 220 View brightness = mQsPanel.getBrightnessView(); 221 if (brightness != null) { 222 firstPageBuilder.addFloat(brightness, "translationY", mQsPanel.getHeight(), 0); 224 .addFloat(brightness, "alpha", 0, 1) 227 mAllViews.add(brightness);
|
/frameworks/base/core/java/android/service/dreams/ |
H A D | DreamService.java | 732 * Gets the screen brightness to use while dozing. 734 * @return The screen brightness while dozing as a value between 747 * Sets the screen brightness to use while dozing. 752 * The dream may set a different brightness before starting to doze and may adjust 753 * the brightness while dozing to conserve power and achieve various effects. 755 * Note that dream may specify any brightness in the full 0-255 range, including 756 * values that are less than the minimum value for manual screen brightness 761 * The available range of display brightness values and their behavior while dozing is 766 * @param brightness The screen brightness whil 773 setDozeScreenBrightness(int brightness) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 90 void noteScreenBrightness(int brightness);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsHelper.java | 294 private void setBrightness(int brightness) { argument 299 power.setTemporaryScreenBrightnessSettingOverride(brightness);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 88 /** ContentObserver to watch brightness **/ 181 * Fetch the brightness mode from the system settings and update the icon. Should be called from 203 * Fetch the brightness from the system settings and update the slider. Should be called from 418 private void setBrightness(int brightness) { argument 420 mPower.setTemporaryScreenBrightnessSettingOverride(brightness);
|
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 108 // Message: Sent when the screen brightness boost expires. 135 // Dirty bit: brightness boost changed 160 // Screen brightness boost timeout. 254 // Timestamp of the last screen brightness boost. 410 // Screen brightness setting limits. 416 // The screen brightness setting, from 0 to 255. 420 // The screen brightness setting, from 0 to 255, to be used while in VR Mode. 423 // The screen auto-brightness adjustment setting, from -1 to 1. 427 // The screen brightness mode. 431 // The screen brightness settin 2741 setScreenBrightnessOverrideFromWindowManagerInternal(int brightness) argument 2769 setTemporaryScreenBrightnessSettingOverrideInternal(int brightness) argument 3738 setTemporaryScreenBrightnessSettingOverride(int brightness) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 550 public void noteScreenBrightness(int brightness) { argument 553 mStats.noteScreenBrightnessLocked(brightness);
|