Searched refs:dropEvent (Results 1 – 3 of 3) sorted by relevance
179 final DragEvent dropEvent = DragEvents.createTestDropEvent(null); in testNoDropWithoutClipData() local180 assertFalse(mListener.onDrag(mTestView, dropEvent)); in testNoDropWithoutClipData()188 final DragEvent dropEvent = DragEvents.createTestDropEvent(data); in testDoDropWithClipData() local189 mListener.onDrag(mTestView, dropEvent); in testDoDropWithClipData()192 assertSame(dropEvent, mListener.mLastDropEvent); in testDoDropWithClipData()
86 final DragEvent dropEvent = DragEvents.createTestDropEvent(data); in testHandleDrop_onValidView() local91 assertTrue(dragHost.handleDropEvent(view, dropEvent)); in testHandleDrop_onValidView()98 final DragEvent dropEvent = DragEvents.createTestDropEvent(data); in testHandleDrop_notOnValidView() local101 assertFalse(dragHost.handleDropEvent(view, dropEvent)); in testHandleDrop_notOnValidView()
44 final DragEvent dropEvent = createTestDragEvent(DragEvent.ACTION_DROP); in createTestDropEvent() local45 Mockito.when(dropEvent.getClipData()).thenReturn(clipData); in createTestDropEvent()47 return dropEvent; in createTestDropEvent()