/frameworks/base/services/core/java/com/android/server/display/config/ |
D | EvenDimmerBrightnessData.java | 77 float[] backlight, float[] brightness, Spline backlightToNits, in EvenDimmerBrightnessData() argument 82 mBacklight = backlight; in EvenDimmerBrightnessData() 133 float[] backlight = new float[brightnessPoints.size()]; in loadConfig() local 139 backlight[i] = val.getBacklight().floatValue(); in loadConfig() 174 return new EvenDimmerBrightnessData(transitionPoint, nits, backlight, brightness, in loadConfig() 175 new Spline.LinearSpline(backlight, nits), in loadConfig() 176 new Spline.LinearSpline(nits, backlight), in loadConfig() 177 new Spline.LinearSpline(brightness, backlight), in loadConfig() 178 new Spline.LinearSpline(backlight, brightness), in loadConfig() 183 return new EvenDimmerBrightnessData(transitionPoint, nits, backlight, brightness, in loadConfig() [all …]
|
D | DisplayBrightnessMappingConfig.java | 107 float backlight = mapping.getMap().getPoint().get(i).getSecond().floatValue(); in DisplayBrightnessMappingConfig() local 108 brightnessLevels[i] = backlightToBrightnessSpline.interpolate(backlight); in DisplayBrightnessMappingConfig()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/ |
D | KeyboardBacklightDialogCoordinator.kt | 18 package com.android.systemui.keyboard.backlight.ui in <lambda>() 23 import com.android.systemui.keyboard.backlight.ui.view.KeyboardBacklightDialog in <lambda>() 24 import com.android.systemui.keyboard.backlight.ui.viewmodel.BacklightDialogContentViewModel in <lambda>() 25 import com.android.systemui.keyboard.backlight.ui.viewmodel.BacklightDialogViewModel in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/backlight/domain/interactor/ |
D | KeyboardBacklightInteractorTest.kt | 18 package com.android.systemui.keyboard.backlight.domain.interactor 49 val latest by collectLastValue(underTest.backlight) in <lambda>() 60 assertThat(underTest.backlight.first()).isEqualTo(BacklightModel(1, 5)) in <lambda>() 65 val latest by collectLastValue(underTest.backlight) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/domain/interactor/ |
D | KeyboardBacklightInteractor.kt | 18 package com.android.systemui.keyboard.backlight.domain.interactor in <lambda>() 39 val backlight: Flow<BacklightModel?> = in <lambda>() constant in com.android.systemui.keyboard.backlight.domain.interactor.KeyboardBacklightInteractor 41 if (connected) keyboardRepository.backlight else flowOf(null) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepositoryTest.kt | 189 val backlight by collectLastValueImmediately(underTest.backlight) in <lambda>() constant 196 assertThat(backlight?.level).isEqualTo(1) in <lambda>() 197 assertThat(backlight?.maxLevel).isEqualTo(5) in <lambda>() 212 val backlight by collectLastValueImmediately(underTest.backlight) in <lambda>() constant 221 assertThat(backlight).isNull() in <lambda>() 228 val backlight by collectLastValueImmediately(underTest.backlight) in <lambda>() constant 237 assertThat(backlight).isNotNull() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/viewmodel/ |
D | BacklightDialogViewModel.kt | 18 package com.android.systemui.keyboard.backlight.ui.viewmodel 22 import com.android.systemui.keyboard.backlight.domain.interactor.KeyboardBacklightInteractor 54 interactor.backlight
|
D | BacklightDialogContentViewModel.kt | 18 package com.android.systemui.keyboard.backlight.ui.viewmodel
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/backlight/ui/ |
D | KeyboardBacklightDialogCoordinatorTest.kt | 18 package com.android.systemui.keyboard.backlight.ui in <lambda>() 23 import com.android.systemui.keyboard.backlight.domain.interactor.KeyboardBacklightInteractor in <lambda>() 24 import com.android.systemui.keyboard.backlight.ui.view.KeyboardBacklightDialog in <lambda>() 25 import com.android.systemui.keyboard.backlight.ui.viewmodel.BacklightDialogViewModel in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayDeviceConfig.java | 1072 public float getBrightnessFromBacklight(float backlight) { in getBrightnessFromBacklight() argument 1074 return mEvenDimmerBrightnessData.mBacklightToBrightness.interpolate(backlight); in getBrightnessFromBacklight() 1076 return mBacklightToBrightnessSpline.interpolate(backlight); in getBrightnessFromBacklight() 1096 public float getNitsFromBacklight(float backlight) { in getNitsFromBacklight() argument 1101 backlight = Math.max(backlight, mBacklightMinimum); in getNitsFromBacklight() 1102 return mEvenDimmerBrightnessData.mBacklightToNits.interpolate(backlight); in getNitsFromBacklight() 1108 backlight = Math.max(backlight, mBacklightMinimum); in getNitsFromBacklight() 1109 return mBacklightToNitsSpline.interpolate(backlight); in getNitsFromBacklight() 1172 float backlight = getBacklightFromBrightness(brightness); in getHdrBrightnessFromSdr() local 1173 float nits = getNitsFromBacklight(backlight); in getHdrBrightnessFromSdr() [all …]
|
D | LocalDisplayAdapter.java | 940 final float backlight = brightnessToBacklight(brightnessState); in requestDisplayStateLocked() local 943 final float nits = backlightToNits(backlight); in requestDisplayStateLocked() 952 mBacklightAdapter.setBacklight(sdrBacklight, sdrNits, backlight, nits); in requestDisplayStateLocked() 978 private float backlightToNits(float backlight) { in requestDisplayStateLocked() argument 979 return getDisplayDeviceConfig().getNitsFromBacklight(backlight); in requestDisplayStateLocked() 1704 void setBacklight(float sdrBacklight, float sdrNits, float backlight, float nits) { 1708 mSurfaceControlProxy.setDisplayBrightness(mDisplayToken, backlight); 1711 backlight, nits); 1714 mBacklight.setBrightness(backlight);
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/data/repository/ |
D | FakeKeyboardRepository.kt | 33 override val backlight: Flow<BacklightModel> = _backlightState.filterNotNull() constant in com.android.systemui.keyboard.data.repository.FakeKeyboardRepository
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/ |
D | KeyboardRepository.kt | 67 val backlight: Flow<BacklightModel> in <lambda>() constant 153 override val backlight: Flow<BacklightModel> = constant in com.android.systemui.keyboard.data.repository.KeyboardRepositoryImpl
|
D | CommandLineKeyboardRepository.kt | 48 override val backlight: Flow<BacklightModel> = _backlightState.filterNotNull() constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/ |
D | PhysicalKeyboardCoreStartable.kt | 26 import com.android.systemui.keyboard.backlight.ui.KeyboardBacklightDialogCoordinator
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | BrightnessMappingStrategyTest.java | 393 final float[] backlight = Arrays.copyOf(DISPLAY_LEVELS, DISPLAY_LEVELS.length + 1); in testDifferentNumberOfControlPointValuesFails() local 394 backlight[backlight.length - 1] = backlight[backlight.length - 2] + 1; in testDifferentNumberOfControlPointValuesFails() 396 ddc = new DdcBuilder().setAutoBrightnessLevels(backlight).build(); in testDifferentNumberOfControlPointValuesFails()
|
/frameworks/proto_logging/stats/enums/os/ |
D | enums.proto | 170 // Ensures that the CPU is running; the screen and keyboard backlight 175 // backlight will be allowed to go off. If the user presses the power 181 // backlight will be allowed to go off. If the user presses the power 186 // Ensures that the screen and keyboard backlight are on at full
|
/frameworks/proto_logging/stats/enums/input/ |
D | enums.proto | 56 // Increase keyboard backlight brightness 58 // Decrease keyboard backlight brightness 60 // Turn keyboard backlight on/off
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
D | KeyboardBacklightDialog.kt | 18 package com.android.systemui.keyboard.backlight.ui.view in <lambda>()
|