Searched refs:wordEnd (Results 1 – 5 of 5) sorted by relevance
/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 41 EXPECT_EQ(5, breaker.wordEnd()); in TEST() 46 EXPECT_EQ(11, breaker.wordEnd()); in TEST() 61 EXPECT_EQ(6, breaker.wordEnd()); in TEST() 65 EXPECT_EQ(12, breaker.wordEnd()); in TEST() 80 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 95 EXPECT_EQ(3, breaker.wordEnd()); in TEST() 99 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 114 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 136 EXPECT_EQ(7, breaker.wordEnd()); in TEST() 139 EXPECT_EQ(17, breaker.wordEnd()); in TEST() [all …]
|
/frameworks/base/core/java/android/service/textservice/ |
D | SpellCheckerService.java | 423 int wordEnd = wordIterator.following(start); in getSplitWords() local 424 int wordStart = wordEnd == BreakIterator.DONE ? BreakIterator.DONE in getSplitWords() 425 : wordIterator.getBeginning(wordEnd); in getSplitWords() 428 + wordEnd + "\n" + originalText); in getSplitWords() 430 while (wordStart <= end && wordEnd != BreakIterator.DONE in getSplitWords() 432 if (wordEnd >= start && wordEnd > wordStart) { in getSplitWords() 433 final CharSequence query = originalText.subSequence(wordStart, wordEnd); in getSplitWords() 436 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); in getSplitWords() 441 wordEnd = wordIterator.following(wordEnd); in getSplitWords() 442 if (wordEnd == BreakIterator.DONE) { in getSplitWords() [all …]
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 158 ssize_t wordEnd() const; 164 const uint32_t end = wordEnd(); in wordRange()
|
D | WordBreaker.cpp | 331 ssize_t WordBreaker::wordEnd() const { in wordEnd() function in minikin::WordBreaker
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 6189 final int wordEnd = getWordEnd(offset); in updatePosition() local 6258 int wordBoundary = isStartHandle() ? wordStart : wordEnd; in updatePosition() 6271 ? wordEnd - ((wordEnd - wordBoundary) / 2) in updatePosition() 6282 offset = wordEnd; in updatePosition() 6306 offset = isStartHandle() ? wordStart : wordEnd; in updatePosition()
|