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.java137 boolean isShifted = isShifted(); // Store the current state before resetting it. in onStartInput()
153 handleShift(isShifted); in onStartInput()
156 handleCharacter(inputConnection, primaryCode, isShifted); in onStartInput()
183 boolean isShifted() { in isShifted() method in SoftInputWindow
184 return mKeyboardView.isShifted(); in isShifted()
188 if (isSymbolKeyboard() && isShifted()) { in resetShift()
194 void handleShift(boolean isShifted) { in handleShift() argument
196 mKeyboardView.setKeyboard(isShifted ? mSymbolKeyboard : mSymbolShiftKeyboard); in handleShift()
198 mKeyboardView.setShifted(!isShifted); in handleShift()
201 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()