/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
H A D | InputTestsBase.java | 63 protected LatinIME mLatinIME; field in class:InputTestsBase 147 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); 157 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); 186 mLatinIME = getService(); 192 mLatinIME.onCreate(); 200 mLatinIME.onCreateInputMethodInterface().startInput(ic, ei); 201 mLatinIME.setInputView(mInputView); 202 mLatinIME.onBindInput(); 203 mLatinIME.onCreateInputView(); 204 mLatinIME [all...] |
H A D | InputLogicTests.java | 39 mLatinIME.onUpdateSelection(0, 0, WORD_TO_TYPE.length(), WORD_TO_TYPE.length(), -1, -1); 52 mLatinIME.onUpdateSelection(0, 0, WORD_TO_TYPE.length(), WORD_TO_TYPE.length(), -1, -1); 66 mLatinIME.onUpdateSelection(0, 0, WORD_TO_TYPE.length(), WORD_TO_TYPE.length(), -1, -1); 81 mLatinIME.onUpdateSelection(0, 0, WORD_TO_TYPE.length(), WORD_TO_TYPE.length(), -1, -1); 100 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); 103 mLatinIME.onUpdateSelection(typedLength, typedLength, 120 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); 123 mLatinIME.onUpdateSelection(typedLength, typedLength, 155 mLatinIME.onUpdateSelection(0, 0, STRING_TO_TYPE.length(), STRING_TO_TYPE.length(), -1, -1); 165 mLatinIME [all...] |
H A D | PunctuationTests.java | 34 mLatinIME.getResources().getBoolean(R.bool.config_default_next_word_prediction); 39 mLatinIME.loadSettings(); 44 mLatinIME.getSuggestedWordsForTest().isPunctuationSuggestions()); 127 mLatinIME.onTextInput(SPECIAL_KEY); 138 mLatinIME.onTextInput(SPECIAL_KEY); 148 mLatinIME.onTextInput(SPECIAL_KEY); 159 + " ; Suggestions = " + mLatinIME.getSuggestedWordsForTest(), 169 + " ; Suggestions = " + mLatinIME.getSuggestedWordsForTest(),
|
H A D | InputLogicTestsLanguageWithoutSpaces.java | 73 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); 75 mLatinIME.onUpdateSelection(typedLength, typedLength, 100 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
|
H A D | BlueUnderlineTests.java | 72 mLatinIME.onUpdateSelection(0, 0, typedLength + 1, typedLength + 1, -1, -1); 98 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); 104 mLatinIME.onUpdateSelection(typedLength, typedLength, 118 mLatinIME.onUpdateSelection(0, 0, STRING_TO_TYPE.length(), STRING_TO_TYPE.length(), -1, -1);
|
H A D | InputLogicTestsNonEnglish.java | 64 mLatinIME.getResources().getBoolean(R.bool.config_default_next_word_prediction); 74 mLatinIME.getSuggestedWordsForTest().isPunctuationSuggestions()); 89 mLatinIME.getResources().getBoolean(R.bool.config_default_next_word_prediction); 98 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest();
|
H A D | InputLogicTestsReorderingMyanmar.java | 217 mLatinIME.onTextInput(new String(input, 0, input.length)); 233 mLatinIME.onUpdateSelection(1, 1, 0, 0, -1, -1);
|
H A D | ShiftModeTests.java | 38 return mLatinIME.mKeyboardSwitcher.getKeyboardShiftMode()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
H A D | InputLogicHandler.java | 36 final LatinIME mLatinIME; field in class:InputLogicHandler 67 mLatinIME = null; 76 mLatinIME = latinIME; 99 mLatinIME.getSuggestedWords(msg.arg1 /* inputStyle */, 151 mLatinIME.mHandler.showGesturePreviewAndSuggestionStrip(suggestedWords, 157 mLatinIME.mHandler.showTailBatchInputResult(suggestedWords);
|
H A D | InputLogic.java | 78 private final LatinIME mLatinIME; field in class:InputLogic 95 mLatinIME.addWordToUserDictionary(word); 96 mLatinIME.dismissAddToDictionaryHint(); 128 mLatinIME = latinIME; 159 mInputLogicHandler = new InputLogicHandler(mLatinIME, this); 425 mLatinIME.mHandler.postResumeSuggestions(false /* shouldIncludeResumedWordInSuggestions */, 1158 mLatinIME.switchToNextSubtype(); 1435 mLatinIME.mHandler.postUpdateSuggestionStrip(SuggestedWords.INPUT_STYLE_RECORRECTION); 1443 mLatinIME.setNeutralSuggestionStrip(); 1489 mLatinIME [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
H A D | KeyboardSwitcher.java | 55 private LatinIME mLatinIME; field in class:KeyboardSwitcher 83 mLatinIME = latinIme; 88 InputMethodServiceCompatUtils.enableHardwareAcceleration(mLatinIME); 93 mLatinIME, KeyboardTheme.getKeyboardTheme(mPrefs)); 95 mLatinIME.setInputView(onCreateInputView(mIsHardwareAcceleratedDrawingEnabled)); 120 builder.setLanguageSwitchKeyEnabled(mLatinIME.shouldShowLanguageSwitchKey()); 259 mLatinIME.startShowingInputView(); 262 mLatinIME.stopShowingInputView(); 350 mLatinIME, KeyboardTheme.getKeyboardTheme(mPrefs)); 359 mKeyboardView.setKeyboardActionListener(mLatinIME); [all...] |