Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/widget/
H A DSelectionActionModeHelper.java277 startActionMode(Editor.TextActionMode.TEXT_LINK, result); in startLinkActionMode()
281 startActionMode(Editor.TextActionMode.SELECTION, result); in startSelectionActionMode()
285 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode()
295 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode()
308 case Editor.TextActionMode.SELECTION: in startActionMode()
311 case Editor.TextActionMode.TEXT_LINK: in startActionMode()
H A DEditor.java203 @IntDef({TextActionMode.SELECTION, TextActionMode.INSERTION, TextActionMode.TEXT_LINK})
204 @interface TextActionMode { annotation in Editor
2362 new TextActionModeCallback(TextActionMode.INSERTION); in startInsertionActionMode()
2463 boolean startActionModeInternal(@TextActionMode int actionMode) { in startActionModeInternal()
2473 if (actionMode != TextActionMode.TEXT_LINK in startActionModeInternal()
2482 if (actionMode == TextActionMode.TEXT_LINK && !selectableText in startActionModeInternal()
4174 TextActionModeCallback(@TextActionMode int mode) { in TextActionModeCallback()
4175 mHasSelection = mode == TextActionMode.SELECTION in TextActionModeCallback()
4176 || (mTextIsSelectable && mode == TextActionMode.TEXT_LINK); in TextActionModeCallback()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt70472 Landroid/widget/Editor$TextActionMode;->INSERTION:I
70473 Landroid/widget/Editor$TextActionMode;->SELECTION:I
70474 Landroid/widget/Editor$TextActionMode;->TEXT_LINK:I