Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/display/
DBrightnessInfo.java98 public final float brightnessMaximum; field in BrightnessInfo
115 public BrightnessInfo(float brightness, float brightnessMinimum, float brightnessMaximum, in BrightnessInfo() argument
118 this(brightness, brightness, brightnessMinimum, brightnessMaximum, highBrightnessMode, in BrightnessInfo()
123 float brightnessMaximum, @HighBrightnessMode int highBrightnessMode, in BrightnessInfo() argument
128 this.brightnessMaximum = brightnessMaximum; in BrightnessInfo()
174 dest.writeFloat(brightnessMaximum); in writeToParcel()
197 brightnessMaximum = source.readFloat(); in BrightnessInfo()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/brightness/data/repository/
DFakeScreenBrightnessRepository.kt38 override val maxLinearBrightness = brightnessInfo.map { LinearBrightness(it.brightnessMaximum) } in <lambda>()
46 LinearBrightness(brightnessMinimum) to LinearBrightness(brightnessMaximum) in minMaxLinearBrightness()
65 brightnessMaximum, in setBrightness()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessDisplayManagerRepositoryTest.kt104 .isEqualTo(currentBrightnessInfo.brightnessMaximum) in startingBrightnessInfo()
133 .isEqualTo(currentBrightnessInfo.brightnessMaximum) in followsChangingBrightnessInfo()
144 assertThat(max.floatValue).isEqualTo(currentBrightnessInfo.brightnessMaximum) in minMaxWhenNotCollecting()
172 assertThat(max.floatValue).isEqualTo(currentBrightnessInfo.brightnessMaximum) in minMaxWhenCollecting()
198 .setTemporaryBrightness(displayId, currentBrightnessInfo.brightnessMaximum) in setTemporaryBrightness_outsideBounds()
225 .setBrightness(displayId, currentBrightnessInfo.brightnessMaximum) in setBrightness_outsideBounds()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayDeviceInfo.java452 public float brightnessMaximum; field in DisplayDeviceInfo
534 || !BrightnessSynchronizer.floatEquals(brightnessMaximum, other.brightnessMaximum) in diff()
583 brightnessMaximum = other.brightnessMaximum; in copyFrom()
633 sb.append(", brightnessMaximum ").append(brightnessMaximum); in toString()
DLogicalDisplay.java544 mBaseDisplayInfo.brightnessMaximum = deviceInfo.brightnessMaximum; in updateLocked()
DLocalDisplayAdapter.java776 mInfo.brightnessMaximum = PowerManager.BRIGHTNESS_MAX; in getDisplayDeviceInfoLocked()
/frameworks/base/core/java/android/view/
DDisplayInfo.java333 public float brightnessMaximum; field in DisplayInfo
456 && brightnessMaximum == other.brightnessMaximum in equals()
518 brightnessMaximum = other.brightnessMaximum; in copyFrom()
583 brightnessMaximum = source.readFloat(); in readFromParcel()
652 dest.writeFloat(brightnessMaximum); in writeToParcel()
928 sb.append(brightnessMaximum); in toString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DScreenBrightnessRepository.kt165 .map { LinearBrightness(it.brightnessMaximum) } in getMinMaxLinearBrightness()
172 val max = brightnessInfo?.brightnessMaximum ?: 1f in getMinMaxLinearBrightness()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/src/com/android/systemui/accessibility/accessibilitymenu/
DAccessibilityMenuService.java332 info.brightnessMaximum in adjustBrightness()
341 info.brightnessMaximum in adjustBrightness()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/tests/src/com/android/systemui/accessibility/accessibilitymenu/tests/
DAccessibilityMenuServiceTest.java289 context.getDisplayId(), brightnessInfo.brightnessMaximum); in testAdjustBrightness()
291 == brightnessInfo.brightnessMaximum; in testAdjustBrightness()
297 < brightnessInfo.brightnessMaximum); in testAdjustBrightness()
/frameworks/base/services/core/java/com/android/server/wm/
DDeferredDisplayUpdater.java418 || first.brightnessMaximum != second.brightnessMaximum 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.java236 mBrightnessMax = info.brightnessMaximum;