Home
last modified time | relevance | path

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

/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DInputTestsBase.java76 protected LatinIME mLatinIME; field in InputTestsBase
209 mLatinIME = getService(); in setUp()
215 mLatinIME.onCreate(); in setUp()
225 mLatinIME.onBindInput(); in setUp()
226 mLatinIME.onCreateInputView(); in setUp()
239 mLatinIME.onFinishInputView(true); in tearDown()
240 mLatinIME.onFinishInput(); in tearDown()
248 mLatinIME.recycle(); in tearDown()
250 mLatinIME = null; in tearDown()
298 mLatinIME.onEvent(event); in typeInternal()
[all …]
H A 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 …]
H A 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()
H A 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()
H A 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()
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()
546 mLatinIME.clearPersonalizedDictionariesForTest(); in testPredictionsAfterPeriod()
[all …]
H A 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()
H A 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()
H A DShiftModeTests.java36 return mLatinIME.mKeyboardSwitcher.getKeyboardShiftMode() in isCapsModeAutoShifted()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
H A 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()
H A 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()
1551 mLatinIME.setNeutralSuggestionStrip(); in restartSuggestionsOnWordTouchedByCursor()
1590 mLatinIME.getCoordinatesForCurrentKeyboard(codePoints)); in restartSuggestionsOnWordTouchedByCursor()
1623 mLatinIME.mHandler.showSuggestionStrip(suggestedWords); in doShowSuggestionsAndClearAutoCorrectionIndicator()
1784 return mLatinIME.getCurrentInputEditorInfo(); in getCurrentInputEditorInfo()
1867 mLatinIME.displaySettingsDialog(); in onSettingsKeyPressed()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardSwitcher.java58 private LatinIME mLatinIME; field in KeyboardSwitcher
86 mLatinIME = latinIme; in initInternal()
90 InputMethodServiceCompatUtils.enableHardwareAcceleration(mLatinIME); in initInternal()
97 mLatinIME.setInputView( in updateKeyboardTheme()
124 builder.setLanguageSwitchKeyEnabled(mLatinIME.shouldShowLanguageSwitchKey()); in loadKeyboard()
345 mLatinIME.stopShowingInputView(); in onToggleKeyboard()
346 mLatinIME.hideWindow(); in onToggleKeyboard()
349 mLatinIME.startShowingInputView(true); in onToggleKeyboard()
477 mKeyboardView.setKeyboardActionListener(mLatinIME); in onCreateInputView()
480 mEmojiPalettesView.setKeyboardActionListener(mLatinIME); in onCreateInputView()