OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:WordIterator
(Results
1 - 11
of
11
) sorted by null
/frameworks/base/core/tests/coretests/src/android/text/method/
WordIteratorTest.java
29
WordIterator
wordIterator
= new
WordIterator
(Locale.ENGLISH);
32
wordIterator
.setCharSequence(text, 100, 100);
38
wordIterator
.setCharSequence(text, -100, -100);
44
wordIterator
.setCharSequence(text, 0, text.length());
45
wordIterator
.setCharSequence(text, 0, 0);
46
wordIterator
.setCharSequence(text, text.length(), text.length());
51
WordIterator
wordIterator
= new WordIterator(Locale.ENGLISH)
[
all
...]
/cts/tests/tests/text/src/android/text/method/cts/
WordIteratorTest.java
19
import android.text.method.
WordIterator
;
27
WordIterator
wi = new
WordIterator
();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
SentenceLevelAdapter.java
78
private static class
WordIterator
{
80
public
WordIterator
(final Resources res, final Locale locale) {
133
private final
WordIterator
mWordIterator;
135
mWordIterator = new
WordIterator
(res, locale);
139
final
WordIterator
wordIterator
= mWordIterator;
146
int wordStart =
wordIterator
.getBeginningOfNextWord(originalText, start);
147
int wordEnd =
wordIterator
.getEndOfWord(originalText, wordStart);
154
wordStart =
wordIterator
.getBeginningOfNextWord(originalText, wordEnd);
158
wordEnd =
wordIterator
.getEndOfWord(originalText, wordStart)
[
all
...]
/frameworks/base/core/java/android/service/textservice/
SpellCheckerService.java
30
import android.text.method.
WordIterator
;
364
private final
WordIterator
mWordIterator;
366
mWordIterator = new
WordIterator
(locale);
370
final
WordIterator
wordIterator
= mWordIterator;
376
wordIterator
.setCharSequence(originalText, 0, originalText.length());
377
int wordEnd =
wordIterator
.following(start);
378
int wordStart =
wordIterator
.getBeginning(wordEnd);
394
wordEnd =
wordIterator
.following(wordEnd);
398
wordStart =
wordIterator
.getBeginning(wordEnd)
[
all
...]
/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));
BaseKeyListener.java
367
WordIterator
wordIterator
= null;
369
wordIterator
= ((TextView)view).getWordIterator();
372
if (
wordIterator
== null) {
373
// Default locale is used for
WordIterator
since the appropriate locale is not clear
375
// TODO: Use appropriate locale for
WordIterator
.
376
wordIterator
= new
WordIterator
();
384
wordIterator
.setCharSequence(content, deleteFrom, content.length());
385
deleteTo =
wordIterator
.following(currentCursorOffset)
[
all
...]
/frameworks/base/core/java/android/widget/
SpellChecker.java
24
import android.text.method.
WordIterator
;
94
private
WordIterator
mWordIterator;
151
// Change SpellParsers'
wordIterator
locale
152
mWordIterator = new
WordIterator
(locale);
[
all
...]
Editor.java
67
import android.text.method.
WordIterator
;
266
WordIterator
mWordIterator;
271
private
WordIterator
mWordIteratorWithText;
850
final
WordIterator
wordIterator
= getWordIterator();
851
wordIterator
.setCharSequence(mTextView.getText(), minOffset, maxOffset);
853
selectionStart =
wordIterator
.getBeginning(minOffset);
854
selectionEnd =
wordIterator
.getEnd(maxOffset);
[
all
...]
TextView.java
101
import android.text.method.
WordIterator
;
[
all
...]
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 9136 milliseconds