Home
last modified time | relevance | path

Searched refs:mLatinIME (Results 1 – 11 of 11) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DInputTestsBase.java76 protected LatinIME mLatinIME; field in InputTestsBase
161 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); in setBooleanPreference()
170 return PreferenceManager.getDefaultSharedPreferences(mLatinIME) in getBooleanPreference()
176 final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(mLatinIME); in setStringPreference()
209 mLatinIME = getService(); in setUp()
215 mLatinIME.onCreate(); in setUp()
223 mLatinIME.onCreateInputMethodInterface().startInput(ic, ei); in setUp()
224 mLatinIME.setInputView(mInputView); in setUp()
225 mLatinIME.onBindInput(); in setUp()
226 mLatinIME.onCreateInputView(); in setUp()
[all …]
DInputLogicTestsDeadKeys.java59 mLatinIME.onEvent(event); in testDeadCircumflexSimple()
73 mLatinIME.onEvent(event); in testDeadCircumflexBackspace()
85 mLatinIME.onEvent(event); in testDeadCircumflexFeedback()
103 mLatinIME.onEvent(event); in testDeadDiaeresisSpace()
118 mLatinIME.onEvent(event); in testDeadAcuteLetterBackspace()
121 mLatinIME.onEvent(Event.createSoftwareKeypressEvent(Event.NOT_A_CODE_POINT, in testDeadAcuteLetterBackspace()
137 mLatinIME.onEvent(event); in testFinnishStroke()
160 mLatinIME.onEvent(event); in testDoubleDeadOgonek()
176 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresis()
193 mLatinIME.onEvent(event); in testDeadCircumflexDeadDiaeresisBackspace()
[all …]
DInputLogicTests.java119 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelection()
122 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelection()
140 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testDeleteSelectionTwice()
143 mLatinIME.onUpdateSelection(typedLength, typedLength, in testDeleteSelectionTwice()
282 mLatinIME.loadSettings(); in testDoubleSpacePeriodWithSettings()
510 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); in testPredictionsAfterSpace()
516 mLatinIME.clearPersonalizedDictionariesForTest(); in testPredictionsWithDoubleSpaceToPeriod()
526 SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); in testPredictionsWithDoubleSpaceToPeriod()
527 suggestedWords = mLatinIME.getSuggestedWordsForTest(); in testPredictionsWithDoubleSpaceToPeriod()
529 mLatinIME.getSuggestedWordsForTest().getWord(0)); in testPredictionsWithDoubleSpaceToPeriod()
[all …]
DPunctuationTests.java34 mLatinIME.getResources().getBoolean(R.bool.config_default_next_word_prediction); in testWordThenSpaceThenPunctuationFromStripTwice()
39 mLatinIME.loadSettings(); in testWordThenSpaceThenPunctuationFromStripTwice()
44 mLatinIME.getSuggestedWordsForTest().isPunctuationSuggestions()); in testWordThenSpaceThenPunctuationFromStripTwice()
127 mLatinIME.onTextInput(SPECIAL_KEY); in testManuallyPickedWordThenSmiley()
138 mLatinIME.onTextInput(SPECIAL_KEY); in testManuallyPickedWordThenDotCom()
148 mLatinIME.onTextInput(SPECIAL_KEY); in testTypeWordTypeDotThenPressDotCom()
159 + " ; Suggestions = " + mLatinIME.getSuggestedWordsForTest(), in testAutoCorrectionWithSingleQuoteInside()
169 + " ; Suggestions = " + mLatinIME.getSuggestedWordsForTest(), in testAutoCorrectionWithSingleQuotesAround()
DInputLogicTestsLanguageWithoutSpaces.java75 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testStartComposingInsideText()
77 mLatinIME.onUpdateSelection(typedLength, typedLength, in testStartComposingInsideText()
98 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, 0, typedLength); in testMovingCursorInsideWordAndType()
102 mLatinIME.onUpdateSelection(typedLength, typedLength, in testMovingCursorInsideWordAndType()
130 final SuggestedWords suggestedWords = mLatinIME.getSuggestedWordsForTest(); in testPredictions()
DLatinImeTests.java24 mLatinIME.mHandler.onFinishInputView(true); in testDeferredDeallocation_doesntHappenBeforeTimeout()
29 ((LatinIMEForTests)mLatinIME).getDeallocateMemoryWasPerformed()); in testDeferredDeallocation_doesntHappenBeforeTimeout()
33 mLatinIME.mHandler.onFinishInputView(true); in testDeferredDeallocation_doesHappenAfterTimeout()
38 ((LatinIMEForTests)mLatinIME).getDeallocateMemoryWasPerformed()); in testDeferredDeallocation_doesHappenAfterTimeout()
DBlueUnderlineTests.java73 mLatinIME.onUpdateSelection(0, 0, typedLength + 1, typedLength + 1, -1, -1); in testBlueUnderlineOnBackspace()
99 mLatinIME.onUpdateSelection(0, 0, typedLength, typedLength, -1, -1); in testBlueUnderlineDisappearsWhenCursorMoved()
105 mLatinIME.onUpdateSelection(typedLength, typedLength, in testBlueUnderlineDisappearsWhenCursorMoved()
119 mLatinIME.onUpdateSelection(0, 0, STRING_TO_TYPE.length(), STRING_TO_TYPE.length(), -1, -1); in testComposingStopsOnSpace()
DShiftModeTests.java36 return mLatinIME.mKeyboardSwitcher.getKeyboardShiftMode() in isCapsModeAutoShifted()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardSwitcher.java56 private LatinIME mLatinIME; field in KeyboardSwitcher
84 mLatinIME = latinIme; in initInternal()
88 InputMethodServiceCompatUtils.enableHardwareAcceleration(mLatinIME); in initInternal()
93 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */)); in updateKeyboardTheme()
95 mLatinIME.setInputView(onCreateInputView(mIsHardwareAcceleratedDrawingEnabled)); in updateKeyboardTheme()
120 builder.setLanguageSwitchKeyEnabled(mLatinIME.shouldShowLanguageSwitchKey()); in loadKeyboard()
341 mLatinIME.stopShowingInputView(); in onToggleKeyboard()
342 mLatinIME.hideWindow(); in onToggleKeyboard()
345 mLatinIME.startShowingInputView(true); in onToggleKeyboard()
463 mLatinIME, KeyboardTheme.getKeyboardTheme(mLatinIME /* context */)); in onCreateInputView()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogicHandler.java35 final LatinIME mLatinIME; field in InputLogicHandler
66 mLatinIME = null; in InputLogicHandler()
75 mLatinIME = latinIME; in InputLogicHandler()
98 mLatinIME.getSuggestedWords(msg.arg1 /* inputStyle */, in handleMessage()
161 mLatinIME.mHandler.showGesturePreviewAndSuggestionStrip(suggestedWordsToShowSuggestions, in showGestureSuggestionsWithPreviewVisuals()
167 mLatinIME.mHandler.showTailBatchInputResult(suggestedWordsToShowSuggestions); in showGestureSuggestionsWithPreviewVisuals()
DInputLogic.java76 final LatinIME mLatinIME; field in InputLogic
122 mLatinIME = latinIME; in InputLogic()
162 mInputLogicHandler = new InputLogicHandler(mLatinIME, this); in startInput()
417 mLatinIME.mHandler.postResumeSuggestions(true /* shouldDelay */); in onUpdateSelection()
1242 mLatinIME.switchToNextSubtype(); in handleLanguageSwitchKey()
1543 mLatinIME.mHandler.postUpdateSuggestionStrip(SuggestedWords.INPUT_STYLE_RECORRECTION); in restartSuggestionsOnWordTouchedByCursor()
1551 mLatinIME.setNeutralSuggestionStrip(); in restartSuggestionsOnWordTouchedByCursor()
1590 mLatinIME.getCoordinatesForCurrentKeyboard(codePoints)); in restartSuggestionsOnWordTouchedByCursor()
1623 mLatinIME.mHandler.showSuggestionStrip(suggestedWords); in doShowSuggestionsAndClearAutoCorrectionIndicator()
1698 textToCommit.setSpan(new SuggestionSpan(mLatinIME /* context */, in revertCommit()
[all …]