Home | History | Annotate | Download | only in recovery

Lines Matching defs:RecoveryUI

56 RecoveryUI::RecoveryUI()
83 void RecoveryUI::OnKeyDetected(int key_code) {
105 bool RecoveryUI::InitScreensaver() {
144 bool RecoveryUI::Init(const std::string& /* locale */) {
145 ev_init(std::bind(&RecoveryUI::OnInputEvent, this, std::placeholders::_1, std::placeholders::_2),
148 ev_iterate_available_keys(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1));
151 ev_iterate_touch_inputs(std::bind(&RecoveryUI::OnKeyDetected, this, std::placeholders::_1));
175 void RecoveryUI::OnTouchDetected(int dx, int dy) {
217 int RecoveryUI::OnInputEvent(int fd, uint32_t epevents) {
340 void RecoveryUI::ProcessKey(int key_code, int updown) {
356 pthread_create(&thread, nullptr, &RecoveryUI::time_key_helper, info);
370 case RecoveryUI::IGNORE:
373 case RecoveryUI::TOGGLE:
377 case RecoveryUI::REBOOT:
386 case RecoveryUI::ENQUEUE:
393 void* RecoveryUI::time_key_helper(void* cookie) {
400 void RecoveryUI::time_key(int key_code, int count) {
411 void RecoveryUI::EnqueueKey(int key_code) {
421 int RecoveryUI::WaitKey() {
483 bool RecoveryUI::IsUsbConnected() {
499 bool RecoveryUI::IsKeyPressed(int key) {
506 bool RecoveryUI::IsLongPress() {
513 bool RecoveryUI::HasThreeButtons() {
517 bool RecoveryUI::HasPowerKey() const {
521 bool RecoveryUI::HasTouchScreen() const {
525 void RecoveryUI::FlushKeys() {
531 RecoveryUI::KeyAction RecoveryUI::CheckKey(int key, bool is_long_press) {
575 void RecoveryUI::KeyLongPress(int) {
578 void RecoveryUI::SetEnableReboot(bool enabled) {