Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DLatinIME.java581 public void onKey(int primaryCode, int[] keyCodes) { in onKey() argument
583 if (primaryCode != Keyboard.KEYCODE_DELETE || in onKey()
588 switch (primaryCode) { in onKey()
615 if (isWordSeparator(primaryCode)) { in onKey()
616 handleSeparator(primaryCode); in onKey()
618 handleCharacter(primaryCode, keyCodes); in onKey()
623 if (mKeyboardSwitcher.onKey(primaryCode)) { in onKey()
686 private void handleCharacter(int primaryCode, int[] keyCodes) { in handleCharacter() argument
687 if (isAlphabet(primaryCode) && isPredictionOn() && !isCursorTouchingWord()) { in handleCharacter()
700 primaryCode = new String(keyCodes, 0, 1).toUpperCase().charAt(0); in handleCharacter()
[all …]
DWordComposer.java83 public void add(int primaryCode, int[] codes) { in add() argument
84 mTypedWord.append((char) primaryCode); in add()
86 if (Character.isUpperCase((char) primaryCode)) mCapsCount++; in add()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DDefaultSoftKeyboardEN.java202 @Override public void onKey(int primaryCode, int[] keyCodes) { in onKey() argument
203 switch (primaryCode) { in onKey()
280 if (primaryCode >= 0) { in onKey()
282 primaryCode = Character.toUpperCase(primaryCode); in onKey()
284 mWnn.onEvent(new OpenWnnEvent(OpenWnnEvent.INPUT_CHAR, (char)primaryCode)); in onKey()
289 if (!mCapsLock && primaryCode != KEYCODE_QWERTY_SHIFT) { in onKey()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DDefaultSoftKeyboardJAJP.java479 @Override public void onKey(int primaryCode, int[] keyCodes) { in onKey() argument
485 switch (primaryCode) { in onKey()
549 mCurrentInstantTable[getTableIndex(primaryCode)])); in onKey()
551 if ((mPrevInputKeyCode != primaryCode)) { in onKey()
554 && (primaryCode == KEYCODE_JP12_SHARP)) { in onKey()
565 int index = getTableIndex(primaryCode); in onKey()
569 mPrevInputKeyCode = primaryCode; in onKey()
577 mCurrentInstantTable[getTableIndex(primaryCode)])); in onKey()
586 mPrevInputKeyCode = primaryCode; in onKey()
669 if (primaryCode >= 0) { in onKey()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DDefaultSoftKeyboard.java702 public void onKey(int primaryCode, int[] keyCodes) { } in onKey() argument