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.java120 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTitleOptionalHint() local
123 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
125 actionMode.setTitleOptionalHint(true); in testSetAndGetTitleOptionalHint()
126 assertTrue(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
127 actionMode.setTitleOptionalHint(false); in testSetAndGetTitleOptionalHint()
128 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
133 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTag() local
137 assertNull(actionMode.getTag()); in testSetAndGetTag()
139 actionMode.setTag(tag); in testSetAndGetTag()
140 assertSame(tag, actionMode.getTag()); in testSetAndGetTag()
[all …]
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamServiceTest.java108 ActionMode actionMode = dreamService.onWindowStartingActionMode(null); in testOnWindowStartingActionMode() local
110 assertEquals(actionMode, null); in testOnWindowStartingActionMode()
117 ActionMode actionMode = dreamService.onWindowStartingActionMode( in testOnWindowStartingActionModeTyped() local
120 assertEquals(actionMode, null); in testOnWindowStartingActionModeTyped()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsListViewTest.java1098 final ActionMode actionMode = (ActionMode) invocation.getArguments() [0]; in configureMultiChoiceModalState() local
1100 actionMode.getMenuInflater().inflate(R.menu.cab_menu, menu); in configureMultiChoiceModalState()