Lines Matching refs:RecoveryUI

55 RecoveryUI::RecoveryUI()  in RecoveryUI()  function in RecoveryUI
84 RecoveryUI::~RecoveryUI() { in ~RecoveryUI()
92 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected()
104 bool RecoveryUI::InitScreensaver() { in InitScreensaver()
143 bool RecoveryUI::Init(const std::string& /* locale */) { in Init()
144 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2), in Init()
147 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
150 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
182 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected()
224 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent()
344 void RecoveryUI::ProcessKey(int key_code, int updown) { in ProcessKey()
355 std::thread time_key_thread(&RecoveryUI::TimeKey, this, key_code, key_down_count); in ProcessKey()
369 case RecoveryUI::IGNORE: in ProcessKey()
372 case RecoveryUI::TOGGLE: in ProcessKey()
376 case RecoveryUI::REBOOT: in ProcessKey()
385 case RecoveryUI::ENQUEUE: in ProcessKey()
392 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey()
404 void RecoveryUI::EnqueueKey(int key_code) { in EnqueueKey()
413 void RecoveryUI::SetScreensaverState(ScreensaverState state) { in SetScreensaverState()
448 int RecoveryUI::WaitKey() { in WaitKey()
496 void RecoveryUI::InterruptKey() { in InterruptKey()
504 bool RecoveryUI::IsUsbConnected() { in IsUsbConnected()
520 bool RecoveryUI::IsKeyPressed(int key) { in IsKeyPressed()
526 bool RecoveryUI::IsLongPress() { in IsLongPress()
532 bool RecoveryUI::HasThreeButtons() { in HasThreeButtons()
536 bool RecoveryUI::HasPowerKey() const { in HasPowerKey()
540 bool RecoveryUI::HasTouchScreen() const { in HasTouchScreen()
544 void RecoveryUI::FlushKeys() { in FlushKeys()
549 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) { in CheckKey()
592 void RecoveryUI::KeyLongPress(int) {} in KeyLongPress()
594 void RecoveryUI::SetEnableReboot(bool enabled) { in SetEnableReboot()