/frameworks/base/core/java/android/text/ |
H A D | Selection.java | 48 public static final int getSelectionEnd(CharSequence text) { method in class:Selection 73 int oend = getSelectionEnd(text); 124 int end = getSelectionEnd(text); 170 int end = getSelectionEnd(text); 215 int end = getSelectionEnd(text); 240 int end = getSelectionEnd(text); 262 int end = getSelectionEnd(text); 291 int end = getSelectionEnd(text); 320 int end = getSelectionEnd(text); 336 int end = getSelectionEnd(tex [all...] |
H A D | SpannableStringBuilder.java | 493 selectionEnd = Selection.getSelectionEnd(this);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | PhoneNumberWatcherTest.java | 38 assertEquals(formatted1.length(), Selection.getSelectionEnd(number)); 49 assertEquals(formatted2.length(), Selection.getSelectionEnd(number)); 65 assertEquals(result1.length(), Selection.getSelectionEnd(number)); 74 assertEquals(result2.length(), Selection.getSelectionEnd(number)); 91 assertEquals(5, Selection.getSelectionEnd(number)); 102 assertEquals(12, Selection.getSelectionEnd(number)); 119 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); 132 assertEquals(5, Selection.getSelectionEnd(number)); 145 assertEquals(9, Selection.getSelectionEnd(number)); 162 assertEquals(expected1.length(), Selection.getSelectionEnd(numbe [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | ArrowKeyMovementMethod.java | 40 return layout.getLineTop(layout.getLineForOffset(Selection.getSelectionEnd(buffer))); 116 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); 122 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { 140 final int previousSelectionEnd = Selection.getSelectionEnd(buffer); 146 if (Selection.getSelectionEnd(buffer) == previousSelectionEnd) { 200 final int selectionEnd = widget.getSelectionEnd(); 209 final int selectionEnd = widget.getSelectionEnd();
|
H A D | BaseKeyListener.java | 85 final int start = Selection.getSelectionEnd(content); 102 int selectionEnd = Selection.getSelectionEnd(content); 184 int selectionEnd = Selection.getSelectionEnd(content);
|
H A D | MultiTapKeyListener.java | 96 int b = Selection.getSelectionEnd(content); 196 selEnd = Selection.getSelectionEnd(content); 271 int en = Selection.getSelectionEnd(buf); 277 Selection.setSelection(buf, Selection.getSelectionEnd(buf));
|
H A D | NumberKeyListener.java | 102 int b = Selection.getSelectionEnd(content);
|
H A D | CharacterPickerDialog.java | 94 int selEnd = Selection.getSelectionEnd(mText);
|
H A D | QwertyKeyListener.java | 95 int b = Selection.getSelectionEnd(content); 226 selEnd = Selection.getSelectionEnd(content); 280 selEnd = Selection.getSelectionEnd(content);
|
H A D | LinkMovementMethod.java | 113 int b = Selection.getSelectionEnd(buffer);
|
/frameworks/base/core/java/android/widget/ |
H A D | MultiAutoCompleteTextView.java | 92 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} 98 int end = getSelectionEnd(); 116 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} 123 int end = getSelectionEnd(); 180 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} by the 195 int end = getSelectionEnd();
|
H A D | Editor.java | 248 mTextView.getSelectionStart() != mTextView.getSelectionEnd()) { 760 int selectionEnd = mTextView.getSelectionEnd(); 874 final int end = mTextView.getSelectionEnd(); 909 int selEnd = mTextView.getSelectionEnd(); 978 final int selEnd = mTextView.getSelectionEnd(); 1215 outText.selectionEnd = mTextView.getSelectionEnd(); 1266 final int selectionEnd = mTextView.getSelectionEnd(); 1285 final int selectionEnd = mTextView.getSelectionEnd(); 1589 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), SuggestionSpan.class); 1600 mTextView.getSelectionEnd(), SuggestionSpa [all...] |
H A D | SpellChecker.java | 265 final int selectionEnd = Selection.getSelectionEnd(editable);
|
H A D | TextView.java | 3718 end = getSelectionEnd(); 4106 int end = getSelectionEnd(); 4819 int where = getSelectionEnd(); 4916 int curs = getSelectionEnd(); 5221 final int selEnd = getSelectionEnd(); 5441 int selEnd = getSelectionEnd(); 6001 outAttrs.initialSelEnd = getSelectionEnd(); 7149 int end = getSelectionEnd(); 7273 * Convenience for {@link Selection#getSelectionEnd}. 7276 public int getSelectionEnd() { method in class:TextView [all...] |
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | BaseInputConnection.java | 218 int b = Selection.getSelectionEnd(content); 292 int b = Selection.getSelectionEnd(content); 319 int b = Selection.getSelectionEnd(content); 350 int b = Selection.getSelectionEnd(content); 375 int b = Selection.getSelectionEnd(content); 631 b = Selection.getSelectionEnd(content);
|
H A D | CursorAnchorInfo.java | 429 public int getSelectionEnd() { method in class:CursorAnchorInfo
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberFormattingTextWatcher.java | 108 String formatted = reformat(s, Selection.getSelectionEnd(s));
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 228 int oldSelEnd = Selection.getSelectionEnd(getText()); 236 Selection.getSelectionEnd(getText())); 280 boolean selection = getSelectionStart() != getSelectionEnd(); 1303 public int getSelectionEnd() { method in class:EditStyledText.EditorManager 1474 int min = Math.min(getSelectionStart(), getSelectionEnd()); 1475 int max = Math.max(getSelectionStart(), getSelectionEnd()); 1490 int min = Math.min(getSelectionStart(), getSelectionEnd()); 1491 int max = Math.max(getSelectionStart(), getSelectionEnd()); 1519 int min = Math.min(mEST.getSelectionStart(), mEST.getSelectionEnd()); 1520 int max = Math.max(mEST.getSelectionStart(), mEST.getSelectionEnd()); [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 547 int end = getSelectionEnd(); 560 int selEnd = getSelectionEnd(); 1343 int end = getSelectionEnd(); 1351 if (whatEnd != getSelectionEnd()) { 1366 int end = getSelectionEnd(); 1377 && end == getSelectionEnd() && !isPhoneQuery()) { 1415 if (end == getSelectionEnd()) { 1489 int selEnd = getSelectionEnd(); 1546 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} 1554 int end = getSelectionEnd(); [all...] |
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
H A D | CursorAnchorInfoTest.java | 108 assertEquals(SELECTION_END, info.getSelectionEnd()); 133 assertEquals(SELECTION_END, info2.getSelectionEnd()); 160 assertEquals(SELECTION_END, info3.getSelectionEnd()); 186 assertEquals(-1, uninitializedInfo.getSelectionEnd());
|
/frameworks/base/core/java/android/transition/ |
H A D | ChangeText.java | 136 textview.getSelectionEnd());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | TextViewWordLimitsTest.java | 101 assertEquals(correctEnd, mTv.getSelectionEnd());
|