Lines Matching refs:keyCode
325 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) {
326 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) {
331 if (keyCode == KeyEvent.KEYCODE_ALT_LEFT || keyCode == KeyEvent.KEYCODE_ALT_RIGHT
332 || keyCode == KeyEvent.KEYCODE_NUM) {
337 if (keyCode == KeyEvent.KEYCODE_SYM) {
380 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) {
381 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) {
386 if (keyCode == KeyEvent.KEYCODE_ALT_LEFT || keyCode == KeyEvent.KEYCODE_ALT_RIGHT
387 || keyCode == KeyEvent.KEYCODE_NUM) {
392 if (keyCode == KeyEvent.KEYCODE_SYM) {
541 public static long handleKeyDown(long state, int keyCode, KeyEvent event) {
542 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) {
547 if (keyCode == KeyEvent.KEYCODE_ALT_LEFT || keyCode == KeyEvent.KEYCODE_ALT_RIGHT
548 || keyCode == KeyEvent.KEYCODE_NUM) {
553 if (keyCode == KeyEvent.KEYCODE_SYM) {
579 public static long handleKeyUp(long state, int keyCode, KeyEvent event) {
580 if (keyCode == KeyEvent.KEYCODE_SHIFT_LEFT || keyCode == KeyEvent.KEYCODE_SHIFT_RIGHT) {
585 if (keyCode == KeyEvent.KEYCODE_ALT_LEFT || keyCode == KeyEvent.KEYCODE_ALT_RIGHT
586 || keyCode == KeyEvent.KEYCODE_NUM) {
591 if (keyCode == KeyEvent.KEYCODE_SYM) {