Searched refs:mockActionMode (Results 1 – 1 of 1) sorted by relevance
68 final ActionMode mockActionMode = new MockActionMode(); in testSetType() local69 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()71 mockActionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()72 assertEquals(ActionMode.TYPE_FLOATING, mockActionMode.getType()); in testSetType()74 mockActionMode.setType(ActionMode.TYPE_PRIMARY); in testSetType()75 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()80 final ActionMode mockActionMode = spy(new MockActionMode()); in testInvalidateContentRectDoesNotInvalidateFull() local82 mockActionMode.invalidateContentRect(); in testInvalidateContentRectDoesNotInvalidateFull()84 verify(mockActionMode, never()).invalidate(); in testInvalidateContentRectDoesNotInvalidateFull()