Lines Matching defs:keyChar
278 int keyChar = 0;
280 keyChar = keyCode - KeyEvent.KEYCODE_A + 'a';
283 keyChar = keyCode - KeyEvent.KEYCODE_0 + '0';
285 keyChar = ',';
287 keyChar = '.';
289 keyChar = ' ';
291 keyChar = '\'';
301 return processStateIdle(keyChar, keyCode, event, realAction);
303 return processStateInput(keyChar, keyCode, event, realAction);
305 return processStatePredict(keyChar, keyCode, event, realAction);
307 return processStateEditComposing(keyChar, keyCode, event,
311 if (0 != keyChar && realAction) {
312 commitResultText(String.valueOf((char) keyChar));
397 private boolean processStateIdle(int keyChar, int keyCode, KeyEvent event,
401 if (keyChar >= 'a' && keyChar <= 'z' && !event.isAltPressed()) {
403 mDecInfo.addSplChar((char) keyChar, true);
437 } else if (keyChar != 0 && keyChar != '\t') {
439 if (keyChar == ',' || keyChar == '.') {
440 inputCommaPeriod("", keyChar, false, ImeState.STATE_IDLE);
442 if (0 != keyChar) {
443 String result = String.valueOf((char) keyChar);
453 private boolean processStateInput(int keyChar, int keyCode, KeyEvent event,
472 keyChar = '\'';
476 if (keyChar >= 'a' && keyChar <= 'z' || keyChar == '\''
480 return processSurfaceChange(keyChar, keyCode);
481 } else if (keyChar == ',' || keyChar == '.') {
484 .getActiveCandiatePos()), keyChar, true,
550 private boolean processStatePredict(int keyChar, int keyCode,
568 if (keyChar >= 'a' && keyChar <= 'z') {
570 mDecInfo.addSplChar((char) keyChar, true);
572 } else if (keyChar == ',' || keyChar == '.') {
573 inputCommaPeriod("", keyChar, true, ImeState.STATE_IDLE);
617 private boolean processStateEditComposing(int keyChar, int keyCode,
643 keyChar = '\'';
689 return processSurfaceChange(keyChar, keyCode);
737 private boolean processSurfaceChange(int keyChar, int keyCode) {
742 if ((keyChar >= 'a' && keyChar <= 'z')
743 || (keyChar == '\'' && !mDecInfo.charBeforeCursorIsSeparator())
744 || (((keyChar >= '0' && keyChar <= '9') || keyChar == ' ') && ImeState.STATE_COMPOSING == mImeState)) {
745 mDecInfo.addSplChar((char) keyChar, false);
800 private void inputCommaPeriod(String preEdit, int keyChar,
802 if (keyChar == ',')
804 else if (keyChar == '.')