Searched refs:getSelectionEnd (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/core/java/android/text/
H A DSelection.java48 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 DSpannableStringBuilder.java493 selectionEnd = Selection.getSelectionEnd(this);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DPhoneNumberWatcherTest.java38 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 DArrowKeyMovementMethod.java40 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 DBaseKeyListener.java85 final int start = Selection.getSelectionEnd(content);
102 int selectionEnd = Selection.getSelectionEnd(content);
184 int selectionEnd = Selection.getSelectionEnd(content);
H A DMultiTapKeyListener.java96 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 DNumberKeyListener.java102 int b = Selection.getSelectionEnd(content);
H A DCharacterPickerDialog.java94 int selEnd = Selection.getSelectionEnd(mText);
H A DQwertyKeyListener.java95 int b = Selection.getSelectionEnd(content);
226 selEnd = Selection.getSelectionEnd(content);
280 selEnd = Selection.getSelectionEnd(content);
H A DLinkMovementMethod.java113 int b = Selection.getSelectionEnd(buffer);
/frameworks/base/core/java/android/widget/
H A DMultiAutoCompleteTextView.java92 * {@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 DEditor.java248 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 DSpellChecker.java265 final int selectionEnd = Selection.getSelectionEnd(editable);
H A DTextView.java3718 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 DBaseInputConnection.java218 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 DCursorAnchorInfo.java429 public int getSelectionEnd() { method in class:CursorAnchorInfo
/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberFormattingTextWatcher.java108 String formatted = reformat(s, Selection.getSelectionEnd(s));
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java228 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 DRecipientEditTextView.java547 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 DCursorAnchorInfoTest.java108 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 DChangeText.java136 textview.getSelectionEnd());
/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewWordLimitsTest.java101 assertEquals(correctEnd, mTv.getSelectionEnd());

Completed in 411 milliseconds