Searched refs:wordEnd (Results 1 – 7 of 7) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 42 EXPECT_EQ(5, breaker.wordEnd()); in TEST() 47 EXPECT_EQ(11, breaker.wordEnd()); in TEST() 60 EXPECT_EQ(6, breaker.wordEnd()); in TEST() 64 EXPECT_EQ(12, breaker.wordEnd()); in TEST() 76 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 88 EXPECT_EQ(3, breaker.wordEnd()); in TEST() 92 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 104 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 124 EXPECT_EQ(7, breaker.wordEnd()); in TEST() 127 EXPECT_EQ(17, breaker.wordEnd()); in TEST() [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
D | NativeDaemonEvent.java | 212 int wordEnd = -1; in unescapeArgs() local 223 wordEnd = current; in unescapeArgs() 224 while (wordEnd < length && rawEvent.charAt(wordEnd) != terminator) { in unescapeArgs() 225 if (rawEvent.charAt(wordEnd) == '\\') { in unescapeArgs() 227 ++wordEnd; in unescapeArgs() 229 ++wordEnd; in unescapeArgs() 231 if (wordEnd > length) wordEnd = length; in unescapeArgs() 232 String word = rawEvent.substring(current, wordEnd); in unescapeArgs()
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 401 int wordEnd = wordIterator.following(start); in getSplitWords() local 402 int wordStart = wordIterator.getBeginning(wordEnd); in getSplitWords() 405 + wordEnd + "\n" + originalText); in getSplitWords() 407 while (wordStart <= end && wordEnd != BreakIterator.DONE in getSplitWords() 409 if (wordEnd >= start && wordEnd > wordStart) { in getSplitWords() 410 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords() 413 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); in getSplitWords() 418 wordEnd = wordIterator.following(wordEnd); in getSplitWords() 419 if (wordEnd == BreakIterator.DONE) { in getSplitWords() 422 wordStart = wordIterator.getBeginning(wordEnd); in getSplitWords()
|
/frameworks/base/core/java/android/widget/ |
D | SpellChecker.java | 567 int wordEnd; in parse() local 569 wordEnd = mWordIterator.following(start); in parse() 570 if (wordEnd != BreakIterator.DONE) { in parse() 571 wordStart = mWordIterator.getBeginning(wordEnd); in parse() 574 wordEnd = mWordIterator.getEnd(wordStart); in parse() 576 if (wordEnd == BreakIterator.DONE) { in parse() 669 if (wordEnd >= start && wordEnd > wordStart) { in parse() 677 if (wordStart < start && wordEnd > start) { in parse() 682 if (wordStart < end && wordEnd > end) { in parse() 689 if (wordEnd == start) { in parse() [all …]
|
D | Editor.java | 5415 final int wordEnd = getWordEnd(offset); in updatePosition() local 5481 int wordBoundary = isStartHandle() ? wordStart : wordEnd; in updatePosition() 5494 ? wordEnd - ((wordEnd - wordBoundary) / 2) in updatePosition() 5505 offset = wordEnd; in updatePosition() 5529 offset = isStartHandle() ? wordStart : wordEnd; in updatePosition()
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 111 ssize_t wordEnd() const; 117 const uint32_t end = wordEnd(); in wordRange()
|
D | WordBreaker.cpp | 290 ssize_t WordBreaker::wordEnd() const { in wordEnd() function in minikin::WordBreaker
|