Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java252 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode()
262 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode()
267 if (mEditor.startActionModeInternal(actionMode)) { in startActionMode()
274 switch (actionMode) { in startActionMode()
453 final ActionMode actionMode = mEditor.getTextActionMode(); in invalidateActionMode() local
454 if (actionMode != null) { in invalidateActionMode()
455 actionMode.invalidate(); in invalidateActionMode()
DEditor.java2229 boolean startActionModeInternal(@TextActionMode int actionMode) { in startActionModeInternal() argument
2239 if (actionMode != TextActionMode.TEXT_LINK in startActionModeInternal()
2244 ActionMode.Callback actionModeCallback = new TextActionModeCallback(actionMode); in startActionModeInternal()
2248 if (actionMode == TextActionMode.TEXT_LINK && !selectableText in startActionModeInternal()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java895 public boolean onCreateActionMode(ActionMode actionMode, Menu menu) { in testResetMenuItemTitle()
900 public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) { in testResetMenuItemTitle()
907 public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) { in testResetMenuItemTitle()
912 public void onDestroyActionMode(ActionMode actionMode) { in testResetMenuItemTitle()
938 public boolean onCreateActionMode(ActionMode actionMode, Menu menu) { in testAssistItemIsAtIndexZero()
946 public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) { in testAssistItemIsAtIndexZero()
951 public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) { in testAssistItemIsAtIndexZero()
956 public void onDestroyActionMode(ActionMode actionMode) { in testAssistItemIsAtIndexZero()