Home
last modified time | relevance | path

Searched refs:spacingAndPunctuations (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputConnection.java363 final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) { in getCursorCapsMode() argument
393 spacingAndPunctuations, hasSpaceBefore); in getCursorCapsMode()
658 final SpacingAndPunctuations spacingAndPunctuations, final int n) { in getNgramContextFromNthPreviousWord() argument
683 prev, spacingAndPunctuations, n); in getNgramContextFromNthPreviousWord()
687 final SpacingAndPunctuations spacingAndPunctuations, final int scriptId) { in isPartOfCompositionForScript() argument
689 return spacingAndPunctuations.isWordConnector(codePoint) in isPartOfCompositionForScript()
691 || (!spacingAndPunctuations.isWordSeparator(codePoint) in isPartOfCompositionForScript()
702 public TextRange getWordRangeAtCursor(final SpacingAndPunctuations spacingAndPunctuations, in getWordRangeAtCursor() argument
726 if (!isPartOfCompositionForScript(codePoint, spacingAndPunctuations, scriptId)) { in getWordRangeAtCursor()
739 if (!isPartOfCompositionForScript(codePoint, spacingAndPunctuations, scriptId)) { in getWordRangeAtCursor()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCapsModeUtils.java104 final SpacingAndPunctuations spacingAndPunctuations, final boolean hasSpaceBefore) { in getCapsMode() argument
159 if (spacingAndPunctuations.mUsesGermanRules) { in getCapsMode()
201 if (spacingAndPunctuations.mUsesAmericanTypography) { in getCapsMode()
223 if (spacingAndPunctuations.isSentenceTerminator(c) in getCapsMode()
224 && !spacingAndPunctuations.isAbbreviationMarker(c)) { in getCapsMode()
234 if (!spacingAndPunctuations.isSentenceSeparator(c) || j <= 0) { in getCapsMode()
286 } else if (Character.isDigit(c) && spacingAndPunctuations.mUsesGermanRules) { in getCapsMode()
295 } else if (spacingAndPunctuations.isSentenceSeparator(c)) { in getCapsMode()
311 } else if (spacingAndPunctuations.isSentenceSeparator(c)) { in getCapsMode()
DNgramContextUtils.java60 final SpacingAndPunctuations spacingAndPunctuations, final int n) { in getNgramContextFromNthPreviousWord() argument
77 if (spacingAndPunctuations.isWordConnector(firstChar)) { in getNgramContextFromNthPreviousWord()
99 if (spacingAndPunctuations.isSentenceTerminator(lastChar)) { in getNgramContextFromNthPreviousWord()
105 if (spacingAndPunctuations.isWordSeparator(lastChar) in getNgramContextFromNthPreviousWord()
106 || spacingAndPunctuations.isWordConnector(lastChar)) { in getNgramContextFromNthPreviousWord()
DWordInputEventForPersonalization.java59 final SpacingAndPunctuations spacingAndPunctuations, final Locale locale) { in createInputEventFrom() argument
73 tempWord, spacingAndPunctuations)) { in createInputEventFrom()
DDictionaryInfoUtils.java584 final SpacingAndPunctuations spacingAndPunctuations) {
603 if (!spacingAndPunctuations.isWordCodePoint(codePoint)) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DNgramContextTests.java143 SpacingAndPunctuations spacingAndPunctuations = new SpacingAndPunctuations( in testGetNgramContextFromNthPreviousWord() local
146 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
148 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
150 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
152 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
154 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
156 spacingAndPunctuations, 1).extractPrevWordsContext()); in testGetNgramContextFromNthPreviousWord()
158 .getNgramContextFromNthPreviousWord("a b c d e", spacingAndPunctuations, 1) in testGetNgramContextFromNthPreviousWord()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java1795 final SpacingAndPunctuations spacingAndPunctuations, final int nthPreviousWord) { in getNgramContextFromNthPreviousWordForSuggestion() argument
1796 if (spacingAndPunctuations.mCurrentLanguageHasSpaces) { in getNgramContextFromNthPreviousWordForSuggestion()
1800 spacingAndPunctuations, nthPreviousWord); in getNgramContextFromNthPreviousWordForSuggestion()