Home
last modified time | relevance | path

Searched refs:mLastKeycode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/hdmi/
DSendKeyAction.java64 private int mLastKeycode; field in SendKeyAction
80 mLastKeycode = keycode; in SendKeyAction()
85 sendKeyDown(mLastKeycode); in start()
88 if (!HdmiCecKeycode.isRepeatableKey(mLastKeycode)) { in start()
116 if (keycode != mLastKeycode) { in processKeyEvent()
135 mLastKeycode = keycode; in processKeyEvent()
139 if (keycode == mLastKeycode) { in processKeyEvent()
191 sendKeyDown(mLastKeycode); in handleTimerEvent()
DHdmiCecLocalDevice.java66 protected int mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; field in HdmiCecLocalDevice
541 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
542 if (keycode == mLastKeycode) { in handleUserControlPressed()
545 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlPressed()
548 mLastKeycode = keycode; in handleUserControlPressed()
566 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlReleased()
568 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlReleased()
569 mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; in handleUserControlReleased()