Home
last modified time | relevance | path

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

12

/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardContainer.java64 import android.inputmethodservice.Keyboard;
65 import android.inputmethodservice.Keyboard.Key;
371 private Keyboard mInitialMainKeyboard;
425 private Keyboard mAbcKeyboard;
426 private Keyboard mSymKeyboard;
427 private Keyboard mNumKeyboard;
654 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_en_gb); in initKeyboards()
655 mSymKeyboard = new Keyboard(mContext, R.xml.sym_en_gb); in initKeyboards()
657 mAbcKeyboard = new Keyboard(mContext, R.xml.qwerty_en_in); in initKeyboards()
658 mSymKeyboard = new Keyboard(mContext, R.xml.sym_en_in); in initKeyboards()
[all …]
DLeanbackKeyboardController.java21 import android.inputmethodservice.Keyboard;
22 import android.inputmethodservice.Keyboard.Key;
365 case Keyboard.KEYCODE_MODE_CHANGE: in handleCommitKeyboardKey()
374 case Keyboard.KEYCODE_SHIFT: in handleCommitKeyboardKey()
391 case Keyboard.KEYCODE_DELETE: in handleCommitKeyboardKey()
450 handleCommitKeyboardKey(Keyboard.KEYCODE_DELETE, null); in handleKeyDownEvent()
498 return currKeyCode == Keyboard.KEYCODE_DELETE in isKeyHandledOnKeyDown()
536 if (mContainer.getCurrKeyCode() == Keyboard.KEYCODE_SHIFT) { in handleKeyUpEvent()
543 handleCommitKeyboardKey(Keyboard.KEYCODE_MODE_CHANGE, null); in handleKeyUpEvent()
DLeanbackKeyboardView.java32 import android.inputmethodservice.Keyboard;
33 import android.inputmethodservice.Keyboard.Key;
34 import android.inputmethodservice.Keyboard.Row;
69 private Keyboard mKeyboard;
184 public Keyboard getKeyboard() { in getKeyboard()
245 public void setKeyboard(Keyboard keyboard) { in setKeyboard()
284 if (key.codes[0] == Keyboard.KEYCODE_SHIFT) { in createKeyImageView()
494 Keyboard miniKeyboard = new Keyboard(getContext(), popupResId); in onKeyLongPress()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/
DCarLatinIME.java27 import android.inputmethodservice.Keyboard;
70 private Keyboard mQweKeyboard;
71 private Keyboard mSymbolKeyboard;
214 private Keyboard createKeyboard(String layoutXml) { in createKeyboard()
220 Keyboard ret = new Keyboard( in createKeyboard()
271 case Keyboard.KEYCODE_SHIFT:
274 case Keyboard.KEYCODE_MODE_CHANGE:
281 case Keyboard.KEYCODE_DONE:
285 case Keyboard.KEYCODE_DELETE:
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DMainKeyboardAccessibilityDelegate.java28 import com.android.inputmethod.keyboard.Keyboard;
75 public void setKeyboard(final Keyboard keyboard) { in setKeyboard()
79 final Keyboard lastKeyboard = getKeyboard(); in setKeyboard()
121 private void announceKeyboardLanguage(final Keyboard keyboard) { in announceKeyboardLanguage()
133 private void announceKeyboardMode(final Keyboard keyboard) { in announceKeyboardMode()
150 private void announceKeyboardType(final Keyboard keyboard, final Keyboard lastKeyboard) { in announceKeyboardType()
DKeyboardAccessibilityDelegate.java32 import com.android.inputmethod.keyboard.Keyboard;
52 private Keyboard mKeyboard;
74 public void setKeyboard(final Keyboard keyboard) { in setKeyboard()
84 protected final Keyboard getKeyboard() { in getKeyboard()
DKeyCodeDescriptionMapper.java27 import com.android.inputmethod.keyboard.Keyboard;
92 public String getDescriptionForKey(final Context context, final Keyboard keyboard, in getDescriptionForKey()
149 final Keyboard keyboard) { in getDescriptionForSwitchAlphaSymbol()
187 final Keyboard keyboard) { in getDescriptionForShiftKey()
221 private static String getDescriptionForActionKey(final Context context, final Keyboard keyboard, in getDescriptionForActionKey()
DKeyboardAccessibilityNodeProvider.java32 import com.android.inputmethod.keyboard.Keyboard;
78 private Keyboard mKeyboard;
98 public void setKeyboard(final Keyboard keyboard) { in setKeyboard()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/touchinputconsumer/
DGestureConsumer.java21 import com.android.inputmethod.keyboard.Keyboard;
42 final Locale locale, final Keyboard keyboard) { in newInstance()
53 public void onInit(final Locale locale, final Keyboard keyboard) { in onInit()
56 public void onGestureStarted(final Locale locale, final Keyboard keyboard) { in onGestureStarted()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java28 import com.android.inputmethod.keyboard.Keyboard;
75 private final ConcurrentHashMap<Locale, Keyboard> mKeyboardCache = new ConcurrentHashMap<>();
173 @Nonnull final Keyboard keyboard) { in getSuggestionResults()
214 public Keyboard getKeyboardForLocale(final Locale locale) { in getKeyboardForLocale()
215 Keyboard keyboard = mKeyboardCache.get(locale); in getKeyboardForLocale()
225 private Keyboard createKeyboardForLocale(final Locale locale) { in createKeyboardForLocale()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSet.java86 private static final Keyboard[] sForcibleKeyboardCache = new Keyboard[FORCIBLE_CACHE_SIZE];
87 private static final HashMap<KeyboardId, SoftReference<Keyboard>> sKeyboardCache =
168 public Keyboard getKeyboard(final int baseKeyboardLayoutSetElementId) { in getKeyboard()
212 private Keyboard getKeyboard(final ElementParams elementParams, final KeyboardId id) { in getKeyboard()
213 final SoftReference<Keyboard> ref = sKeyboardCache.get(id); in getKeyboard()
214 final Keyboard cachedKeyboard = (ref == null) ? null : ref.get(); in getKeyboard()
232 final Keyboard keyboard = builder.build(); in getKeyboard()
DKeyDetector.java26 private Keyboard mKeyboard;
49 public void setKeyboard(final Keyboard keyboard, final float correctionX, in setKeyboard()
73 public Keyboard getKeyboard() { in getKeyboard()
DKeyboard.java52 public class Keyboard { class
103 public Keyboard(@Nonnull final KeyboardParams params) { in Keyboard() method in Keyboard
131 protected Keyboard(@Nonnull final Keyboard keyboard) { in Keyboard() method in Keyboard
DMainKeyboardView.java156 private final WeakHashMap<Key, Keyboard> mMoreKeysKeyboardCache = new WeakHashMap<>();
356 final Keyboard keyboard = getKeyboard(); in setAltCodeKeyWhileTypingAnimAlpha()
390 public void setKeyboard(final Keyboard keyboard) { in setKeyboard()
475 final Keyboard keyboard = getKeyboard(); in showKeyPreview()
602 Keyboard moreKeysKeyboard = mMoreKeysKeyboardCache.get(key); in showMoreKeysKeyboard()
764 final Keyboard keyboard = getKeyboard(); in updateShortcutKey()
863 final Keyboard keyboard = getKeyboard(); in drawLanguageOnSpacebar()
DKeyboardView.java105 private Keyboard mKeyboard;
192 public void setKeyboard(@Nonnull final Keyboard keyboard) { in setKeyboard()
207 public Keyboard getKeyboard() { in getKeyboard()
226 final Keyboard keyboard = getKeyboard(); in onMeasure()
282 final Keyboard keyboard = getKeyboard(); in onDrawKeyboard()
391 final Keyboard keyboard = getKeyboard(); in onDrawKeyTopVisuals()
DKeyboardSwitcher.java156 final Keyboard oldKeyboard = keyboardView.getKeyboard(); in setKeyboard()
157 final Keyboard newKeyboard = mKeyboardLayoutSet.getKeyboard(keyboardId); in setKeyboard()
182 public Keyboard getKeyboard() { in getKeyboard()
300 final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(KeyboardId.ELEMENT_ALPHABET); in setEmojiKeyboard()
485 final Keyboard keyboard = getKeyboard(); in getKeyboardShiftMode()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestionsView.java24 import com.android.inputmethod.keyboard.Keyboard;
56 public void setKeyboard(final Keyboard keyboard) { in setKeyboard()
98 final Keyboard keyboard = getKeyboard(); in onKeyInput()
DMoreSuggestions.java25 import com.android.inputmethod.keyboard.Keyboard;
34 public final class MoreSuggestions extends Keyboard {
192 final Keyboard parentKeyboard) { in layout()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java34 import android.inputmethodservice.Keyboard;
35 import android.inputmethodservice.Keyboard.Key;
145 private static final int[] KEY_DELETE = { Keyboard.KEYCODE_DELETE };
154 private Keyboard mKeyboard;
533 public void setKeyboard(Keyboard keyboard, Locale locale) { in setKeyboard()
559 public Keyboard getKeyboard() { in getKeyboard()
686 private void computeProximityThreshold(Keyboard keyboard) { in computeProximityThreshold()
958 mKeyboardActionListener.onKey(Keyboard.KEYCODE_DELETE, KEY_DELETE); in detectAndSendKey()
1166 Keyboard keyboard; in onLongPress()
1168 keyboard = new Keyboard(getContext(), popupKeyboardId, in onLongPress()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggest.java24 import com.android.inputmethod.keyboard.Keyboard;
99 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWords()
153 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWordsForNonBatchInput()
290 final NgramContext ngramContext, final Keyboard keyboard, in getSuggestedWordsForBatchInput()
DDictionaryFacilitator.java23 import com.android.inputmethod.keyboard.Keyboard;
161 final NgramContext ngramContext, @Nonnull final Keyboard keyboard, in getSuggestionResults()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DDynamicGridKeyboard.java24 import com.android.inputmethod.keyboard.Keyboard;
37 final class DynamicGridKeyboard extends Keyboard {
54 public DynamicGridKeyboard(final SharedPreferences prefs, final Keyboard templateKeyboard, in DynamicGridKeyboard()
DEmojiPalettesAdapter.java27 import com.android.inputmethod.keyboard.Keyboard;
115 final Keyboard keyboard = in instantiateItem()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DActionTestsBase.java26 import com.android.inputmethod.keyboard.Keyboard;
82 final Keyboard keyboard = layoutSet.getKeyboard(elementId); in assertActionKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardRow.java24 import com.android.inputmethod.keyboard.Keyboard;
100 R.styleable.Keyboard); in KeyboardRow()

12