Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DActionModeTest.java108 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTitleOptionalHint() local
111 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
113 actionMode.setTitleOptionalHint(true); in testSetAndGetTitleOptionalHint()
114 assertTrue(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
115 actionMode.setTitleOptionalHint(false); in testSetAndGetTitleOptionalHint()
116 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
121 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTag() local
125 assertNull(actionMode.getTag()); in testSetAndGetTag()
127 actionMode.setTag(tag); in testSetAndGetTag()
128 assertSame(tag, actionMode.getTag()); in testSetAndGetTag()
[all …]
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamServiceTest.java28 ActionMode actionMode = dreamService.onWindowStartingActionMode(null); in testOnWindowStartingActionMode() local
30 assertNull(actionMode); in testOnWindowStartingActionMode()
37 ActionMode actionMode = dreamService.onWindowStartingActionMode( in testOnWindowStartingActionModeTyped() local
40 assertNull(actionMode); in testOnWindowStartingActionModeTyped()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java948 final ActionMode actionMode = (ActionMode) invocation.getArguments() [0]; in configureMultiChoiceModalState() local
950 actionMode.getMenuInflater().inflate(R.menu.cab_menu, menu); in configureMultiChoiceModalState()