Lines Matching refs:key
584 int key = WaitKey(); in CheckBackgroundTextImages() local
585 if (key == static_cast<int>(KeyError::INTERRUPTED)) break; in CheckBackgroundTextImages()
586 if (key == KEY_POWER || key == KEY_ENTER) { in CheckBackgroundTextImages()
588 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in CheckBackgroundTextImages()
591 } else if (key == KEY_DOWN || key == KEY_VOLUMEDOWN) { in CheckBackgroundTextImages()
1101 int key = WaitKey(); in ShowFile() local
1102 if (key == static_cast<int>(KeyError::INTERRUPTED)) return; in ShowFile()
1103 if (key == KEY_POWER || key == KEY_ENTER) { in ShowFile()
1105 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in ShowFile()
1219 int key = WaitKey(); in ShowMenu() local
1220 if (key == static_cast<int>(KeyError::INTERRUPTED)) { // WaitKey() was interrupted. in ShowMenu()
1223 if (key == static_cast<int>(KeyError::TIMED_OUT)) { // WaitKey() timed out. in ShowMenu()
1235 int action = key_handler(key, visible); in ShowMenu()