Searched refs:getSelectionEnd (Results 1 - 23 of 23) 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.java531 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.java98 final int start = Selection.getSelectionEnd(content);
116 if (currentCursorOffset != Selection.getSelectionEnd(content)) {
162 int selectionEnd = Selection.getSelectionEnd(content);
244 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.java90 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd}
96 int end = getSelectionEnd();
114 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd}
121 int end = getSelectionEnd();
178 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd} by the
193 int end = getSelectionEnd();
H A DEditor.java325 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2;
352 mTextView.getSelectionStart() != mTextView.getSelectionEnd()) {
895 int selectionEnd = mTextView.getSelectionEnd();
1010 final int end = mTextView.getSelectionEnd();
1045 int selEnd = mTextView.getSelectionEnd();
1114 final int selEnd = mTextView.getSelectionEnd();
1409 outText.selectionEnd = mTextView.getSelectionEnd();
1458 final int selectionEnd = mTextView.getSelectionEnd();
1477 final int selectionEnd = mTextView.getSelectionEnd();
1849 final int selectionEnd = mTextView.getSelectionEnd();
[all...]
H A DSpellChecker.java265 final int selectionEnd = Selection.getSelectionEnd(editable);
H A DTextView.java1480 Selection.setSelection((Spannable) mText, getSelectionStart(), getSelectionEnd());
4007 end = getSelectionEnd();
4406 int end = getSelectionEnd();
5119 int where = getSelectionEnd();
5216 int curs = getSelectionEnd();
5513 final int selEnd = getSelectionEnd();
5733 int selEnd = getSelectionEnd();
6309 outAttrs.initialSelEnd = getSelectionEnd();
7463 int end = getSelectionEnd();
7587 * Convenience for {@link Selection#getSelectionEnd}
7590 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.java615 int end = getSelectionEnd();
628 int selEnd = getSelectionEnd();
1399 int end = getSelectionEnd();
1407 if (whatEnd != getSelectionEnd()) {
1422 int end = getSelectionEnd();
1433 && end == getSelectionEnd() && !isPhoneQuery()) {
1471 if (end == getSelectionEnd()) {
1542 int selEnd = getSelectionEnd();
1599 * {@link Tokenizer#findTokenStart} to {@link #getSelectionEnd}
1607 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());
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
H A DGridWidgetTest.java1740 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionEnd(), 2);
1742 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionEnd(), 2);
1758 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionEnd(), 2);
1760 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionEnd(), 2);
1810 assertEquals(-1, ((TextView) mGridView.getChildAt(i)).getSelectionEnd());

Completed in 441 milliseconds