Searched refs:brightnessMode (Results 1 – 18 of 18) sorted by relevance
48 .brightnessMode = Brightness::USER,56 .brightnessMode = Brightness::LOW_PERSISTENCE,64 .brightnessMode = Brightness::USER,
202 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()215 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()227 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()230 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
25 android.hardware.light.BrightnessMode brightnessMode;
63 BrightnessMode brightnessMode;
64 off.brightnessMode = aidl::BrightnessMode::USER; in setToColorAidl()85 .brightnessMode = V2_0::Brightness::USER, in setToColorHidl()
133 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()140 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()152 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
173 int brightnessMode; member
33 static_cast<Brightness>(state.brightnessMode)}; in setLight()
135 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()142 if ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()154 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
62 .brightnessMode = static_cast<int>(state.brightnessMode), in setLight()
49 if (state.brightnessMode == Brightness::LOW_PERSISTENCE) { in setLight()
64 .brightnessMode = static_cast<int>(state.brightnessMode), in setLight()
85 if (state.brightnessMode == Brightness::LOW_PERSISTENCE) { in setLight()
136 state->brightnessMode == BRIGHTNESS_MODE_LOW_PERSISTENCE; in set_light_backlight()143 bool persistence_mode = ((g_last_backlight_mode != state->brightnessMode && lpEnabled) || in set_light_backlight()154 g_last_backlight_mode = state->brightnessMode; in set_light_backlight()
133 Brightness brightnessMode;