HomeSort by relevance Sort by last modified time
    Searched refs:WordIterator (Results 1 - 7 of 7) sorted by null

  /cts/tests/tests/text/src/android/text/method/cts/
WordIteratorTest.java 19 import android.text.method.WordIterator;
27 WordIterator wi = new WordIterator();
  /frameworks/base/core/java/android/text/method/
WordIterator.java 34 public class WordIterator implements Selection.PositionIterator {
44 * Constructs a WordIterator using the default locale.
46 public WordIterator() {
51 * Constructs a new WordIterator for the specified locale.
54 public WordIterator(Locale locale) {
ArrowKeyMovementMethod.java 200 final WordIterator wordIterator = widget.getWordIterator();
201 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
202 return Selection.moveToPreceding(buffer, wordIterator, isSelecting(buffer));
209 final WordIterator wordIterator = widget.getWordIterator();
210 wordIterator.setCharSequence(buffer, selectionEnd, selectionEnd);
211 return Selection.moveToFollowing(buffer, wordIterator, isSelecting(buffer));
  /frameworks/base/core/java/android/service/textservice/
SpellCheckerService.java 30 import android.text.method.WordIterator;
365 private final WordIterator mWordIterator;
367 mWordIterator = new WordIterator(locale);
371 final WordIterator wordIterator = mWordIterator;
377 wordIterator.setCharSequence(originalText, 0, originalText.length());
378 int wordEnd = wordIterator.following(start);
379 int wordStart = wordIterator.getBeginning(wordEnd);
394 wordEnd = wordIterator.following(wordEnd);
398 wordStart = wordIterator.getBeginning(wordEnd)
    [all...]
  /frameworks/base/core/java/android/widget/
SpellChecker.java 25 import android.text.method.WordIterator;
94 private WordIterator mWordIterator;
151 // Change SpellParsers' wordIterator locale
152 mWordIterator = new WordIterator(locale);
Editor.java 61 import android.text.method.WordIterator;
186 WordIterator mWordIterator;
651 final WordIterator wordIterator = getWordIterator();
652 wordIterator.setCharSequence(mTextView.getText(), minOffset, maxOffset);
654 selectionStart = wordIterator.getBeginning(minOffset);
655 selectionEnd = wordIterator.getEnd(maxOffset);
678 public WordIterator getWordIterator() {
680 mWordIterator = new WordIterator(mTextView.getTextServicesLocale());
    [all...]
TextView.java 83 import android.text.method.WordIterator;
    [all...]

Completed in 239 milliseconds