Home
last modified time | relevance | path

Searched refs:TextActionMode (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java276 startActionMode(Editor.TextActionMode.TEXT_LINK, result); in startLinkActionMode()
280 startActionMode(Editor.TextActionMode.SELECTION, result); in startSelectionActionMode()
284 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode()
294 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode()
307 case Editor.TextActionMode.SELECTION: in startActionMode()
310 case Editor.TextActionMode.TEXT_LINK: in startActionMode()
DEditor.java194 @IntDef({TextActionMode.SELECTION, TextActionMode.INSERTION, TextActionMode.TEXT_LINK})
195 @interface TextActionMode { annotation in Editor
2265 new TextActionModeCallback(TextActionMode.INSERTION); in startInsertionActionMode()
2366 boolean startActionModeInternal(@TextActionMode int actionMode) { in startActionModeInternal()
2376 if (actionMode != TextActionMode.TEXT_LINK in startActionModeInternal()
2385 if (actionMode == TextActionMode.TEXT_LINK && !selectableText in startActionModeInternal()
4075 TextActionModeCallback(@TextActionMode int mode) { in TextActionModeCallback()
4076 mHasSelection = mode == TextActionMode.SELECTION in TextActionModeCallback()
4077 || (mTextIsSelectable && mode == TextActionMode.TEXT_LINK); in TextActionModeCallback()