Searched refs:TextRange (Results 1 – 6 of 6) sorted by relevance
50 typedef std::pair<int, int> TextRange; typedef134 int FindMatchesUtf8(std::string_view utf8, std::vector<TextRange>* matches);245 TextRange* match);251 TextRange* match);
163 int Page::FindMatchesUtf8(std::string_view utf8, vector<TextRange>* matches) { in FindMatchesUtf8()167 TextRange match; in FindMatchesUtf8()183 vector<TextRange> matches; in BoundsOfMatchesUtf8()473 TextRange* match) { in FindMatch()488 TextRange* match) { in IsMatch()
27 public final class TextRange { class108 public TextRange(final CharSequence textAtCursor, final int wordAtCursorStartIndex, in TextRange() method in TextRange
44 import com.android.inputmethod.latin.utils.TextRange;254 TextRange r; in testGetWordRangeAtCursor()318 TextRange r; in helpTestGetSuggestionSpansAtWord()
47 import com.android.inputmethod.latin.utils.TextRange;702 public TextRange getWordRangeAtCursor(final SpacingAndPunctuations spacingAndPunctuations, in getWordRangeAtCursor()753 return new TextRange( in getWordRangeAtCursor()
60 import com.android.inputmethod.latin.utils.TextRange;1196 final TextRange range = mConnection.getWordRangeAtCursor( in getWordAtCursor()1546 final TextRange range = mConnection.getWordRangeAtCursor( in restartSuggestionsOnWordTouchedByCursor()