Home
last modified time | relevance | path

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

12

/frameworks/base/media/mca/filterpacks/native/imageproc/
Dbrightness.c25 float brightness; member
43 ((BrightnessParameters*)user_data)->brightness = atof(value); in brightness_setvalue()
77 const float brightness = params->brightness; in brightness_process() local
80 const int factor = (int)(brightness * 255.0f); in brightness_process()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DImageGoodnessFilter.java119 float brightness = ((Float)brightnessFrameValue.getValue()).floatValue(); in onProcess() local
140 contrastRating, colorfulness, brightness); in onProcess()
224 float brightness) { in computePictureScore() argument
235 colorfulness, brightness, score); in computePictureScore()
239 colorfulness, brightness, score); in computePictureScore()
242 colorfulness, brightness, score); in computePictureScore()
249 float contrastRating, float colorfulness, float brightness, float score) { in subComputeScore() argument
257 score += brightnessScore(brightness); in subComputeScore()
386 private float brightnessScore(float brightness) { in brightnessScore() argument
388 brightnessMean = brightness; in brightnessScore()
[all …]
DAvgBrightnessFilter.java54 float brightness; in onProcess() local
57 brightness = brightnessOperator(inputImage.getWidth(),inputImage.getHeight(), inputBuffer); in onProcess()
61 if (mLogVerbose) Log.v(TAG, "contrastRatio: " + brightness); in onProcess()
65 brightnessOutFrame.setValue(brightness); in onProcess()
DCSVWriterFilter.java95 float brightness = ((Float)brightnessValue.getValue()).floatValue(); in onProcess() local
134 underExposure + "," + colorfulness + "," + contrast + "," + brightness + in onProcess()
137 underExposure + "," + colorfulness + "," + contrast + "," + brightness + in onProcess()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java513 int brightness = PowerManager.BRIGHTNESS_DEFAULT; in updatePowerState() local
526 brightness = mPowerRequest.dozeScreenBrightness; in updatePowerState()
574 brightness = PowerManager.BRIGHTNESS_OFF; in updatePowerState()
578 if (brightness < 0 && (state == Display.STATE_DOZE in updatePowerState()
580 brightness = mScreenBrightnessDozeConfig; in updatePowerState()
587 && state == Display.STATE_ON && brightness < 0; in updatePowerState()
594 if (brightness < 0) { in updatePowerState()
596 brightness = mAutomaticBrightnessController.getAutomaticScreenBrightness(); in updatePowerState()
598 if (brightness >= 0) { in updatePowerState()
600 brightness = clampScreenBrightness(brightness); in updatePowerState()
[all …]
DDisplayPowerState.java153 public void setScreenBrightness(int brightness) { in setScreenBrightness() argument
154 if (mScreenBrightness != brightness) { in setScreenBrightness()
156 Slog.d(TAG, "setScreenBrightness: brightness=" + brightness); in setScreenBrightness()
159 mScreenBrightness = brightness; in setScreenBrightness()
307 int brightness = mScreenState != Display.STATE_OFF
309 if (mPhotonicModulator.setState(mScreenState, brightness)) {
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java35 public abstract void setScreenBrightnessOverrideFromWindowManager(int brightness); in setScreenBrightnessOverrideFromWindowManager() argument
45 public abstract void setButtonBrightnessOverrideFromWindowManager(int brightness); in setButtonBrightnessOverrideFromWindowManager() argument
DIPowerManager.aidl56 void setTemporaryScreenBrightnessSettingOverride(int brightness); in setTemporaryScreenBrightnessSettingOverride() argument
DPowerManager.java681 public void setBacklightBrightness(int brightness) { in setBacklightBrightness() argument
683 mService.setTemporaryScreenBrightnessSettingOverride(brightness); in setBacklightBrightness()
/frameworks/base/services/core/java/com/android/server/lights/
DLight.java34 public abstract void setBrightness(int brightness); in setBrightness() argument
35 public abstract void setBrightness(int brightness, int brightnessMode); in setBrightness() argument
DLightsService.java45 public void setBrightness(int brightness) { in setBrightness() argument
46 setBrightness(brightness, BRIGHTNESS_MODE_USER); in setBrightness()
50 public void setBrightness(int brightness, int brightnessMode) { in setBrightness() argument
52 int color = brightness & 0x000000ff; in setBrightness()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java753 public void setDozeScreenBrightness(int brightness) { in setDozeScreenBrightness() argument
754 if (brightness != PowerManager.BRIGHTNESS_DEFAULT) { in setDozeScreenBrightness()
755 brightness = clampAbsoluteBrightness(brightness); in setDozeScreenBrightness()
757 if (mDozeScreenBrightness != brightness) { in setDozeScreenBrightness()
758 mDozeScreenBrightness = brightness; in setDozeScreenBrightness()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
DAndroid.mk32 brightness.cpp \
/frameworks/base/media/mca/filterpacks/
DAndroid.mk44 LOCAL_SRC_FILES += native/imageproc/brightness.c \
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java175 private void setBrightness(int brightness) { in setBrightness() argument
180 power.setTemporaryScreenBrightnessSettingOverride(brightness); in setBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java239 private void setBrightness(int brightness) { in setBrightness() argument
241 mPower.setTemporaryScreenBrightnessSettingOverride(brightness); in setBrightness()
/frameworks/base/docs/html/design/building-blocks/
Dseek-bars.jd8 such as volume, brightness, or color saturation.</p>
/frameworks/base/core/java/com/android/internal/app/
DIBatteryStats.aidl77 void noteScreenBrightness(int brightness); in noteScreenBrightness() argument
/frameworks/base/data/keyboards/
DVendor_05ac_Product_0239.kl21 # - Special function keys for brightness control, etc. are not
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java2208 private void setScreenBrightnessOverrideFromWindowManagerInternal(int brightness) { in setScreenBrightnessOverrideFromWindowManagerInternal() argument
2210 if (mScreenBrightnessOverrideFromWindowManager != brightness) { in setScreenBrightnessOverrideFromWindowManagerInternal()
2211 mScreenBrightnessOverrideFromWindowManager = brightness; in setScreenBrightnessOverrideFromWindowManagerInternal()
2228 private void setTemporaryScreenBrightnessSettingOverrideInternal(int brightness) { in setTemporaryScreenBrightnessSettingOverrideInternal() argument
2230 if (mTemporaryScreenBrightnessSettingOverride != brightness) { in setTemporaryScreenBrightnessSettingOverrideInternal()
2231 mTemporaryScreenBrightnessSettingOverride = brightness; in setTemporaryScreenBrightnessSettingOverrideInternal()
3070 public void setTemporaryScreenBrightnessSettingOverride(int brightness) { in setTemporaryScreenBrightnessSettingOverride() argument
3076 setTemporaryScreenBrightnessSettingOverrideInternal(brightness); in setTemporaryScreenBrightnessSettingOverride()
/frameworks/base/graphics/java/android/graphics/
DColor.java187 public static float brightness(int color) { in brightness() method in Color
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java331 public void noteScreenBrightness(int brightness) { in noteScreenBrightness() argument
334 mStats.noteScreenBrightnessLocked(brightness); in noteScreenBrightness()
/frameworks/base/docs/html/design/tv/
Dpatterns.jd21 brightness, opacity, animation or a combination of these attributes to help users see a focused
Dstyle.jd65 <p>Subtle hue or brightness differences between elements may disappear or be over-emphasized on
/frameworks/opt/net/ims/
DREADME.txt113 controlling the camera (front/rear selection, zoom, brightness, ...) for a video calling.

12