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.java65 private int mLastKeycode; field in SendKeyAction
81 mLastKeycode = keycode; in SendKeyAction()
86 sendKeyDown(mLastKeycode); in start()
89 if (!HdmiCecKeycode.isRepeatableKey(mLastKeycode)) { in start()
117 if (keycode != mLastKeycode) { in processKeyEvent()
136 mLastKeycode = keycode; in processKeyEvent()
140 if (keycode == mLastKeycode) { in processKeyEvent()
179 if (HdmiCecKeycode.isVolumeKeycode(mLastKeycode) in sendKeyUp()
205 sendKeyDown(mLastKeycode); in handleTimerEvent()
DHdmiCecLocalDevice.java73 protected int mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; field in HdmiCecLocalDevice
773 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlPressed()
774 if (keycode == mLastKeycode) { in handleUserControlPressed()
777 injectKeyEvent(downTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlPressed()
780 mLastKeycode = keycode; in handleUserControlPressed()
818 if (mLastKeycode != HdmiCecKeycode.UNSUPPORTED_KEYCODE) { in handleUserControlReleased()
820 injectKeyEvent(upTime, KeyEvent.ACTION_UP, mLastKeycode, 0); in handleUserControlReleased()
821 mLastKeycode = HdmiCecKeycode.UNSUPPORTED_KEYCODE; in handleUserControlReleased()