Searched refs:locationEvent (Results 1 – 2 of 2) sorted by relevance
36 final DragEvent locationEvent = createTestDragEvent(DragEvent.ACTION_DRAG_LOCATION); in createTestLocationEvent() local37 Mockito.when(locationEvent.getX()).thenReturn(x); in createTestLocationEvent()38 Mockito.when(locationEvent.getY()).thenReturn(y); in createTestLocationEvent()40 return locationEvent; in createTestLocationEvent()
98 DragEvent locationEvent = DragEvents.createTestLocationEvent(3, 4); in testDragLocation_notCrashWithoutBackground() local99 mListener.onDrag(mTestView, locationEvent); in testDragLocation_notCrashWithoutBackground()108 DragEvent locationEvent = DragEvents.createTestLocationEvent(x, y); in testDragLocation_setHotSpotOnBackground() local109 mListener.onDrag(mTestView, locationEvent); in testDragLocation_setHotSpotOnBackground()