Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java285 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode()
295 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode()
300 if (mEditor.startActionModeInternal(actionMode)) { in startActionMode()
307 switch (actionMode) { in startActionMode()
487 final ActionMode actionMode = mEditor.getTextActionMode(); in invalidateActionMode() local
488 if (actionMode != null) { in invalidateActionMode()
489 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()