Home
last modified time | relevance | path

Searched refs:ABS_TO_PERCENTAGE (Results 1 – 5 of 5) sorted by relevance

/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/plugins/power/
H A Dgpm-common.h43 #define ABS_TO_PERCENTAGE(min, max, value) gsd_power_backlight_abs_to_percentage(min, max, value) macro
H A Dgsd-backlight.c284 … gint percent = ABS_TO_PERCENTAGE (backlight->brightness_min, backlight->brightness_max, result); in gsd_backlight_set_helper_return()
457 …*target = ABS_TO_PERCENTAGE (backlight->brightness_min, backlight->brightness_max, backlight->brig… in gsd_backlight_get_brightness()
459 …return ABS_TO_PERCENTAGE (backlight->brightness_min, backlight->brightness_max, backlight->brightn… in gsd_backlight_get_brightness()
496 percent = ABS_TO_PERCENTAGE (backlight->brightness_min, in gsd_backlight_set_brightness_val_async()
H A Dgsd-power-manager.c1594 percentage = ABS_TO_PERCENTAGE (0, in upower_kbd_proxy_signal_cb()
2157 percentage = ABS_TO_PERCENTAGE (0, in power_keyboard_proxy_ready_cb()
2922 percentage = ABS_TO_PERCENTAGE (0, in handle_method_call_keyboard()
3077 value = ABS_TO_PERCENTAGE (0, in handle_get_property_other()
3155 brightness_value = ABS_TO_PERCENTAGE (0, in handle_set_property_other()
/dports/sysutils/cinnamon-settings-daemon/cinnamon-settings-daemon-4.8.5/plugins/power/
H A Dcsd-power-manager.c117 #define ABS_TO_PERCENTAGE(min, max, value) abs_to_percentage(min, max, value) macro
2717 value = ABS_TO_PERCENTAGE (min, max, now); in backlight_get_percentage()
2729 value = ABS_TO_PERCENTAGE (min, max, now); in backlight_get_percentage()
2878 percentage_value = ABS_TO_PERCENTAGE (min, max, discrete); in backlight_step_up()
2897 percentage_value = ABS_TO_PERCENTAGE (min, max, discrete); in backlight_step_up()
2944 percentage_value = ABS_TO_PERCENTAGE (min, max, discrete); in backlight_step_down()
2963 percentage_value = ABS_TO_PERCENTAGE (min, max, discrete); in backlight_step_down()
4690 percentage = ABS_TO_PERCENTAGE (0, in handle_method_call_keyboard()
/dports/sysutils/gnome-settings-daemon/gnome-settings-daemon-3.38.2/
H A DNEWS2588 - Make ABS_TO_PERCENTAGE warn on invalid input (Bastien Nocera) (#657364)