Searched refs:getSelectionStart (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/core/java/android/text/
H A DSelection.java37 public static final int getSelectionStart(CharSequence text) { method in class:Selection
72 int ostart = getSelectionStart(text);
123 int start = getSelectionStart(text);
169 int start = getSelectionStart(text);
214 int start = getSelectionStart(text);
239 int start = getSelectionStart(text);
/frameworks/base/core/java/android/widget/
H A DSelectionActionModeHelper.java81 mTextView.getSelectionStart(),
116 mTextView.getSelectionStart(), mTextView.getSelectionEnd(),
122 mTextView.getSelectionStart(), mTextView.getSelectionEnd(),
160 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart();
198 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), mTextClassification);
206 mTextView.getSelectionStart(), mTextView.getSelectionEnd(),
311 mSelectionStart = editor.getTextView().getSelectionStart();
314 textView.getSelectionStart(), textView.getSelectionEnd(),
H A DEditor.java388 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2;
1008 int selectionStart = mTextView.getSelectionStart();
1075 final int start = mTextView.getSelectionStart();
1148 int selStart = mTextView.getSelectionStart();
1570 outText.selectionStart = mTextView.getSelectionStart();
1623 final int selectionStart = mTextView.getSelectionStart();
1642 final int selectionStart = mTextView.getSelectionStart();
1920 final int offset = mTextView.getSelectionStart();
2134 final int selectionStart = mTextView.getSelectionStart();
2193 SuggestionSpan[] suggestionSpans = spannable.getSpans(mTextView.getSelectionStart(),
[all...]
H A DTextView.java5011 start = getSelectionStart();
5470 int start = getSelectionStart();
6404 curs = getSelectionStart();
6684 final int selStart = getSelectionStart();
6909 int selStart = getSelectionStart();
7544 outAttrs.initialSelStart = getSelectionStart();
8836 int start = getSelectionStart();
8954 * Convenience for {@link Selection#getSelectionStart}.
8957 public int getSelectionStart() { method in class:TextView
8958 return Selection.getSelectionStart(getTex
[all...]
H A DSpellChecker.java264 final int selectionStart = Selection.getSelectionStart(editable);
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java108 int selectionStart = textView.getSelectionStart();
166 int selectionStart = textView.getSelectionStart();
H A DTextViewActions.java455 mTextView.getSelectionStart() : mTextView.getSelectionEnd();
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java223 int a = Selection.getSelectionStart(content);
380 int a = Selection.getSelectionStart(content);
458 int a = Selection.getSelectionStart(content);
485 int a = Selection.getSelectionStart(content);
516 int a = Selection.getSelectionStart(content);
541 int a = Selection.getSelectionStart(content);
788 a = Selection.getSelectionStart(content);
H A DCursorAnchorInfo.java445 public int getSelectionStart() { method in class:CursorAnchorInfo
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java227 int oldSelStart = Selection.getSelectionStart(getText());
235 mManager.showSoftKey(Selection.getSelectionStart(getText()),
280 boolean selection = getSelectionStart() != getSelectionEnd();
1052 uri, mEST.getMaxImageWidthPx()), mEST.getSelectionStart());
1057 resId, mEST.getMaxImageWidthDip()), mEST.getSelectionStart());
1064 int curpos = mEST.getSelectionStart();
1299 public int getSelectionStart() { 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(), getSelectionEn
[all...]
/frameworks/base/apct-tests/perftests/core/src/android/widget/
H A DEditTextCursorMovementPerfTest.java109 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText()));
H A DEditTextBackspacePerfTest.java109 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText()));
/frameworks/base/core/java/android/text/method/
H A DBaseKeyListener.java377 int currentCursorOffset = Selection.getSelectionStart(content);
425 int selectionStart = Selection.getSelectionStart(content);
443 final int line = layout.getLineForOffset(Selection.getSelectionStart(content));
508 int selectionStart = Selection.getSelectionStart(content);
H A DMultiTapKeyListener.java98 int a = Selection.getSelectionStart(content);
273 int st = Selection.getSelectionStart(buf);
H A DLinkMovementMethod.java112 int a = Selection.getSelectionStart(buffer);
H A DNumberKeyListener.java111 int a = Selection.getSelectionStart(content);
H A DQwertyKeyListener.java99 int a = Selection.getSelectionStart(content);
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiInputFilter.java111 final int selectionStart = Selection.getSelectionStart(result);
H A DEmojiTextWatcher.java122 final int selectionStart = Selection.getSelectionStart(text);
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DCursorAnchorInfoTest.java107 assertEquals(SELECTION_START, info.getSelectionStart());
132 assertEquals(SELECTION_START, info2.getSelectionStart());
159 assertEquals(SELECTION_START, info3.getSelectionStart());
185 assertEquals(-1, uninitializedInfo.getSelectionStart());
/frameworks/base/core/java/android/transition/
H A DChangeText.java134 textview.getSelectionStart());
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DEmojiProcessor.java297 final int start = Selection.getSelectionStart(content);
350 final int selectionStart = Selection.getSelectionStart(editable);
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DForwardDeleteTest.java66 state.mSelectionStart = mTextView.getSelectionStart();
H A DBackspaceTest.java66 state.mSelectionStart = mTextView.getSelectionStart();
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
H A DGridWidgetTest.java3290 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionStart(), 1);
3292 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionStart(), 1);
3310 assertEquals(((TextView) mGridView.getChildAt(0)).getSelectionStart(), 1);
3312 assertEquals(((TextView) mGridView.getChildAt(1)).getSelectionStart(), 1);
3365 assertEquals(-1, ((TextView) mGridView.getChildAt(i)).getSelectionStart());

Completed in 1133 milliseconds

12