HomeSort by relevance Sort by last modified time
    Searched full:wordstart (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/minikin/tests/unittest/
WordBreakerTests.cpp 46 EXPECT_EQ(0, breaker.wordStart()); // "hello"
51 EXPECT_EQ(6, breaker.wordStart()); // "world"
64 EXPECT_EQ(0, breaker.wordStart()); // "hel{SOFT HYPHEN}lo"
68 EXPECT_EQ(7, breaker.wordStart()); // "world"
81 EXPECT_EQ(0, breaker.wordStart());
94 EXPECT_EQ(0, breaker.wordStart()); // "US¢"
98 EXPECT_EQ(4, breaker.wordStart()); // "JP¥"
111 EXPECT_EQ(0, breaker.wordStart());
131 EXPECT_EQ(0, breaker.wordStart());
134 EXPECT_EQ(7, 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...]
  /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;
  /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/base/core/java/android/widget/
SpellChecker.java 563 int wordStart = mWordIterator.preceding(start);
565 if (wordStart == BreakIterator.DONE) {
568 wordStart = mWordIterator.getBeginning(wordEnd);
571 wordEnd = mWordIterator.getEnd(wordStart);
614 int spellCheckStart = wordStart;
663 wordStart = spellCheckEnd;
665 while (wordStart <= end) {
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 402 int wordStart = wordIterator.getBeginning(wordEnd);
404 Log.d(TAG, "iterator: break: ---- 1st word start = " + wordStart + ", end = "
407 while (wordStart <= end && wordEnd != BreakIterator.DONE
408 && wordStart != BreakIterator.DONE) {
409 if (wordEnd >= start && wordEnd > wordStart) {
410 final CharSequence query = originalText.subSequence(wordStart, wordEnd);
413 wordItems.add(new SentenceWordItem(ti, wordStart, wordEnd));
422 wordStart = wordIterator.getBeginning(wordEnd);
  /frameworks/minikin/libs/minikin/
LineBreaker.cpp 194 size_t wordStart = mWordBreaker.wordStart();
198 wordStart >= start && wordEnd > wordStart &&
199 wordEnd - wordStart <= LONGEST_HYPHENATED_WORD) {
201 &mTextBuf[wordStart],
202 wordEnd - wordStart,
206 for (size_t j = wordStart; j < wordEnd; j++) {
207 if (mHyphBuf[j - wordStart] == HyphenationType::BREAK_AND_INSERT_HYPHEN) {
217 for (size_t j = wordStart; j < wordEnd; j++)
    [all...]
Layout.cpp 593 size_t wordstart = local
608 advance += doLayoutWord(buf + wordstart, iter - wordstart, wordcount,
609 wordend - wordstart, isRtl, ctx, iter - dstStart, collection, layout,
611 wordstart = wordend;
615 size_t wordstart; local
618 for (size_t iter = end; iter > start; iter = wordstart) {
619 wordstart = getPrevWordBreakForCache(buf, iter, bufSize);
622 if (wordstart > start) { // Not the first word
629 size_t bufStart = std::max(start, wordstart);
    [all...]
WordBreaker.cpp 221 ssize_t WordBreaker::wordStart() const {
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
StreamingTextView.java 191 int wordStart = textStart + m.start();
193 DottySpan span = new DottySpan(text.charAt(m.start()), wordStart);
194 displayText.setSpan(span, wordStart, wordEnd, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
  /prebuilts/gdb/darwin-x86/lib/python2.7/idlelib/
AutoExpand.py 52 before = self.text.get("1.0", "insert wordstart")
ScriptBinding.py 125 text.tag_add("ERROR", pos + " wordstart", pos)
  /prebuilts/gdb/linux-x86/lib/python2.7/idlelib/
AutoExpand.py 52 before = self.text.get("1.0", "insert wordstart")
ScriptBinding.py 125 text.tag_add("ERROR", pos + " wordstart", pos)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/
AutoExpand.py 52 before = self.text.get("1.0", "insert wordstart")
ScriptBinding.py 125 text.tag_add("ERROR", pos + " wordstart", pos)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/
AutoExpand.py 52 before = self.text.get("1.0", "insert wordstart")
ScriptBinding.py 125 text.tag_add("ERROR", pos + " wordstart", pos)
  /external/python/cpython2/Lib/idlelib/
AutoExpand.py 68 before = self.text.get("1.0", "insert wordstart")
ScriptBinding.py 124 text.tag_add("ERROR", pos + " wordstart", pos)
PyShell.py 729 text.tag_add("ERROR", pos + " wordstart", pos)
    [all...]
  /external/clang/lib/Frontend/
TextDiagnostic.cpp 625 for (unsigned WordStart = 0, WordEnd; WordStart < Length;
626 WordStart = WordEnd) {
628 WordStart = skipWhitespace(WordStart, Str, Length);
629 if (WordStart == Length)
633 WordEnd = findEndOfWord(WordStart, Str, Length, Column, Columns);
636 unsigned WordLength = WordEnd - WordStart;
639 if (WordStart) {
643 applyTemplateHighlighting(OS, Str.substr(WordStart, WordLength)
    [all...]
  /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...]

Completed in 1052 milliseconds

1 2