Lines Matching refs:RecoveryUI

61 RecoveryUI::RecoveryUI()  in RecoveryUI()  function in RecoveryUI
93 RecoveryUI::~RecoveryUI() { in ~RecoveryUI()
101 void RecoveryUI::OnKeyDetected(int key_code) { in OnKeyDetected()
113 bool RecoveryUI::InitScreensaver() { in InitScreensaver()
161 bool RecoveryUI::Init(const std::string& /* locale */) { in Init()
162 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2), in Init()
165 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
168 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1)); in Init()
215 void RecoveryUI::OnTouchDetected(int dx, int dy) { in OnTouchDetected()
262 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) { in OnInputEvent()
387 void RecoveryUI::ProcessKey(int key_code, int updown) { in ProcessKey()
398 std::thread time_key_thread(&RecoveryUI::TimeKey, this, key_code, key_down_count); in ProcessKey()
412 case RecoveryUI::IGNORE: in ProcessKey()
415 case RecoveryUI::TOGGLE: in ProcessKey()
419 case RecoveryUI::REBOOT: in ProcessKey()
425 case RecoveryUI::ENQUEUE: in ProcessKey()
432 void RecoveryUI::TimeKey(int key_code, int count) { in TimeKey()
444 void RecoveryUI::EnqueueKey(int key_code) { in EnqueueKey()
453 void RecoveryUI::SetScreensaverState(ScreensaverState state) { in SetScreensaverState()
488 int RecoveryUI::WaitKey() { in WaitKey()
536 void RecoveryUI::InterruptKey() { in InterruptKey()
544 bool RecoveryUI::IsUsbConnected() { in IsUsbConnected()
560 bool RecoveryUI::IsKeyPressed(int key) { in IsKeyPressed()
566 bool RecoveryUI::IsLongPress() { in IsLongPress()
572 bool RecoveryUI::HasThreeButtons() const { in HasThreeButtons()
576 bool RecoveryUI::HasPowerKey() const { in HasPowerKey()
580 bool RecoveryUI::HasTouchScreen() const { in HasTouchScreen()
584 void RecoveryUI::FlushKeys() { in FlushKeys()
589 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) { in CheckKey()
631 void RecoveryUI::KeyLongPress(int) {} in KeyLongPress()
633 void RecoveryUI::SetEnableReboot(bool enabled) { in SetEnableReboot()