/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 …]
|
/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 | 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 | 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 | 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 | 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 | 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;
|
D | TestsIcelandic.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;
|
D | TestsFrenchDvorak.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.customizer.DvorakCustomizer; 24 import com.android.inputmethod.keyboard.layout.customizer.FrenchCustomizer.FrenchEuroCustomizer; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsPolish.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/apps/DocumentsUI/tests/functional/com/android/documentsui/ |
D | KeyboardNavigationUiTest.java | 48 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tab() 50 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tab() 58 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_LEFT); in testKeyboard_arrowsDirList() 62 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testKeyboard_arrowsDirList() 72 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tabFocuses() 74 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_tabFocuses() 78 bots.keyboard.pressKey(KeyEvent.KEYCODE_F); in testKeyboard_tabFocuses() 87 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_arrowsRootsList() 88 bots.keyboard.pressKey(KeyEvent.KEYCODE_TAB); in testKeyboard_arrowsRootsList() 90 bots.keyboard.pressKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testKeyboard_arrowsRootsList() [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/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/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/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()
|