Home
last modified time | relevance | path

Searched refs:controls_count (Results 1 – 4 of 4) sorted by relevance

/third_party/alsa-utils/alsamixer/
Dmixer_controls.c34 unsigned int controls_count; variable
465 for (i = 0; i < controls_count; ++i) in search_for_focus_control()
470 if (i >= controls_count || controls[i].elem != elem) in search_for_focus_control()
485 for (i = 0; i < controls_count; ++i) in free_controls()
489 controls_count = 0; in free_controls()
502 controls_count += get_controls_count_for_elem(elem); in create_controls()
504 if (controls_count > 0) { in create_controls()
505 controls = ccalloc(controls_count, sizeof *controls); in create_controls()
511 assert(control == controls + controls_count); in create_controls()
Dmixer_display.c209 has_view_mode = controls_count > 0 || are_there_any_controls(); in display_view_mode()
258 if (!controls_count || screen_too_small) { in display_focus_item_info()
645 right = first_visible_control_index + visible_controls < controls_count in display_scroll_indicators()
660 if (first_visible_control_index > controls_count - visible_controls) in display_controls()
661 first_visible_control_index = controls_count - visible_controls; in display_controls()
671 if (controls_count > 0) { in display_controls()
690 if (controls_count == 0 || screen_too_small) { in compute_controls_layout()
699 for (i = 0; i < controls_count; ++i) { in compute_controls_layout()
711 for (i = 0; i < controls_count; ++i) { in compute_controls_layout()
718 control_width = (screen_cols - 3 - (int)controls_count) / controls_count; in compute_controls_layout()
[all …]
Dmixer_widget.c231 if (focus_control_index < controls_count) { in refocus_control()
242 focus_control_index < controls_count && in get_focus_control()
609 else if (focus_control_index >= controls_count) in on_handle_key()
610 focus_control_index = controls_count - 1; in on_handle_key()
Dmixer_controls.h31 extern unsigned int controls_count;