/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Keyboard.java | 17 package com.android.inputmethod.keyboard; 21 import com.android.inputmethod.keyboard.internal.KeyVisualAttributes; 22 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet; 23 import com.android.inputmethod.keyboard.internal.KeyboardParams; 131 protected Keyboard(@Nonnull final Keyboard keyboard) { in Keyboard() argument 132 mId = keyboard.mId; in Keyboard() 133 mThemeId = keyboard.mThemeId; in Keyboard() 134 mOccupiedHeight = keyboard.mOccupiedHeight; in Keyboard() 135 mOccupiedWidth = keyboard.mOccupiedWidth; in Keyboard() 136 mBaseHeight = keyboard.mBaseHeight; in Keyboard() [all …]
|
D | MainKeyboardView.java | 17 package com.android.inputmethod.keyboard; 42 import com.android.inputmethod.keyboard.internal.DrawingPreviewPlacerView; 43 import com.android.inputmethod.keyboard.internal.DrawingProxy; 44 import com.android.inputmethod.keyboard.internal.GestureFloatingTextDrawingPreview; 45 import com.android.inputmethod.keyboard.internal.GestureTrailsDrawingPreview; 46 import com.android.inputmethod.keyboard.internal.KeyDrawParams; 47 import com.android.inputmethod.keyboard.internal.KeyPreviewChoreographer; 48 import com.android.inputmethod.keyboard.internal.KeyPreviewDrawParams; 49 import com.android.inputmethod.keyboard.internal.KeyPreviewView; 50 import com.android.inputmethod.keyboard.internal.MoreKeySpec; [all …]
|
D | KeyboardView.java | 17 package com.android.inputmethod.keyboard; 35 import com.android.inputmethod.keyboard.internal.KeyDrawParams; 36 import com.android.inputmethod.keyboard.internal.KeyVisualAttributes; 192 public void setKeyboard(@Nonnull final Keyboard keyboard) { in setKeyboard() argument 193 mKeyboard = keyboard; in setKeyboard() 194 final int keyHeight = keyboard.mMostCommonKeyHeight - keyboard.mVerticalGap; in setKeyboard() 196 mKeyDrawParams.updateParams(keyHeight, keyboard.mKeyVisualAttributes); in setKeyboard() 226 final Keyboard keyboard = getKeyboard(); in onMeasure() local 227 if (keyboard == null) { in onMeasure() 232 final int width = keyboard.mOccupiedWidth + getPaddingLeft() + getPaddingRight(); in onMeasure() [all …]
|
D | PointerTracker.java | 17 package com.android.inputmethod.keyboard; 25 import com.android.inputmethod.keyboard.internal.BatchInputArbiter; 26 import com.android.inputmethod.keyboard.internal.BatchInputArbiter.BatchInputArbiterListener; 27 import com.android.inputmethod.keyboard.internal.BogusMoveEventDetector; 28 import com.android.inputmethod.keyboard.internal.DrawingProxy; 29 import com.android.inputmethod.keyboard.internal.GestureEnabler; 30 import com.android.inputmethod.keyboard.internal.GestureStrokeDrawingParams; 31 import com.android.inputmethod.keyboard.internal.GestureStrokeDrawingPoints; 32 import com.android.inputmethod.keyboard.internal.GestureStrokeRecognitionParams; 33 import com.android.inputmethod.keyboard.internal.PointerTrackerQueue; [all …]
|
D | MoreKeysKeyboard.java | 17 package com.android.inputmethod.keyboard; 23 import com.android.inputmethod.keyboard.internal.KeyboardBuilder; 24 import com.android.inputmethod.keyboard.internal.KeyboardParams; 25 import com.android.inputmethod.keyboard.internal.MoreKeySpec; 275 public Builder(final Context context, final Key key, final Keyboard keyboard, in Builder() argument 279 load(keyboard.mMoreKeysTemplate, keyboard.mId); in Builder() 283 mParams.mVerticalGap = keyboard.mVerticalGap / 2; in Builder() 304 rowHeight = keyboard.mMostCommonKeyHeight; in Builder() 314 rowHeight, key.getX() + key.getWidth() / 2, keyboard.mId.mWidth, in Builder()
|
D | MoreKeysKeyboardView.java | 17 package com.android.inputmethod.keyboard; 31 import com.android.inputmethod.keyboard.internal.KeyDrawParams; 76 final Keyboard keyboard = getKeyboard(); in onMeasure() local 77 if (keyboard != null) { in onMeasure() 78 final int width = keyboard.mOccupiedWidth + getPaddingLeft() + getPaddingRight(); in onMeasure() 79 final int height = keyboard.mOccupiedHeight + getPaddingTop() + getPaddingBottom(); in onMeasure() 104 public void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument 105 super.setKeyboard(keyboard); in setKeyboard() 107 keyboard, -getPaddingLeft(), -getPaddingTop() + getVerticalCorrection()); in setKeyboard() 115 mAccessibilityDelegate.setKeyboard(keyboard); in setKeyboard()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
D | MainKeyboardAccessibilityDelegate.java | 26 import com.android.inputmethod.keyboard.Key; 27 import com.android.inputmethod.keyboard.KeyDetector; 28 import com.android.inputmethod.keyboard.Keyboard; 29 import com.android.inputmethod.keyboard.KeyboardId; 30 import com.android.inputmethod.keyboard.MainKeyboardView; 31 import com.android.inputmethod.keyboard.PointerTracker; 78 public void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument 79 if (keyboard == null) { in setKeyboard() 83 super.setKeyboard(keyboard); in setKeyboard() 85 mLastKeyboardMode = keyboard.mId.mMode; in setKeyboard() [all …]
|
D | KeyCodeDescriptionMapper.java | 26 import com.android.inputmethod.keyboard.Key; 27 import com.android.inputmethod.keyboard.Keyboard; 28 import com.android.inputmethod.keyboard.KeyboardId; 92 public String getDescriptionForKey(final Context context, final Keyboard keyboard, in getDescriptionForKey() argument 97 final String description = getDescriptionForSwitchAlphaSymbol(context, keyboard); in getDescriptionForKey() 104 return getDescriptionForShiftKey(context, keyboard); in getDescriptionForKey() 110 return getDescriptionForActionKey(context, keyboard, key); in getDescriptionForKey() 149 final Keyboard keyboard) { in getDescriptionForSwitchAlphaSymbol() argument 150 final KeyboardId keyboardId = keyboard.mId; in getDescriptionForSwitchAlphaSymbol() 187 final Keyboard keyboard) { in getDescriptionForShiftKey() argument [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
D | LayoutTestsBase.java | 17 package com.android.inputmethod.keyboard.layout.tests; 22 import com.android.inputmethod.keyboard.Key; 23 import com.android.inputmethod.keyboard.Keyboard; 24 import com.android.inputmethod.keyboard.KeyboardId; 25 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 26 import com.android.inputmethod.keyboard.KeyboardLayoutSetTestsBase; 27 import com.android.inputmethod.keyboard.KeyboardTheme; 28 import com.android.inputmethod.keyboard.layout.LayoutBase; 29 import com.android.inputmethod.keyboard.layout.expected.AbstractLayoutBase; 30 import com.android.inputmethod.keyboard.layout.expected.ActualKeyboardBuilder; [all …]
|
D | TestsGermanDvorak.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.Dvorak; 22 import com.android.inputmethod.keyboard.layout.LayoutBase; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 25 import com.android.inputmethod.keyboard.layout.customizer.DvorakCustomizer; 26 import com.android.inputmethod.keyboard.layout.customizer.GermanCustomizer; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 28 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsVietnamese.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Qwerty; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 25 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsUkrainian.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.EastSlavic; 22 import com.android.inputmethod.keyboard.layout.LayoutBase; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 25 import com.android.inputmethod.keyboard.layout.customizer.EastSlavicCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsSwedishPcQwerty.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.PcQwerty; 23 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 24 import com.android.inputmethod.keyboard.layout.customizer.PcQwertyCustomizer; 25 import com.android.inputmethod.keyboard.layout.customizer.SwedishCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsDvorakEmail.java | 17 package com.android.inputmethod.keyboard.layout.tests; 24 import com.android.inputmethod.keyboard.KeyboardId; 25 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 26 import com.android.inputmethod.keyboard.layout.Dvorak; 27 import com.android.inputmethod.keyboard.layout.LayoutBase; 28 import com.android.inputmethod.keyboard.layout.customizer.DvorakCustomizer.EnglishDvorakCustomizer; 29 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 30 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsDvorakUrl.java | 17 package com.android.inputmethod.keyboard.layout.tests; 24 import com.android.inputmethod.keyboard.KeyboardId; 25 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 26 import com.android.inputmethod.keyboard.layout.Dvorak; 27 import com.android.inputmethod.keyboard.layout.LayoutBase; 28 import com.android.inputmethod.keyboard.layout.customizer.DvorakCustomizer.EnglishDvorakCustomizer; 29 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 30 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsTamilLK.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Symbols; 23 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 24 import com.android.inputmethod.keyboard.layout.Tamil; 25 import com.android.inputmethod.keyboard.layout.customizer.TamilCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsHinglish.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Qwerty; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 25 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsTamilIN.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Symbols; 23 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 24 import com.android.inputmethod.keyboard.layout.Tamil; 25 import com.android.inputmethod.keyboard.layout.customizer.TamilCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsEnglishIN.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Qwerty; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 25 import com.android.inputmethod.keyboard.layout.customizer.EnglishCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsRomanian.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Qwerty; 23 import com.android.inputmethod.keyboard.layout.Symbols; 24 import com.android.inputmethod.keyboard.layout.customizer.LayoutCustomizer; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/ |
D | ActionTestsBase.java | 17 package com.android.inputmethod.keyboard.action; 25 import com.android.inputmethod.keyboard.Key; 26 import com.android.inputmethod.keyboard.Keyboard; 27 import com.android.inputmethod.keyboard.KeyboardId; 28 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 29 import com.android.inputmethod.keyboard.KeyboardLayoutSetTestsBase; 30 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet; 31 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyVisual; 82 final Keyboard keyboard = layoutSet.getKeyboard(elementId); in assertActionKey() local 83 final Key actualKey = keyboard.getKey(Constants.CODE_ENTER); in assertActionKey() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/ |
D | MoreSuggestionsView.java | 23 import com.android.inputmethod.keyboard.Key; 24 import com.android.inputmethod.keyboard.Keyboard; 25 import com.android.inputmethod.keyboard.KeyboardActionListener; 26 import com.android.inputmethod.keyboard.MoreKeysKeyboardView; 56 public void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument 57 super.setKeyboard(keyboard); in setKeyboard() 98 final Keyboard keyboard = getKeyboard(); in onKeyInput() local 99 if (!(keyboard instanceof MoreSuggestions)) { in onKeyInput() 101 + keyboard.getClass().getName()); in onKeyInput() 104 final SuggestedWords suggestedWords = ((MoreSuggestions)keyboard).mSuggestedWords; in onKeyInput()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerService.java | 28 import com.android.inputmethod.keyboard.Keyboard; 29 import com.android.inputmethod.keyboard.KeyboardId; 30 import com.android.inputmethod.keyboard.KeyboardLayoutSet; 173 @Nonnull final Keyboard keyboard) { in getSuggestionResults() argument 181 keyboard, mSettingsValuesForSuggestion, in getSuggestionResults() 215 Keyboard keyboard = mKeyboardCache.get(locale); in getKeyboardForLocale() local 216 if (keyboard == null) { in getKeyboardForLocale() 217 keyboard = createKeyboardForLocale(locale); in getKeyboardForLocale() 218 if (keyboard != null) { in getKeyboardForLocale() 219 mKeyboardCache.put(locale, keyboard); in getKeyboardForLocale() [all …]
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsTable.tmpl | 17 package com.android.inputmethod.keyboard.internal; 25 * This file is generated by tools/make-keyboard-text. The base template file is 26 * tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/ 29 * This file must be updated when any text resources in keyboard layout files have been changed. 30 * These text resources are referred as "!text/<resource_name>" in keyboard XML definitions, 32 * tools/make-keyboard-text/res/values-<locale>/donottranslate-more-keys.xml 36 * $ mmm packages/inputmethods/LatinIME/tools/make-keyboard-text 37 * $ make-keyboard-text -java packages/inputmethods/LatinIME/java 40 * packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
D | EmojiPageKeyboardView.java | 17 package com.android.inputmethod.keyboard.emoji; 28 import com.android.inputmethod.keyboard.Key; 29 import com.android.inputmethod.keyboard.KeyDetector; 30 import com.android.inputmethod.keyboard.Keyboard; 31 import com.android.inputmethod.keyboard.KeyboardView; 81 public void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument 82 super.setKeyboard(keyboard); in setKeyboard() 83 mKeyDetector.setKeyboard(keyboard, 0 /* correctionX */, 0 /* correctionY */); in setKeyboard() 88 mAccessibilityDelegate.setKeyboard(keyboard); in setKeyboard()
|