Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java791 final ActionMode.Callback amCallback = mock(ActionMode.Callback.class); in testSetSelectionAndActionMode() local
792 when(amCallback.onCreateActionMode(any(ActionMode.class), any(Menu.class))) in testSetSelectionAndActionMode()
794 when(amCallback.onPrepareActionMode(any(ActionMode.class), any(Menu.class))) in testSetSelectionAndActionMode()
796 textView.setCustomSelectionActionModeCallback(amCallback); in testSetSelectionAndActionMode()
804 verify(amCallback, never()).onCreateActionMode(any(ActionMode.class), any(Menu.class)); in testSetSelectionAndActionMode()