Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java284 @Editor.TextActionMode int actionMode, @Nullable SelectionResult result) { in startActionMode()
294 } else if (result != null && actionMode == Editor.TextActionMode.TEXT_LINK) { in startActionMode()
299 if (mEditor.startActionModeInternal(actionMode)) { in startActionMode()
306 switch (actionMode) { in startActionMode()
485 final ActionMode actionMode = mEditor.getTextActionMode(); in invalidateActionMode() local
486 if (actionMode != null) { in invalidateActionMode()
487 actionMode.invalidate(); in invalidateActionMode()
DEditor.java2366 boolean startActionModeInternal(@TextActionMode int actionMode) { in startActionModeInternal() argument
2376 if (actionMode != TextActionMode.TEXT_LINK in startActionModeInternal()
2381 ActionMode.Callback actionModeCallback = new TextActionModeCallback(actionMode); in startActionModeInternal()
2385 if (actionMode == TextActionMode.TEXT_LINK && !selectableText in startActionModeInternal()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java995 public boolean onCreateActionMode(ActionMode actionMode, Menu menu) { in testResetMenuItemTitle()
1000 public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) { in testResetMenuItemTitle()
1007 public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) { in testResetMenuItemTitle()
1012 public void onDestroyActionMode(ActionMode actionMode) { in testResetMenuItemTitle()
1038 public boolean onCreateActionMode(ActionMode actionMode, Menu menu) { in testAssistItemIsAtIndexZero()
1046 public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) { in testAssistItemIsAtIndexZero()
1051 public boolean onActionItemClicked(ActionMode actionMode, MenuItem menuItem) { in testAssistItemIsAtIndexZero()
1056 public void onDestroyActionMode(ActionMode actionMode) { in testAssistItemIsAtIndexZero()