Home
last modified time | relevance | path

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

/system/core/virtcon/
A Dvc-input.cpp16 static unsigned g_vc_count = 0; variable
37 … vc_set_active(g_active_vc_index == 0 ? g_vc_count - 1 : g_active_vc_index - 1, NULL); in vc_handle_control_keys()
39 … vc_set_active(g_active_vc_index == g_vc_count - 1 ? 0 : g_active_vc_index + 1, NULL); in vc_handle_control_keys()
46 vc_set_active(g_active_vc_index == 0 ? g_vc_count - 1 : g_active_vc_index - 1, NULL); in vc_handle_control_keys()
50 vc_set_active(g_active_vc_index == g_vc_count - 1 ? 0 : g_active_vc_index + 1, NULL); in vc_handle_control_keys()
170 int w = g_status_width / (g_vc_count + 1); in vc_status_update()
252 g_vc_count++; in vc_create()
267 g_vc_count -= 1; in vc_destroy()
271 if (g_active_vc_index >= g_vc_count) { in vc_destroy()
272 g_active_vc_index = g_vc_count - 1; in vc_destroy()

Completed in 10 milliseconds