Searched refs:hasSelection (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
H A DTextViewActivityMouseTest.java43 import static android.widget.espresso.TextViewAssertions.hasSelection;
93 onView(withId(R.id.textview)).check(hasSelection("llo wor"));
101 onView(withId(R.id.textview)).check(hasSelection(""));
114 onView(withId(R.id.textview)).check(hasSelection("llo wor"));
167 onView(withId(R.id.textview)).check(hasSelection("c def g"));
179 onView(withId(R.id.textview)).check(hasSelection(""));
197 onView(withId(R.id.textview)).check(hasSelection(""));
214 onView(withId(R.id.textview)).check(hasSelection(""));
226 onView(withId(R.id.textview)).check(hasSelection("Hello"));
230 onView(withId(R.id.textview)).check(hasSelection("worl
[all...]
H A DTextViewActivityTest.java47 import static android.widget.espresso.TextViewAssertions.hasSelection;
183 onView(withId(R.id.textview)).check(hasSelection("Kirk"));
207 onView(withId(R.id.textview)).check(hasSelection("little handsome"));
216 onView(withId(R.id.textview)).check(hasSelection("\uD83D\uDE02"));
221 onView(withId(R.id.textview)).check(hasSelection("\uD83D\uDE01"));
234 onView(withId(R.id.textview)).check(hasSelection(""));
252 onView(withId(R.id.textview)).check(hasSelection("SuetYi"));
262 onView(withId(R.id.textview)).check(hasSelection("young beautiful"));
271 onView(withId(R.id.textview)).check(hasSelection("abcd\nefg\nhijklm"));
281 onView(withId(R.id.textview)).check(hasSelection("kin
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DTextViewAssertions.java62 public static ViewAssertion hasSelection(String selection) { method in class:TextViewAssertions
63 return hasSelection(is(selection));
77 public static ViewAssertion hasSelection(Matcher<String> selection) { method in class:TextViewAssertions
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/
H A DMouseInputHandler.java114 if (mSelectionTracker.hasSelection()) {
126 checkState(mSelectionTracker.hasSelection());
156 if (mSelectionTracker.hasSelection()) {
H A DDefaultSelectionTracker.java110 public boolean hasSelection() { method in class:DefaultSelectionTracker
160 if (!hasSelection()) {
170 if (!hasSelection()) {
188 if (hasSelection()) {
210 if (mSingleSelect && hasSelection()) {
H A DTouchInputHandler.java90 if (mSelectionTracker.hasSelection()) {
H A DSelectionTracker.java114 public abstract boolean hasSelection(); method in class:SelectionTracker
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/
H A DDefaultSelectionTrackerTest.java189 assertFalse(mTracker.hasSelection());
199 assertFalse(mTracker.hasSelection());
/frameworks/base/core/java/android/widget/
H A DEditor.java473 if (mTextView.hasSelection()) {
1249 mCreatedWithASelection = mFrozenWithFocus && mTextView.hasSelection()
1330 if (!mTextView.textCanBeSelected() && mTextView.hasSelection()) {
1397 if (mTextView.hasSelection() && !extractedTextModeWillBeStarted()) {
1593 final CursorController cursorController = mTextView.hasSelection()
2056 final boolean hasSelection = mTextView.hasSelection();
2065 if (hasSelection) {
2182 if (!mTextView.hasSelection() && !selectCurrentWord()) {
2217 && (!checkField() || !mTextView.hasSelection())) {
[all...]
H A DTextView.java5320 boolean hasSelection = false;
5329 hasSelection = true;
5333 if (freezesText || hasSelection) {
5351 if (hasSelection) {
6935 || mSpannable != null || hasSelection() || isHorizontalFadingEdgeEnabled());
9349 public boolean hasSelection() { method in class:TextView
9357 if (!hasSelection()) {
9904 if (!hasSelection()
11254 final boolean hadSelection = hasSelection();
11654 if (mText.length() > 0 && hasSelection()
[all...]
/frameworks/base/config/
H A Dboot-image-profile.txt[all...]

Completed in 176 milliseconds