Lines Matching refs:ScreensaverState
83 screensaver_state_(ScreensaverState::DISABLED) { in RecoveryUI()
151 screensaver_state_ = ScreensaverState::NORMAL; in InitScreensaver()
422 void RecoveryUI::SetScreensaverState(ScreensaverState state) { in SetScreensaverState()
424 case ScreensaverState::NORMAL: in SetScreensaverState()
427 screensaver_state_ = ScreensaverState::NORMAL; in SetScreensaverState()
434 case ScreensaverState::DIMMED: in SetScreensaverState()
439 screensaver_state_ = ScreensaverState::DIMMED; in SetScreensaverState()
444 case ScreensaverState::OFF: in SetScreensaverState()
447 screensaver_state_ = ScreensaverState::OFF; in SetScreensaverState()
462 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
472 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
475 if (screensaver_state_ != ScreensaverState::DISABLED) { in WaitKey()
478 if (screensaver_state_ == ScreensaverState::NORMAL) { in WaitKey()
479 SetScreensaverState(ScreensaverState::DIMMED); in WaitKey()
480 } else if (screensaver_state_ == ScreensaverState::DIMMED) { in WaitKey()
481 SetScreensaverState(ScreensaverState::OFF); in WaitKey()
483 } else if (screensaver_state_ != ScreensaverState::NORMAL) { in WaitKey()
485 if (screensaver_state_ == ScreensaverState::OFF) { in WaitKey()
492 SetScreensaverState(ScreensaverState::NORMAL); in WaitKey()
597 return (IsTextVisible() || screensaver_state_ == ScreensaverState::OFF) ? ENQUEUE : IGNORE; in CheckKey()