Home
last modified time | relevance | path

Searched refs:isShifted (Results 1 – 2 of 2) sorted by relevance

/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DSoftInputWindow.java141 boolean isShifted = isShifted(); // Store the current state before resetting it. in onStartInput()
157 handleShift(isShifted); in onStartInput()
160 handleCharacter(inputConnection, primaryCode, isShifted); in onStartInput()
187 boolean isShifted() { in isShifted() method in SoftInputWindow
188 return mKeyboardView.isShifted(); in isShifted()
192 if (isSymbolKeyboard() && isShifted()) { in resetShift()
198 void handleShift(boolean isShifted) { in handleShift() argument
200 mKeyboardView.setKeyboard(isShifted ? mSymbolKeyboard : mSymbolShiftKeyboard); in handleShift()
202 mKeyboardView.setShifted(!isShifted); in handleShift()
205 void handleCharacter(InputConnection inputConnection, int primaryCode, boolean isShifted) { in handleCharacter() argument
[all …]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java636 mInputView.setShifted(mCapsLock || !mInputView.isShifted()); in handleShift()
650 if (mInputView.isShifted()) { in handleCharacter()