Lines Matching refs:RecoveryUI

55 RecoveryUI::RecoveryUI()  in RecoveryUI()  function in RecoveryUI
83 RecoveryUI::~RecoveryUI() { in ~RecoveryUI()
91 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected()
103 bool RecoveryUI::InitScreensaver() { in InitScreensaver()
142 bool RecoveryUI::Init(const std::string& /* locale */) { in Init()
143 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2), in Init()
146 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
149 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
181 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected()
223 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent()
343 void RecoveryUI::ProcessKey(int key_code, int updown) { in ProcessKey()
354 std::thread time_key_thread(&RecoveryUI::TimeKey, this, key_code, key_down_count); in ProcessKey()
368 case RecoveryUI::IGNORE: in ProcessKey()
371 case RecoveryUI::TOGGLE: in ProcessKey()
375 case RecoveryUI::REBOOT: in ProcessKey()
381 case RecoveryUI::ENQUEUE: in ProcessKey()
388 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey()
400 void RecoveryUI::EnqueueKey(int key_code) { in EnqueueKey()
409 void RecoveryUI::SetScreensaverState(ScreensaverState state) { in SetScreensaverState()
444 int RecoveryUI::WaitKey() { in WaitKey()
492 void RecoveryUI::InterruptKey() { in InterruptKey()
500 bool RecoveryUI::IsUsbConnected() { in IsUsbConnected()
516 bool RecoveryUI::IsKeyPressed(int key) { in IsKeyPressed()
522 bool RecoveryUI::IsLongPress() { in IsLongPress()
528 bool RecoveryUI::HasThreeButtons() const { in HasThreeButtons()
532 bool RecoveryUI::HasPowerKey() const { in HasPowerKey()
536 bool RecoveryUI::HasTouchScreen() const { in HasTouchScreen()
540 void RecoveryUI::FlushKeys() { in FlushKeys()
545 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) { in CheckKey()
587 void RecoveryUI::KeyLongPress(int) {} in KeyLongPress()
589 void RecoveryUI::SetEnableReboot(bool enabled) { in SetEnableReboot()