Lines Matching refs:ScreensaverState
79 screensaver_state_(ScreensaverState::DISABLED) { in RecoveryUI()
138 screensaver_state_ = ScreensaverState::NORMAL; in InitScreensaver()
409 void RecoveryUI::SetScreensaverState(ScreensaverState state) { in SetScreensaverState()
411 case ScreensaverState::NORMAL: in SetScreensaverState()
414 screensaver_state_ = ScreensaverState::NORMAL; in SetScreensaverState()
421 case ScreensaverState::DIMMED: in SetScreensaverState()
426 screensaver_state_ = ScreensaverState::DIMMED; in SetScreensaverState()
431 case ScreensaverState::OFF: in SetScreensaverState()
434 screensaver_state_ = ScreensaverState::OFF; in SetScreensaverState()
449 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
459 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
462 if (screensaver_state_ != ScreensaverState::DISABLED) { in WaitKey()
465 if (screensaver_state_ == ScreensaverState::NORMAL) { in WaitKey()
466 SetScreensaverState(ScreensaverState::DIMMED); in WaitKey()
467 } else if (screensaver_state_ == ScreensaverState::DIMMED) { in WaitKey()
468 SetScreensaverState(ScreensaverState::OFF); in WaitKey()
470 } else if (screensaver_state_ != ScreensaverState::NORMAL) { in WaitKey()
472 if (screensaver_state_ == ScreensaverState::OFF) { in WaitKey()
479 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
584 return (IsTextVisible() || screensaver_state_ == ScreensaverState::OFF) ? ENQUEUE : IGNORE; in CheckKey()