Lines Matching refs:key
587 int key = WaitKey(); in CheckBackgroundTextImages() local
588 if (key == static_cast<int>(KeyError::INTERRUPTED)) break; in CheckBackgroundTextImages()
589 if (key == KEY_POWER || key == KEY_ENTER) { in CheckBackgroundTextImages()
591 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in CheckBackgroundTextImages()
594 } else if (key == KEY_DOWN || key == KEY_VOLUMEDOWN) { in CheckBackgroundTextImages()
1122 int key = WaitKey(); in ShowFile() local
1123 if (key == static_cast<int>(KeyError::INTERRUPTED)) return; in ShowFile()
1124 if (key == KEY_POWER || key == KEY_ENTER) { in ShowFile()
1126 } else if (key == KEY_UP || key == KEY_VOLUMEUP) { in ShowFile()
1240 int key = WaitKey(); in ShowMenu() local
1241 if (key == static_cast<int>(KeyError::INTERRUPTED)) { // WaitKey() was interrupted. in ShowMenu()
1244 if (key == static_cast<int>(KeyError::TIMED_OUT)) { // WaitKey() timed out. in ShowMenu()
1256 int action = key_handler(key, visible); in ShowMenu()