/frameworks/minikin/tests/unittest/ |
WordBreakerTests.cpp | 47 EXPECT_EQ(5, breaker.wordEnd()); 52 EXPECT_EQ(11, breaker.wordEnd()); 65 EXPECT_EQ(6, breaker.wordEnd()); 69 EXPECT_EQ(12, breaker.wordEnd()); 82 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); 95 EXPECT_EQ(3, breaker.wordEnd()); 99 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); 112 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); 132 EXPECT_EQ(7, breaker.wordEnd()); 135 EXPECT_EQ(17, breaker.wordEnd()); [all...] |
/frameworks/base/services/core/java/com/android/server/ |
NativeDaemonEvent.java | 212 int wordEnd = -1; 223 wordEnd = current; 224 while (wordEnd < length && rawEvent.charAt(wordEnd) != terminator) { 225 if (rawEvent.charAt(wordEnd) == '\\') { 227 ++wordEnd; 229 ++wordEnd; 231 if (wordEnd > length) wordEnd = length; 232 String word = rawEvent.substring(current, wordEnd); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
SentenceLevelAdapter.java | 147 int wordEnd = wordIterator.getEndOfWord(originalText, wordStart); 148 while (wordStart <= end && wordEnd != -1 && wordStart != -1) { 149 if (wordEnd >= start && wordEnd > wordStart) { 151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode()); 152 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); 154 wordStart = wordIterator.getBeginningOfNextWord(originalText, wordEnd); 158 wordEnd = wordIterator.getEndOfWord(originalText, wordStart);
|
/frameworks/minikin/include/minikin/ |
WordBreaker.h | 47 // After calling next(), wordStart() and wordEnd() are offsets defining the previous 48 // word. If wordEnd <= wordStart, it's not a word for the purpose of hyphenation. 51 ssize_t wordEnd() const;
|
/frameworks/base/core/java/android/widget/ |
SpellChecker.java | 564 int wordEnd; 566 wordEnd = mWordIterator.following(start); 567 if (wordEnd != BreakIterator.DONE) { 568 wordStart = mWordIterator.getBeginning(wordEnd); 571 wordEnd = mWordIterator.getEnd(wordStart); 573 if (wordEnd == BreakIterator.DONE) { 666 if (wordEnd >= start && wordEnd > wordStart) { 674 if (wordStart < start && wordEnd > start) { 679 if (wordStart < end && wordEnd > end) [all...] |
Editor.java | [all...] |
/frameworks/base/core/java/android/service/textservice/ |
SpellCheckerService.java | 401 int wordEnd = wordIterator.following(start); 402 int wordStart = wordIterator.getBeginning(wordEnd); 405 + wordEnd + "\n" + originalText); 407 while (wordStart <= end && wordEnd != BreakIterator.DONE 409 if (wordEnd >= start && wordEnd > wordStart) { 410 final CharSequence query = originalText.subSequence(wordStart, wordEnd); 413 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); 418 wordEnd = wordIterator.following(wordEnd); [all...] |
/frameworks/minikin/libs/minikin/ |
LineBreaker.cpp | 195 size_t wordEnd = mWordBreaker.wordEnd(); 198 wordStart >= start && wordEnd > wordStart && 199 wordEnd - wordStart <= LONGEST_HYPHENATED_WORD) { 202 wordEnd - wordStart, 206 for (size_t j = wordStart; j < wordEnd; j++) { 217 for (size_t j = wordStart; j < wordEnd; j++) {
|
WordBreaker.cpp | 241 ssize_t WordBreaker::wordEnd() const {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StreamingTextView.java | 192 int wordEnd = textStart + m.end(); 194 displayText.setSpan(span, wordStart, wordEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | [all...] |
/prebuilts/devtools/tools/lib/ |
lint-checks.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.1.0/ |
lint-checks-24.1.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.1.3/ |
lint-checks-24.1.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.0/ |
lint-checks-24.2.0.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.0-alpha1/ |
lint-checks-24.2.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.0-beta4/ |
lint-checks-24.2.0-beta4.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.0-rc1/ |
lint-checks-24.2.0-rc1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.1/ |
lint-checks-24.2.1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.2/ |
lint-checks-24.2.2.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.3/ |
lint-checks-24.2.3.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.2.4/ |
lint-checks-24.2.4.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.3.0-alpha1/ |
lint-checks-24.3.0-alpha1.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.3.0-alpha2/ |
lint-checks-24.3.0-alpha2.jar | |
/prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/24.3.0-alpha3/ |
lint-checks-24.3.0-alpha3.jar | |