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

12

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
H A DTouchableMovementMethod.java66 mLastEventResult = Selection.getSelectionStart(buffer) != -1;
/frameworks/base/core/java/android/text/
H A DSelection.java39 public static final int getSelectionStart(CharSequence text) { method in class:Selection
89 int ostart = getSelectionStart(text);
198 int start = getSelectionStart(text);
269 int start = getSelectionStart(text);
305 int start = getSelectionStart(text);
330 int start = getSelectionStart(text);
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java111 int selectionStart = textView.getSelectionStart();
169 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 DEditTextBackspacePerfTest.java104 Assert.assertEquals(mCursorPos, Selection.getSelectionStart(editText.getText()));
H A DEditTextCursorMovementPerfTest.java104 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.java116 int a = Selection.getSelectionStart(buffer);
H A DNumberKeyListener.java111 int a = Selection.getSelectionStart(content);
H A DQwertyKeyListener.java99 int a = Selection.getSelectionStart(content);
/frameworks/base/core/java/android/widget/
H A DSelectionActionModeHelper.java110 mTextView.getSelectionStart(),
170 mTextView.getSelectionStart(), mTextView.getSelectionEnd(),
176 mTextView.getSelectionStart(), mTextView.getSelectionEnd(),
229 final boolean noSelection = mTextView.getSelectionEnd() == mTextView.getSelectionStart();
299 result != null && (mTextView.getSelectionStart() != result.mStart
451 mTextView.getSelectionStart(), mTextView.getSelectionEnd(), mTextClassification);
458 selectionStart = mTextView.getSelectionStart();
594 mSelectionStart = editor.getTextView().getSelectionStart();
597 textView.getSelectionStart(), textView.getSelectionEnd(),
H A DEditor.java444 int middle = (mTextView.getSelectionStart() + mTextView.getSelectionEnd()) / 2;
1093 int selectionStart = mTextView.getSelectionStart();
1160 final int start = mTextView.getSelectionStart();
1241 int selStart = mTextView.getSelectionStart();
1680 outText.selectionStart = mTextView.getSelectionStart();
1738 final int selectionStart = mTextView.getSelectionStart();
1757 final int selectionStart = mTextView.getSelectionStart();
2042 final int offset = mTextView.getSelectionStart();
2264 final int selectionStart = mTextView.getSelectionStart();
2323 SuggestionSpan[] suggestionSpans = spannable.getSpans(mTextView.getSelectionStart(),
[all...]
H A DTextView.java5325 start = getSelectionStart();
5805 int start = getSelectionStart();
6754 curs = getSelectionStart();
7033 final int selStart = getSelectionStart();
7256 int selStart = getSelectionStart();
7890 outAttrs.initialSelStart = getSelectionStart();
9213 int start = getSelectionStart();
9331 * Convenience for {@link Selection#getSelectionStart}.
9334 public int getSelectionStart() { method in class:TextView
9335 return Selection.getSelectionStart(getTex
[all...]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
H A DLinkSpanTest.java90 assertThat(Selection.getSelectionStart(textView.getText())).isEqualTo(0);
/frameworks/support/emoji/core/src/main/java/androidx/emoji/widget/
H A DEmojiInputFilter.java113 final int selectionStart = Selection.getSelectionStart(result);
H A DEmojiTextWatcher.java124 final int selectionStart = Selection.getSelectionStart(text);
/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DCursorAnchorInfoTest.java119 assertEquals(SELECTION_START, info.getSelectionStart());
144 assertEquals(SELECTION_START, info2.getSelectionStart());
171 assertEquals(SELECTION_START, info3.getSelectionStart());
197 assertEquals(-1, uninitializedInfo.getSelectionStart());
/frameworks/base/core/java/android/transition/
H A DChangeText.java134 textview.getSelectionStart());
/frameworks/support/emoji/core/src/main/java/androidx/emoji/text/
H A DEmojiProcessor.java326 final int start = Selection.getSelectionStart(content);
379 final int selectionStart = Selection.getSelectionStart(editable);
/frameworks/base/core/tests/coretests/src/android/text/method/
H A DForwardDeleteTest.java68 state.mSelectionStart = mTextView.getSelectionStart();
H A DBackspaceTest.java70 state.mSelectionStart = mTextView.getSelectionStart();

Completed in 419 milliseconds

12