OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:findTokenStart
(Results
1 - 12
of
12
) sorted by null
/external/apache-http/src/org/apache/http/message/
BasicTokenIterator.java
183
int start =
findTokenStart
(from);
230
protected int
findTokenStart
(int from) {
/frameworks/base/core/java/android/text/util/
Rfc822Tokenizer.java
206
public int
findTokenStart
(CharSequence text, int cursor) {
/cts/tests/tests/text/src/android/text/util/cts/
Rfc822TokenizerTest.java
44
method = "
findTokenStart
",
47
@ToBeFixed(bug = "1695243", explanation = "the javadoc for
findTokenStart
() is incomplete." +
61
assertEquals(0, rfc822Tokenizer.
findTokenStart
(text, 0));
62
assertEquals(0, rfc822Tokenizer.
findTokenStart
(text, TOKEN_START_POS_1));
63
assertEquals(TOKEN_START_POS_1, rfc822Tokenizer.
findTokenStart
(text, TOKEN_START_POS_2));
65
assertEquals(TOKEN_START_POS_1, rfc822Tokenizer.
findTokenStart
(text, TOKEN_START_POS_3));
66
assertEquals(TOKEN_START_POS_3, rfc822Tokenizer.
findTokenStart
(text, TOKEN_START_POS_4));
68
assertEquals(TOKEN_START_POS_3, rfc822Tokenizer.
findTokenStart
(text, text.length()));
70
assertEquals(0, rfc822Tokenizer.
findTokenStart
(text, -1));
71
assertEquals(TOKEN_START_POS_3, rfc822Tokenizer.
findTokenStart
(text, text.length() + 1))
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
MultiAutoCompleteTextView_CommaTokenizerTest.java
53
method = "
findTokenStart
",
61
mCommaTokenizer.
findTokenStart
(TEST_TEXT, indexOfSecondToken));
63
// FIXME: does it worked as intended?
findTokenStart
does not exclude this leading
66
mCommaTokenizer.
findTokenStart
(TEST_TEXT, indexOfSecondToken - 1));
68
mCommaTokenizer.
findTokenStart
(TEST_TEXT, TEST_TEXT.length()));
71
assertEquals(0, mCommaTokenizer.
findTokenStart
(TEST_TEXT, indexOfSecondToken - 2));
72
assertEquals(0, mCommaTokenizer.
findTokenStart
(TEST_TEXT, 1));
74
assertEquals(-1, mCommaTokenizer.
findTokenStart
(TEST_TEXT, -1));
75
assertEquals(-2, mCommaTokenizer.
findTokenStart
(TEST_TEXT, -2));
78
mCommaTokenizer.
findTokenStart
(TEST_TEXT, TEST_TEXT.length() + 1)
[
all
...]
MultiAutoCompleteTextViewTest.java
267
public int
findTokenStart
(CharSequence text, int cursor) {
/frameworks/base/core/java/android/widget/
MultiAutoCompleteTextView.java
97
* {@link Tokenizer#
findTokenStart
} to {@link #getSelectionEnd}
104
int start = mTokenizer.
findTokenStart
(text, end);
121
* {@link Tokenizer#
findTokenStart
} to {@link #getSelectionEnd}
133
int start = mTokenizer.
findTokenStart
(text, end);
157
int start = mTokenizer.
findTokenStart
(e, i);
185
* {@link Tokenizer#
findTokenStart
} to {@link #getSelectionEnd} by the
201
int start = mTokenizer.
findTokenStart
(getText(), end);
215
public int
findTokenStart
(CharSequence text, int cursor);
235
public int
findTokenStart
(CharSequence text, int cursor) {
/packages/apps/Mms/src/com/android/mms/ui/
RecipientsEditor.java
262
int start = mTokenizer.
findTokenStart
(text, mLongPressedPosition);
329
public int
findTokenStart
(CharSequence text, int cursor) {
/prebuilt/sdk/4/
android.jar
/prebuilt/sdk/8/
android.jar
/prebuilt/sdk/5/
android.jar
/prebuilt/sdk/6/
android.jar
/prebuilt/sdk/7/
android.jar
Completed in 35 milliseconds