Lines Matching refs:keyEvent
40 import android.view.KeyEvent;
83 protected void onKeyEvent(KeyEvent keyEvent) {
84 Log.i(TAG, "onKeyEvent, keyEvent: " + keyEvent + ", listener: " + mListener);
86 mListener.onKeyEvent(keyEvent);
152 void onKeyEvent(KeyEvent event);
167 KeyEvent event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_DOWN);
171 event = obtainKeyEvent(keyCode, downTime, eventTime, KeyEvent.ACTION_UP);
175 private KeyEvent obtainKeyEvent(int keyCode, long downTime, long eventTime, int action) {
177 if (keyCode == KeyEvent.KEYCODE_DPAD_DOWN) {
179 } else if (keyCode == KeyEvent.KEYCODE_DPAD_RIGHT) {
182 return KeyEvent.obtain(
191 KeyEvent.FLAG_FROM_SYSTEM /* flags */,