Home
last modified time | relevance | path

Searched refs:keyboard (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboard.java17 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 …]
DMainKeyboardView.java17 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 …]
DKeyboardView.java17 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/
DMainKeyboardAccessibilityDelegate.java26 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 …]
DKeyCodeDescriptionMapper.java26 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/
DLayoutTestsBase.java17 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 …]
DTestsGermanDvorak.java17 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;
DTestsVietnamese.java17 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;
DTestsUkrainian.java17 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;
DTestsSwedishPcQwerty.java17 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;
DTestsDvorakEmail.java17 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;
DTestsDvorakUrl.java17 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;
DTestsTamilIN.java17 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;
DTestsTamilLK.java17 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;
DTestsEnglishIN.java17 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;
DTestsHinglish.java17 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;
DTestsRomanian.java17 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;
DTestsIcelandic.java17 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;
DTestsFrenchDvorak.java17 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;
DTestsPolish.java17 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/
DKeyboardNavigationUiTest.java48 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/
DMoreSuggestionsView.java23 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/
DActionTestsBase.java17 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/
DAndroidSpellCheckerService.java28 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/
DEmojiPageKeyboardView.java17 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()

12345678910>>...15