if (keyCode <= 0 || keyCode >= KeyEvent.getMaxKeyCode()) return 0; assert ((mKeyMap[keyCode] & 0x000000ff) == keyCode); return (char) (mKeyMap[keyCode] >> SHIFT_FWCH);