Searched refs:mSpacingAndPunctuations (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | RichInputConnectionAndTextRangeTests.java | 58 private SpacingAndPunctuations mSpacingAndPunctuations; field in RichInputConnectionAndTextRangeTests 69 mSpacingAndPunctuations = job.runInLocale(res, Locale.ENGLISH); in setUp() 172 "abc def", mSpacingAndPunctuations, 2).getNthPrevWord(1), "abc"); in testGetPreviousWord() 174 "abc", mSpacingAndPunctuations, 2), NgramContext.BEGINNING_OF_SENTENCE); in testGetPreviousWord() 176 "abc. def", mSpacingAndPunctuations, 2), NgramContext.BEGINNING_OF_SENTENCE); in testGetPreviousWord() 179 "abc def", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext()); in testGetPreviousWord() 181 "abc", mSpacingAndPunctuations, 2).isBeginningOfSentenceContext()); in testGetPreviousWord() 185 "abc def", mSpacingAndPunctuations, 1).getNthPrevWord(1), "def"); in testGetPreviousWord() 187 "abc def", mSpacingAndPunctuations, 1).getNthPrevWord(2), "abc"); in testGetPreviousWord() 189 "abc def", mSpacingAndPunctuations, 2).isNthPrevWordBeginningOfSentence(2)); in testGetPreviousWord() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 841 (!settingsValues.mSpacingAndPunctuations.mCurrentLanguageHasSpaces in handleNonSeparatorEvent() 842 || !mConnection.isCursorTouchingWord(settingsValues.mSpacingAndPunctuations, in handleNonSeparatorEvent() 848 isComposingWord = !settingsValues.mSpacingAndPunctuations.isWordConnector(codePoint); in handleNonSeparatorEvent() 887 && !settingsValues.mSpacingAndPunctuations.mCurrentLanguageHasSpaces in handleSeparatorEvent() 924 } else if (settingsValues.mSpacingAndPunctuations.isClusteringSymbol(codePoint) in handleSeparatorEvent() 925 && settingsValues.mSpacingAndPunctuations.isClusteringSymbol( in handleSeparatorEvent() 1050 && inputTransaction.mSettingsValues.mSpacingAndPunctuations in handleBackspaceEvent() 1053 inputTransaction.mSettingsValues.mSpacingAndPunctuations)) { in handleBackspaceEvent() 1074 inputTransaction.mSettingsValues.mSpacingAndPunctuations)) { in handleBackspaceEvent() 1182 && inputTransaction.mSettingsValues.mSpacingAndPunctuations in handleBackspaceEvent() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
D | SentenceLevelAdapter.java | 79 private final SpacingAndPunctuations mSpacingAndPunctuations; field in SentenceLevelAdapter.WordIterator 88 mSpacingAndPunctuations = job.runInLocale(res, locale); in WordIterator() 96 if (mSpacingAndPunctuations.isWordSeparator(codePoint)) { in getEndOfWord() 103 && mSpacingAndPunctuations.isWordSeparator( in getEndOfWord() 124 if (!mSpacingAndPunctuations.isWordSeparator(codePoint)) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsValues.java | 57 public final SpacingAndPunctuations mSpacingAndPunctuations; field in SettingsValues 128 mSpacingAndPunctuations = new SpacingAndPunctuations(res); in SettingsValues() 249 return mSpacingAndPunctuations.isWordSeparator(code); in isWordSeparator() 253 return mSpacingAndPunctuations.isWordConnector(code); in isWordConnector() 262 return mSpacingAndPunctuations.isUsuallyPrecededBySpace(code); in isUsuallyPrecededBySpace() 266 return mSpacingAndPunctuations.isUsuallyFollowedBySpace(code); in isUsuallyFollowedBySpace() 376 sb.append("" + mSpacingAndPunctuations.dump()); in dump()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | LatinIME.java | 1643 : currentSettings.mSpacingAndPunctuations.mSuggestPuncList; in setNeutralSuggestionStrip()
|