Home
last modified time | relevance | path

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

12345678910>>...13

/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;
118 protected Keyboard(final Keyboard keyboard) { in Keyboard() argument
119 mId = keyboard.mId; in Keyboard()
120 mThemeId = keyboard.mThemeId; in Keyboard()
121 mOccupiedHeight = keyboard.mOccupiedHeight; in Keyboard()
122 mOccupiedWidth = keyboard.mOccupiedWidth; in Keyboard()
123 mBaseHeight = keyboard.mBaseHeight; in Keyboard()
[all …]
DMainKeyboardView.java17 package com.android.inputmethod.keyboard;
42 import com.android.inputmethod.keyboard.internal.DrawingHandler;
43 import com.android.inputmethod.keyboard.internal.DrawingPreviewPlacerView;
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.LanguageOnSpacebarHelper;
[all …]
DKeyboardSwitcher.java17 package com.android.inputmethod.keyboard;
30 import com.android.inputmethod.keyboard.KeyboardLayoutSet.KeyboardLayoutSetException;
31 import com.android.inputmethod.keyboard.emoji.EmojiPalettesView;
32 import com.android.inputmethod.keyboard.internal.KeyboardState;
33 import com.android.inputmethod.keyboard.internal.KeyboardTextsSet;
143 private void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument
150 keyboardView.setKeyboard(keyboard); in setKeyboard()
151 mCurrentInputView.setKeyboardTopPadding(keyboard.mTopPadding); in setKeyboard()
165 || !keyboard.mId.mLocale.equals(oldKeyboard.mId.mLocale); in setKeyboard()
167 keyboard.mId.mSubtype); in setKeyboard()
[all …]
DPointerTracker.java17 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.GestureEnabler;
29 import com.android.inputmethod.keyboard.internal.GestureStrokeDrawingParams;
30 import com.android.inputmethod.keyboard.internal.GestureStrokeDrawingPoints;
31 import com.android.inputmethod.keyboard.internal.GestureStrokeRecognitionParams;
32 import com.android.inputmethod.keyboard.internal.PointerTrackerQueue;
33 import com.android.inputmethod.keyboard.internal.TypingTimeRecorder;
[all …]
DMoreKeysKeyboard.java17 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;
273 public Builder(final Context context, final Key key, final Keyboard keyboard, in Builder() argument
277 load(keyboard.mMoreKeysTemplate, keyboard.mId); in Builder()
281 mParams.mVerticalGap = keyboard.mVerticalGap / 2; in Builder()
302 rowHeight = keyboard.mMostCommonKeyHeight; in Builder()
312 rowHeight, key.getX() + key.getWidth() / 2, keyboard.mId.mWidth, in Builder()
DMoreKeysKeyboardView.java17 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/
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;
90 public String getDescriptionForKey(final Context context, final Keyboard keyboard, in getDescriptionForKey() argument
95 final String description = getDescriptionForSwitchAlphaSymbol(context, keyboard); in getDescriptionForKey()
102 return getDescriptionForShiftKey(context, keyboard); in getDescriptionForKey()
108 return getDescriptionForActionKey(context, keyboard, key); in getDescriptionForKey()
145 final Keyboard keyboard) { in getDescriptionForSwitchAlphaSymbol() argument
146 final KeyboardId keyboardId = keyboard.mId; in getDescriptionForSwitchAlphaSymbol()
183 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 …]
DTestsVietnamese.java17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer;
23 import com.android.inputmethod.keyboard.layout.Qwerty;
24 import com.android.inputmethod.keyboard.layout.Symbols;
25 import com.android.inputmethod.keyboard.layout.SymbolsShifted;
26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
DTestsGermanDvorak.java17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.Dvorak;
22 import com.android.inputmethod.keyboard.layout.Dvorak.DvorakCustomizer;
23 import com.android.inputmethod.keyboard.layout.LayoutBase;
24 import com.android.inputmethod.keyboard.layout.Symbols;
25 import com.android.inputmethod.keyboard.layout.SymbolsShifted;
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.EastSlavic.EastSlavicCustomizer;
23 import com.android.inputmethod.keyboard.layout.LayoutBase;
24 import com.android.inputmethod.keyboard.layout.Symbols;
25 import com.android.inputmethod.keyboard.layout.SymbolsShifted;
26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
DSpanishCustomizer.java17 package com.android.inputmethod.keyboard.layout.tests;
19 import com.android.inputmethod.keyboard.layout.LayoutBase;
20 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer;
21 import com.android.inputmethod.keyboard.layout.Spanish;
22 import com.android.inputmethod.keyboard.layout.expected.AbstractLayoutBase;
23 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
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.Tamil.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.Tamil.TamilCustomizer;
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.LayoutBase.LayoutCustomizer;
23 import com.android.inputmethod.keyboard.layout.Qwerty;
24 import com.android.inputmethod.keyboard.layout.Symbols;
25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
DTestsDutch.java17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.EuroCustomizer;
23 import com.android.inputmethod.keyboard.layout.Qwerty;
24 import com.android.inputmethod.keyboard.layout.Symbols;
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.LayoutBase.LayoutCustomizer;
23 import com.android.inputmethod.keyboard.layout.Qwerty;
24 import com.android.inputmethod.keyboard.layout.Symbols;
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.Dvorak.DvorakCustomizer;
23 import com.android.inputmethod.keyboard.layout.LayoutBase;
24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
26 import com.android.inputmethod.keyboard.layout.tests.TestsFrench.FrenchEuroCustomizer;
DTestsIcelandic.java17 package com.android.inputmethod.keyboard.layout.tests;
21 import com.android.inputmethod.keyboard.layout.LayoutBase;
22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer;
23 import com.android.inputmethod.keyboard.layout.Qwerty;
24 import com.android.inputmethod.keyboard.layout.Symbols;
25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
/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;
54 public void setKeyboard(final Keyboard keyboard) { in setKeyboard() argument
55 super.setKeyboard(keyboard); in setKeyboard()
90 final Keyboard keyboard = getKeyboard(); in onKeyInput() local
91 if (!(keyboard instanceof MoreSuggestions)) { in onKeyInput()
93 + keyboard.getClass().getName()); in onKeyInput()
96 final SuggestedWords suggestedWords = ((MoreSuggestions)keyboard).mSuggestedWords; in onKeyInput()
/packages/inputmethods/LatinIME/tools/make-keyboard-text/res/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsTable.tmpl17 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/
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()
DEmojiCategory.java17 package com.android.inputmethod.keyboard.emoji;
28 import com.android.inputmethod.keyboard.Key;
29 import com.android.inputmethod.keyboard.Keyboard;
30 import com.android.inputmethod.keyboard.KeyboardId;
31 import com.android.inputmethod.keyboard.KeyboardLayoutSet;
243 final Keyboard keyboard = mLayoutSet.getKeyboard(sCategoryElementId[categoryId]); in getCategoryPageCount() local
244 return (keyboard.getSortedKeys().size() - 1) / mMaxPageKeyCount + 1; in getCategoryPageCount()
292 final Keyboard keyboard = mLayoutSet.getKeyboard(sCategoryElementId[categoryId]); in getKeyboard() local
294 keyboard.getSortedKeys(), mMaxPageKeyCount); in getKeyboard()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerService.java31 import com.android.inputmethod.keyboard.Keyboard;
32 import com.android.inputmethod.keyboard.KeyboardId;
33 import com.android.inputmethod.keyboard.KeyboardLayoutSet;
34 import com.android.inputmethod.keyboard.ProximityInfo;
312 Keyboard keyboard = mKeyboardCache.get(locale); in getKeyboardForLocale() local
313 if (keyboard == null) { in getKeyboardForLocale()
314 keyboard = createKeyboardForLocale(locale); in getKeyboardForLocale()
315 if (keyboard != null) { in getKeyboardForLocale()
316 mKeyboardCache.put(locale, keyboard); in getKeyboardForLocale()
319 return keyboard; in getKeyboardForLocale()

12345678910>>...13