Searched refs:mockActionMode (Results 1 – 1 of 1) sorted by relevance
79 final ActionMode mockActionMode = new MockActionMode(); in testSetType() local80 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()82 mockActionMode.setType(ActionMode.TYPE_FLOATING); in testSetType()83 assertEquals(ActionMode.TYPE_FLOATING, mockActionMode.getType()); in testSetType()85 mockActionMode.setType(ActionMode.TYPE_PRIMARY); in testSetType()86 assertEquals(ActionMode.TYPE_PRIMARY, mockActionMode.getType()); in testSetType()91 final ActionMode mockActionMode = spy(new MockActionMode()); in testInvalidateContentRectDoesNotInvalidateFull() local93 mockActionMode.invalidateContentRect(); in testInvalidateContentRectDoesNotInvalidateFull()95 verify(mockActionMode, never()).invalidate(); in testInvalidateContentRectDoesNotInvalidateFull()