/frameworks/minikin/tests/ |
WordBreakerTests.cpp | 45 EXPECT_EQ(0, breaker.wordStart()); // "hello" 50 EXPECT_EQ(6, breaker.wordStart()); // "world" 63 EXPECT_EQ(0, breaker.wordStart()); // "hel{SOFT HYPHEN}lo" 67 EXPECT_EQ(7, breaker.wordStart()); // "world" 80 EXPECT_EQ(0, breaker.wordStart()); // "US¢" 84 EXPECT_EQ(4, breaker.wordStart()); // "JP¥" 97 EXPECT_EQ(0, breaker.wordStart()); 117 EXPECT_EQ(0, breaker.wordStart()); 120 EXPECT_EQ(7, breaker.wordStart()); 123 EXPECT_EQ(17, breaker.wordStart()); [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
SentenceLevelAdapter.java | 146 int wordStart = wordIterator.getBeginningOfNextWord(originalText, start); 147 int wordEnd = wordIterator.getEndOfWord(originalText, wordStart); 148 while (wordStart <= end && wordEnd != -1 && wordStart != -1) { 149 if (wordEnd >= start && wordEnd > wordStart) { 150 final TextInfo ti = TextInfoCompatUtils.newInstance(originalText, wordStart, 151 wordEnd, cookie, originalText.subSequence(wordStart, wordEnd).hashCode()); 152 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); 154 wordStart = wordIterator.getBeginningOfNextWord(originalText, wordEnd); 155 if (wordStart == -1) [all...] |
/art/tools/checker/match/ |
line.py | 26 wordStart = 0 29 splitExpressions.append(expressions[wordStart:index]) 30 wordStart = index + 1 31 splitExpressions.append(expressions[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. 49 ssize_t wordStart() const;
|
/frameworks/minikin/libs/minikin/ |
LineBreaker.cpp | 168 size_t wordStart = mWordBreaker.wordStart(); 173 wordStart >= start && wordEnd > wordStart && 174 wordEnd - wordStart <= LONGEST_HYPHENATED_WORD) { 175 mHyphenator->hyphenate(&mHyphBuf, &mTextBuf[wordStart], wordEnd - wordStart); 178 for (size_t j = wordStart; j < wordEnd; j++) { 179 if (mHyphBuf[j - wordStart]) hyphenatedString.push_back('-'); 187 for (size_t j = wordStart; j < wordEnd; j++) [all...] |
WordBreaker.cpp | 212 ssize_t WordBreaker::wordStart() const {
|
/frameworks/base/core/java/android/service/textservice/ |
SpellCheckerService.java | 378 int wordStart = wordIterator.getBeginning(wordEnd); 380 Log.d(TAG, "iterator: break: ---- 1st word start = " + wordStart + ", end = " 383 while (wordStart <= end && wordEnd != BreakIterator.DONE 384 && wordStart != BreakIterator.DONE) { 385 if (wordEnd >= start && wordEnd > wordStart) { 386 final CharSequence query = originalText.subSequence(wordStart, wordEnd); 389 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd)); 398 wordStart = wordIterator.getBeginning(wordEnd);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
StreamingTextView.java | 192 int wordStart = textStart + m.start(); 194 DottySpan span = new DottySpan(text.charAt(m.start()), wordStart); 195 displayText.setSpan(span, wordStart, wordEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
AndroidContentAssist.java | [all...] |
/cts/tests/tests/text/src/android/text/method/cts/ |
ArrowKeyMovementMethodTest.java | [all...] |
/external/icu/icu4c/source/layout/ |
IndicReordering.cpp | 320 le_bool noteMatra(const IndicClassTable *classTable, LEUnicode matra, le_uint32 matraIndex, FeatureMask matraFeatures, le_bool wordStart) 326 if (wordStart) { [all...] |
/frameworks/base/core/java/android/widget/ |
Editor.java | [all...] |
/prebuilts/sdk/current/support/v17/leanback/libs/ |
android-support-v17-leanback.jar | |
/prebuilts/tools/common/m2/repository/org/jetbrains/kotlin/kotlin-compiler/0.12.613/ |
kotlin-compiler-0.12.613.jar | |