Home
last modified time | relevance | path

Searched refs:getBrightnessFromNits (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifier.java100 minBrightnessAllowed = getBrightnessFromNits(minNitsAllowed); in recalculateLowerBound()
213 private float getBrightnessFromNits(float nits) { in getBrightnessFromNits() method in BrightnessLowLuxModifier
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
DDisplayBrightnessControllerTest.java332 mDisplayBrightnessController.getBrightnessFromNits(nits), /* delta= */ 0); in testGetBrightnessFromNits()
340 when(automaticBrightnessController.getBrightnessFromNits(nits)).thenReturn(brightness); in testGetBrightnessFromNits()
345 assertEquals(brightness, mDisplayBrightnessController.getBrightnessFromNits(nits), in testGetBrightnessFromNits()
371 when(automaticBrightnessController.getBrightnessFromNits(nits)).thenReturn(brightness); in testLoadNitBasedBrightnessSetting()
382 when(automaticBrightnessController.getBrightnessFromNits(nits)).thenReturn(brightness); in testLoadNitBasedBrightnessSetting()
/frameworks/base/services/core/java/com/android/server/display/brightness/
DDisplayBrightnessController.java416 public float getBrightnessFromNits(float nits) { in getBrightnessFromNits() method in DisplayBrightnessController
420 return mAutomaticBrightnessController.getBrightnessFromNits(nits); in getBrightnessFromNits()
587 float brightnessForDefaultDisplay = getBrightnessFromNits( in loadNitBasedBrightnessSetting()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerControllerTest.java373 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowers_BothDpcsSupportNits()
388 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowers_BothDpcsSupportNits()
420 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(anyFloat())) in testDisplayBrightnessFollowers_FollowerDoesNotSupportNits()
482 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(anyFloat())) in testDisplayBrightnessFollowers_NeitherDpcSupportsNits()
516 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowers_AutomaticBrightness()
549 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowers_AutomaticBrightness()
607 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()
609 when(secondFollowerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()
640 when(followerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()
642 when(secondFollowerDpc.automaticBrightnessController.getBrightnessFromNits(nits)) in testDisplayBrightnessFollowersRemoval_RemoveSingleFollower()
[all …]
DAutomaticBrightnessControllerTest.java927 when(mBrightnessMappingStrategy.getBrightnessFromNits(userNits)).thenReturn(userBrightness);
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java330 public abstract float getBrightnessFromNits(float nits); in getBrightnessFromNits() method in BrightnessMappingStrategy
691 public float getBrightnessFromNits(float nits) { in getBrightnessFromNits() method in BrightnessMappingStrategy.SimpleMappingStrategy
966 public float getBrightnessFromNits(float nits) { in getBrightnessFromNits() method in BrightnessMappingStrategy.PhysicalMappingStrategy
DAutomaticBrightnessController.java375 setScreenBrightnessByUser(userLux, getBrightnessFromNits(userNits)); in AutomaticBrightnessController()
1239 public float getBrightnessFromNits(float nits) {
1240 return mCurrentBrightnessMapper.getBrightnessFromNits(nits);
DDisplayPowerController.java2493 float brightness = mDisplayBrightnessController.getBrightnessFromNits(nits); in setBrightnessToFollow()