Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c289 int keypress_to_event(char keypress) in keypress_to_event() argument
292 if ((keypress >= 'A' && keypress <= 'Z') || in keypress_to_event()
293 (keypress >= 'a' && keypress <= 'z')) { in keypress_to_event()
294 out_buf = tolower(keypress); in keypress_to_event()
296 } else if (keypress >= '1' && keypress <= '9') { in keypress_to_event()
297 out_buf = keypress; in keypress_to_event()
298 out_buf = keypress - '1' + BASE_OFFSET_NUM; in keypress_to_event()
303 int next_menu(menu_id_change_t current_menu_id, char keypress, camera_action_t * action_id_ptr, int… in next_menu() argument
309 output_to_event = keypress_to_event(keypress); in next_menu()
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_main_menu.c273 int keypress_to_event(char keypress) in keypress_to_event() argument
276 if ((keypress >= 'A' && keypress <= 'Z') || in keypress_to_event()
277 (keypress >= 'a' && keypress <= 'z')) { in keypress_to_event()
278 out_buf = tolower(keypress); in keypress_to_event()
280 } else if (keypress >= '0' && keypress <= '9') { in keypress_to_event()
281 out_buf = keypress - '0'; in keypress_to_event()
286 int next_menu(menu_id_change_t current_menu_id, char keypress, camera_action_t * action_id_ptr, int… in next_menu() argument
292 output_to_event = keypress_to_event(keypress); in next_menu()