/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MainKeyboardAccessibilityDelegate.java | 29 import com.android.inputmethod.keyboard.KeyboardId; 48 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_DATE, R.string.keyboard_mode_date); in KEYBOARD_MODE_RES_IDS.put() 49 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_DATETIME, R.string.keyboard_mode_date_time); in KEYBOARD_MODE_RES_IDS.put() 50 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_EMAIL, R.string.keyboard_mode_email); in KEYBOARD_MODE_RES_IDS.put() 51 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_IM, R.string.keyboard_mode_im); in KEYBOARD_MODE_RES_IDS.put() 52 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_NUMBER, R.string.keyboard_mode_number); in KEYBOARD_MODE_RES_IDS.put() 53 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_PHONE, R.string.keyboard_mode_phone); in KEYBOARD_MODE_RES_IDS.put() 54 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_TEXT, R.string.keyboard_mode_text); in KEYBOARD_MODE_RES_IDS.put() 55 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_TIME, R.string.keyboard_mode_time); in KEYBOARD_MODE_RES_IDS.put() 56 KEYBOARD_MODE_RES_IDS.put(KeyboardId.MODE_URL, R.string.keyboard_mode_url); in KEYBOARD_MODE_RES_IDS.put() [all …]
|
D | KeyCodeDescriptionMapper.java | 28 import com.android.inputmethod.keyboard.KeyboardId; 150 final KeyboardId keyboardId = keyboard.mId; in getDescriptionForSwitchAlphaSymbol() 155 case KeyboardId.ELEMENT_ALPHABET: in getDescriptionForSwitchAlphaSymbol() 156 case KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED: in getDescriptionForSwitchAlphaSymbol() 157 case KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED: in getDescriptionForSwitchAlphaSymbol() 158 case KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED: in getDescriptionForSwitchAlphaSymbol() 159 case KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED: in getDescriptionForSwitchAlphaSymbol() 162 case KeyboardId.ELEMENT_SYMBOLS: in getDescriptionForSwitchAlphaSymbol() 163 case KeyboardId.ELEMENT_SYMBOLS_SHIFTED: in getDescriptionForSwitchAlphaSymbol() 166 case KeyboardId.ELEMENT_PHONE: in getDescriptionForSwitchAlphaSymbol() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSet.java | 87 private static final HashMap<KeyboardId, SoftReference<Keyboard>> sKeyboardCache = 96 public final KeyboardId mKeyboardId; 98 public KeyboardLayoutSetException(final Throwable cause, final KeyboardId keyboardId) { in KeyboardLayoutSetException() 171 case KeyboardId.MODE_PHONE: in getKeyboard() 172 if (baseKeyboardLayoutSetElementId == KeyboardId.ELEMENT_SYMBOLS) { in getKeyboard() 173 keyboardLayoutSetElementId = KeyboardId.ELEMENT_PHONE_SYMBOLS; in getKeyboard() 175 keyboardLayoutSetElementId = KeyboardId.ELEMENT_PHONE; in getKeyboard() 178 case KeyboardId.MODE_NUMBER: in getKeyboard() 179 case KeyboardId.MODE_DATE: in getKeyboard() 180 case KeyboardId.MODE_TIME: in getKeyboard() [all …]
|
D | KeyboardSwitcher.java | 217 setKeyboard(KeyboardId.ELEMENT_ALPHABET, KeyboardSwitchState.OTHER); in setAlphabetKeyboard() 226 setKeyboard(KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED, KeyboardSwitchState.OTHER); in setAlphabetManualShiftedKeyboard() 235 setKeyboard(KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED, KeyboardSwitchState.OTHER); in setAlphabetAutomaticShiftedKeyboard() 244 setKeyboard(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED, KeyboardSwitchState.OTHER); in setAlphabetShiftLockedKeyboard() 253 setKeyboard(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED, KeyboardSwitchState.OTHER); in setAlphabetShiftLockShiftedKeyboard() 262 setKeyboard(KeyboardId.ELEMENT_SYMBOLS, KeyboardSwitchState.OTHER); in setSymbolsKeyboard() 271 setKeyboard(KeyboardId.ELEMENT_SYMBOLS_SHIFTED, KeyboardSwitchState.SYMBOLS_SHIFTED); in setSymbolsShiftedKeyboard() 300 final Keyboard keyboard = mKeyboardLayoutSet.getKeyboard(KeyboardId.ELEMENT_ALPHABET); in setEmojiKeyboard() 314 SYMBOLS_SHIFTED(KeyboardId.ELEMENT_SYMBOLS_SHIFTED), 315 EMOJI(KeyboardId.ELEMENT_EMOJI_RECENTS), [all …]
|
D | KeyboardId.java | 35 public final class KeyboardId { class 88 public KeyboardId(final int elementId, final KeyboardLayoutSet.Params params) { in KeyboardId() method in KeyboardId 105 private static int computeHashCode(final KeyboardId id) { in computeHashCode() 125 private boolean equals(final KeyboardId other) { in equals() 183 return other instanceof KeyboardId && equals((KeyboardId) other); in equals()
|
D | Keyboard.java | 54 public final KeyboardId mId; 163 mId.mElementId == KeyboardId.ELEMENT_ALPHABET in hasProximityCharsCorrection() 164 || mId.mElementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED); in hasProximityCharsCorrection()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiCategory.java | 31 import com.android.inputmethod.keyboard.KeyboardId; 132 KeyboardId.ELEMENT_EMOJI_RECENTS, 133 KeyboardId.ELEMENT_EMOJI_CATEGORY1, 134 KeyboardId.ELEMENT_EMOJI_CATEGORY2, 135 KeyboardId.ELEMENT_EMOJI_CATEGORY3, 136 KeyboardId.ELEMENT_EMOJI_CATEGORY4, 137 KeyboardId.ELEMENT_EMOJI_CATEGORY5, 138 KeyboardId.ELEMENT_EMOJI_CATEGORY6, 139 KeyboardId.ELEMENT_EMOJI_CATEGORY7, 140 KeyboardId.ELEMENT_EMOJI_CATEGORY8, [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/ |
D | Dvorak.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 49 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key() 50 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_1Key() 63 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_2Key() 64 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_2Key() 77 if (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_3Key() 78 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getRow1_3Key() 86 if (elementId == KeyboardId.ELEMENT_SYMBOLS in getLayout() 87 || elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout() 97 if (elementId != KeyboardId.ELEMENT_ALPHABET) { in getLayout()
|
D | LayoutBase.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 139 if (elementId == KeyboardId.ELEMENT_SYMBOLS) { in getLayout() 142 if (elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout() 146 if (elementId == KeyboardId.ELEMENT_ALPHABET) { in getLayout() 157 if (elementId != KeyboardId.ELEMENT_ALPHABET) { in getLayout()
|
D | PcQwerty.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 74 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout() 75 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout() 144 if (elementId == KeyboardId.ELEMENT_SYMBOLS in getLayout() 145 || elementId == KeyboardId.ELEMENT_SYMBOLS_SHIFTED) { in getLayout()
|
D | Colemak.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 48 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout() 49 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
|
D | Azerty.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 49 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED in getCommonAlphabetShiftLayout() 50 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED) { in getCommonAlphabetShiftLayout()
|
D | Greek.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 65 if (elementId == KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED in getCommonAlphabetShiftLayout() 66 || elementId == KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | NepaliRomanized.java | 21 import com.android.inputmethod.keyboard.KeyboardId; 47 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | Sinhala.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 74 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | Georgian.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 67 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | Lao.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 84 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | NepaliTraditional.java | 21 import com.android.inputmethod.keyboard.KeyboardId; 56 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
D | Thai.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 88 if (elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED) { in getCommonAlphabetShiftLayout()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
D | LayoutTestsBase.java | 24 import com.android.inputmethod.keyboard.KeyboardId; 124 doKeyboardTests(KeyboardId.ELEMENT_ALPHABET); in testLayouts() 125 doKeyboardTests(KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED); in testLayouts() 126 doKeyboardTests(KeyboardId.ELEMENT_ALPHABET_MANUAL_SHIFTED); in testLayouts() 127 doKeyboardTests(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCKED); in testLayouts() 128 doKeyboardTests(KeyboardId.ELEMENT_ALPHABET_SHIFT_LOCK_SHIFTED); in testLayouts() 129 doKeyboardTests(KeyboardId.ELEMENT_SYMBOLS); in testLayouts() 130 doKeyboardTests(KeyboardId.ELEMENT_SYMBOLS_SHIFTED); in testLayouts() 140 final String tag = mLogTag + "/" + KeyboardId.elementIdToName(elementId); in doKeyboardTests()
|
D | TestsDvorakEmail.java | 24 import com.android.inputmethod.keyboard.KeyboardId; 86 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key() 87 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
|
D | TestsDvorakUrl.java | 24 import com.android.inputmethod.keyboard.KeyboardId; 82 if (isPhone && (elementId == KeyboardId.ELEMENT_ALPHABET in getRow1_1Key() 83 || elementId == KeyboardId.ELEMENT_ALPHABET_AUTOMATIC_SHIFTED)) { in getRow1_1Key()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | ActionTestsBase.java | 27 import com.android.inputmethod.keyboard.KeyboardId; 101 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_ALPHABET, expectedKey); in doTestActionKey() 102 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS, expectedKey); in doTestActionKey() 103 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_SYMBOLS_SHIFTED, expectedKey); in doTestActionKey() 105 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_PHONE, expectedKey); in doTestActionKey() 106 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_PHONE_SYMBOLS, expectedKey); in doTestActionKey() 108 assertActionKey(tag, layoutSet, KeyboardId.ELEMENT_NUMBER, expectedKey); in doTestActionKey() 113 assertActionKey(tag, passwordSet, KeyboardId.ELEMENT_NUMBER, expectedKey); in doTestActionKey()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/ |
D | KeyboardLayoutSetNavigateMoreKeysBase.java | 289 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey() 292 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey() 295 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey() 298 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_PHONE, in testMoreKeysOfEnterKey() 301 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey() 304 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey() 307 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey() 310 doTestNavigationMoreKeysOf(Constants.CODE_ENTER, subtype, KeyboardId.ELEMENT_NUMBER, in testMoreKeysOfEnterKey() 316 KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey() 321 KeyboardId.ELEMENT_ALPHABET, in testMoreKeysOfEnterKey() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/customizer/ |
D | EstonianEECustomizer.java | 19 import com.android.inputmethod.keyboard.KeyboardId; 70 if (elementId == KeyboardId.ELEMENT_ALPHABET) { in setMoreKeysOfI()
|