Home
last modified time | relevance | path

Searched refs:keyEvent (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Calculator/src/com/android/calculator2/
DEventListener.java77 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument
78 int action = keyEvent.getAction(); in onKey()
93 if (keyEvent.getUnicodeChar() == '=') { in onKey()
104 if (keyEvent.isPrintingKey() && action == KeyEvent.ACTION_UP) { in onKey()
DCalculator.java236 public boolean onKeyDown(int keyCode, KeyEvent keyEvent) { in onKeyDown() argument
242 return super.onKeyDown(keyCode, keyEvent); in onKeyDown()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnEN.java411 onKeyUpEvent(ev.keyEvent); in onEvent()
467 KeyEvent keyEvent = ev.keyEvent; in onEvent() local
469 if (keyEvent != null) { in onEvent()
470 keyCode = keyEvent.getKeyCode(); in onEvent()
474 mInputConnection.sendKeyEvent(keyEvent); in onEvent()
476 keyEvent.getKeyCode())); in onEvent()
505 keyCode = ev.keyEvent.getKeyCode(); in onEvent()
510 if (ev.keyEvent.getRepeatCount() == 0) { in onEvent()
519 if (ev.keyEvent.getRepeatCount() == 0) { in onEvent()
529 ret = processKeyEvent(ev.keyEvent); in onEvent()
[all …]
DOpenWnnJAJP.java701 onKeyUpEvent(ev.keyEvent); in onEvent()
705 return onKeyLongPressEvent(ev.keyEvent); in onEvent()
807 KeyEvent keyEvent = ev.keyEvent; in onEvent() local
809 if (keyEvent != null) { in onEvent()
810 keyCode = keyEvent.getKeyCode(); in onEvent()
820 mInputConnection.sendKeyEvent(keyEvent); in onEvent()
822 keyEvent.getKeyCode())); in onEvent()
838 …if (keyEvent != null && keyEvent.isPrintingKey() && isTenKeyCode(keyCode) && !keyEvent.isNumLockOn… in onEvent()
884 if (keyEvent != null) { in onEvent()
885 if (keyEvent.isShiftPressed()) { in onEvent()
[all …]
DOpenWnnEvent.java271 public KeyEvent keyEvent = null; field in OpenWnnEvent
353 this.keyEvent = ev; in OpenWnnEvent()
363 this.keyEvent = ev; in OpenWnnEvent()