Searched refs:hasSelection (Results 1 – 11 of 11) sorted by relevance
34 import static android.widget.espresso.TextViewAssertions.hasSelection;78 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag()86 onView(withId(R.id.textview)).check(hasSelection("")); in testSelectTextByDrag()99 onView(withId(R.id.textview)).check(hasSelection("llo wor")); in testSelectTextByDrag_reverse()135 onView(withId(R.id.textview)).check(hasSelection("c def g")); in testContextMenu()147 onView(withId(R.id.textview)).check(hasSelection("")); in testContextMenu()165 onView(withId(R.id.textview)).check(hasSelection("")); in testDragAndDrop()182 onView(withId(R.id.textview)).check(hasSelection("")); in testDragAndDrop_longClick()194 onView(withId(R.id.textview)).check(hasSelection("Hello")); in testSelectTextByLongClick()198 onView(withId(R.id.textview)).check(hasSelection("world")); in testSelectTextByLongClick()[all …]
30 import static android.widget.espresso.TextViewAssertions.hasSelection;141 onView(withId(R.id.textview)).check(hasSelection("Kirk")); in testLongPressToSelect()165 onView(withId(R.id.textview)).check(hasSelection("little handsome")); in testLongPressAndDragToSelect()179 onView(withId(R.id.textview)).check(hasSelection("")); in testDragAndDrop()198 onView(withId(R.id.textview)).check(hasSelection("SuetYi")); in testDoubleTapToSelect()209 onView(withId(R.id.textview)).check(hasSelection("young beautiful")); in testDoubleTapAndDragToSelect()220 onView(withId(R.id.textview)).check(hasSelection("king of the")); in testSelectBackwordsByTouch()382 onView(withId(R.id.textview)).check(hasSelection("abcd efg")); in testSelectionHandles()386 onView(withId(R.id.textview)).check(hasSelection("abcd efg hijk")); in testSelectionHandles()404 onView(withId(R.id.textview)).check(hasSelection("\u0621\u0622\u0623")); in testSelectionHandles_bidi()[all …]
57 public static ViewAssertion hasSelection(String selection) { in hasSelection() method in TextViewAssertions58 return hasSelection(is(selection)); in hasSelection()72 public static ViewAssertion hasSelection(Matcher<String> selection) { in hasSelection() method in TextViewAssertions
201 public boolean hasSelection() { in hasSelection() method in MultiSelectManager279 if (!hasSelection()) { in clearSelectionQuietly()305 if (!hasSelection()) { in onSingleTapUp()456 if (mSingleSelect && hasSelection()) { in updateRange()506 if (mSingleSelect && hasSelection()) { in attemptSelect()
702 if (mSelectionManager.hasSelection()) { in onBackPressed()1452 if (mSelectionManager.hasSelection()) { in onActivate()1509 if (mSelectionManager.hasSelection()) { in onKey()
384 if (mTextView.hasSelection()) { in onAttachedToWindow()1150 mCreatedWithASelection = mFrozenWithFocus && mTextView.hasSelection() && in onFocusChanged()1288 if (mTextView.hasSelection() && !extractedTextModeWillBeStarted()) { in onWindowFocusChanged()1472 final CursorController cursorController = mTextView.hasSelection() ? in finishBatchEdit()1877 final boolean hasSelection = mTextView.hasSelection(); in refreshTextActionMode()1886 if (hasSelection) { in refreshTextActionMode()1966 if (!mTextView.hasSelection() && !selectCurrentWord()) { in selectCurrentWordAndStartDrag()2000 if (!checkField() || !mTextView.hasSelection()) { in startSelectionActionModeInternal()2494 final boolean isOnSelection = mTextView.hasSelection() in onCreateContextMenu()3657 public TextActionModeCallback(boolean hasSelection) { in TextActionModeCallback() argument[all …]
4122 boolean hasSelection = false; in onSaveInstanceState()4131 hasSelection = true; in onSaveInstanceState()4135 if (freezesText || hasSelection) { in onSaveInstanceState()4153 if (hasSelection) { in onSaveInstanceState()5558 || mText instanceof Spannable || hasSelection() in hasOverlappingRendering()7791 public boolean hasSelection() { in hasSelection() method in TextView7799 if (!hasSelection()) { in getSelectedText()8297 if (!hasSelection() && mEditor.mTextActionMode == null && hasTransientState()) { in spanChange()9571 if (mText.length() > 0 && hasSelection() && mText instanceof Editable && mEditor != null && in canCut()9584 if (mText.length() > 0 && hasSelection() && mEditor != null) { in canCopy()
38831 method public boolean hasSelection();
47968 method public boolean hasSelection();
48047 method public boolean hasSelection();
51325 method public boolean hasSelection();