Home
last modified time | relevance | path

Searched refs:Keyboard (Results 1 – 6 of 6) sorted by relevance

/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DSoftInputWindow.java21 import android.inputmethodservice.Keyboard;
41 private final Keyboard mQwertygKeyboard;
42 private final Keyboard mSymbolKeyboard;
43 private final Keyboard mSymbolShiftKeyboard;
76 mQwertygKeyboard = new Keyboard(context, R.xml.qwerty); in SoftInputWindow()
77 mSymbolKeyboard = new Keyboard(context, R.xml.symbols); in SoftInputWindow()
78 mSymbolShiftKeyboard = new Keyboard(context, R.xml.symbols_shift); in SoftInputWindow()
107 Keyboard keyboard = mKeyboardView.getKeyboard(); in isSymbolKeyboard()
144 case Keyboard.KEYCODE_CANCEL: in onStartInput()
147 case Keyboard.KEYCODE_DELETE: in onStartInput()
[all …]
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboardView.java20 import android.inputmethodservice.Keyboard;
21 import android.inputmethodservice.Keyboard.Key;
42 if (key.codes[0] == Keyboard.KEYCODE_CANCEL) { in onLongPress()
DLatinKeyboard.java23 import android.inputmethodservice.Keyboard;
27 public class LatinKeyboard extends Keyboard {
72 } else if (key.codes[0] == Keyboard.KEYCODE_MODE_CHANGE) { in createKeyFromXml()
147 static class LatinKey extends Keyboard.Key {
149 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, in LatinKey()
DSoftKeyboard.java22 import android.inputmethodservice.Keyboard;
417 onKey(Keyboard.KEYCODE_DELETE, null); in onKeyDown()
555 } else if (primaryCode == Keyboard.KEYCODE_DELETE) { in onKey()
557 } else if (primaryCode == Keyboard.KEYCODE_SHIFT) { in onKey()
559 } else if (primaryCode == Keyboard.KEYCODE_CANCEL) { in onKey()
567 } else if (primaryCode == Keyboard.KEYCODE_MODE_CHANGE in onKey()
569 Keyboard current = mInputView.getKeyboard(); in onKey()
643 Keyboard currentKeyboard = mInputView.getKeyboard(); in handleShift()
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DKeyboard.java25 final class Keyboard { class
37 private Keyboard(AutofillImeService autofillImeService, int viewResId, in Keyboard() method in Keyboard
61 static Keyboard qwerty(AutofillImeService autofillImeService) { in qwerty()
96 return new Keyboard(autofillImeService, R.layout.keyboard_10_9_9, keyMapping); in qwerty()
DAutofillImeService.java70 private Keyboard mKeyboard;
112 mKeyboard = Keyboard.qwerty(this); in onCreateInputView()