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

/frameworks/base/core/java/android/widget/
H A DEditor.java1052 mCreatedWithASelection = mFrozenWithFocus && mTextView.hasSelection() &&
1194 if (mSelectionModifierCursorController != null && mTextView.hasSelection()
1723 new TextActionModeCallback(false /* hasSelection */);
1790 if (!mTextView.hasSelection()) {
1814 new TextActionModeCallback(true /* hasSelection */);
3114 public TextActionModeCallback(boolean hasSelection) { argument
3115 mHasSelection = hasSelection;
3229 && !(mTextView.isInExtractedMode() && mTextView.hasSelection());
H A DTextView.java5413 || mText instanceof Spannable || hasSelection()
7597 public boolean hasSelection() { method in class:TextView
7605 if (!hasSelection()) {
9385 if (mText.length() > 0 && hasSelection() && mText instanceof Editable && mEditor != null &&
9398 if (mText.length() > 0 && hasSelection() && mEditor != null) {
9424 if (mText.length() > 0 && hasSelection() && mEditor != null) {

Completed in 87 milliseconds