Home
last modified time | relevance | path

Searched refs:brightnessMinimum (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DBrightnessInfo.java95 public final float brightnessMinimum; field in BrightnessInfo
115 public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum, in BrightnessInfo() argument
118 this(brightness, brightness, brightnessMinimum, brightnessMaximum, highBrightnessMode, in BrightnessInfo()
122 public BrightnessInfo(float brightness, float adjustedBrightness, float brightnessMinimum, in BrightnessInfo() argument
127 this.brightnessMinimum = brightnessMinimum; in BrightnessInfo()
173 dest.writeFloat(brightnessMinimum); in writeToParcel()
196 brightnessMinimum = source.readFloat(); in BrightnessInfo()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/
DFakeScreenBrightnessRepository.kt37 override val minLinearBrightness = brightnessInfo.map { LinearBrightness(it.brightnessMinimum) } in <lambda>()
46 LinearBrightness(brightnessMinimum) to LinearBrightness(brightnessMaximum) in minMaxLinearBrightness()
64 brightnessMinimum, in setBrightness()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java451 public float brightnessMinimum; field in DisplayDeviceInfo
533 || !BrightnessSynchronizer.floatEquals(brightnessMinimum, other.brightnessMinimum) in diff()
582 brightnessMinimum = other.brightnessMinimum; in copyFrom()
632 sb.append(", brightnessMinimum ").append(brightnessMinimum); in toString()
DLogicalDisplay.java543 mBaseDisplayInfo.brightnessMinimum = deviceInfo.brightnessMinimum; in updateLocked()
DLocalDisplayAdapter.java775 mInfo.brightnessMinimum = PowerManager.BRIGHTNESS_MIN; in getDisplayDeviceInfoLocked()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessDisplayManagerRepositoryTest.kt102 .isEqualTo(currentBrightnessInfo.brightnessMinimum) in startingBrightnessInfo()
131 .isEqualTo(currentBrightnessInfo.brightnessMinimum) in followsChangingBrightnessInfo()
143 assertThat(min.floatValue).isEqualTo(currentBrightnessInfo.brightnessMinimum) in minMaxWhenNotCollecting()
171 assertThat(min.floatValue).isEqualTo(currentBrightnessInfo.brightnessMinimum) in minMaxWhenCollecting()
/frameworks/base/core/java/android/view/
DDisplayInfo.java326 public float brightnessMinimum; field in DisplayInfo
455 && brightnessMinimum == other.brightnessMinimum in equals()
517 brightnessMinimum = other.brightnessMinimum; in copyFrom()
582 brightnessMinimum = source.readFloat(); in readFromParcel()
651 dest.writeFloat(brightnessMinimum); in writeToParcel()
926 sb.append(brightnessMinimum); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessRepository.kt158 .map { LinearBrightness(it.brightnessMinimum) } in getMinMaxLinearBrightness()
171 val min = brightnessInfo?.brightnessMinimum ?: 0f in getMinMaxLinearBrightness()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java275 context.getDisplayId(), brightnessInfo.brightnessMinimum); in testAdjustBrightness()
277 == brightnessInfo.brightnessMinimum; in testAdjustBrightness()
283 > brightnessInfo.brightnessMinimum); in testAdjustBrightness()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/
DAccessibilityMenuService.java331 info.brightnessMinimum, in adjustBrightness()
340 info.brightnessMinimum, in adjustBrightness()
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java417 || first.brightnessMinimum != second.brightnessMinimum in calculateDisplayInfoDiff()
/frameworks/base/core/java/com/android/internal/display/
DBrightnessSynchronizer.java330 return MathUtils.lerp(info.brightnessMinimum, info.brightnessMaximum, linearBrightness); in brightnessIntSettingToFloat()
358 MathUtils.norm(info.brightnessMinimum, info.brightnessMaximum, brightnessFloat); in brightnessFloatToIntSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/brightness/
DBrightnessController.java237 mBrightnessMin = info.brightnessMinimum;