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.java109 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTitleOptionalHint() local
112 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
114 actionMode.setTitleOptionalHint(true); in testSetAndGetTitleOptionalHint()
115 assertTrue(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
116 actionMode.setTitleOptionalHint(false); in testSetAndGetTitleOptionalHint()
117 assertFalse(actionMode.getTitleOptionalHint()); in testSetAndGetTitleOptionalHint()
122 final ActionMode actionMode = new MockActionMode(); in testSetAndGetTag() local
126 assertNull(actionMode.getTag()); in testSetAndGetTag()
128 actionMode.setTag(tag); in testSetAndGetTag()
129 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.java1018 final ActionMode actionMode = (ActionMode) invocation.getArguments() [0]; in configureMultiChoiceModalState() local
1020 actionMode.getMenuInflater().inflate(R.menu.cab_menu, menu); in configureMultiChoiceModalState()