Searched refs:shadowBuilder (Results 1 – 1 of 1) sorted by relevance
4554 private boolean startDragAndDrop(View view, View.DragShadowBuilder shadowBuilder) { in startDragAndDrop() argument4563 return view.startDragAndDrop(ClipData.newPlainText("", ""), shadowBuilder, view, 0); in startDragAndDrop()4567 View.DragShadowBuilder shadowBuilder = mock(View.DragShadowBuilder.class); in createDragShadowBuidler() local4573 }).when(shadowBuilder).onProvideShadowMetrics(any(), any()); in createDragShadowBuidler()4574 return shadowBuilder; in createDragShadowBuidler()4582 final View.DragShadowBuilder shadowBuilder = createDragShadowBuidler(); in testUpdateDragShadow() local4584 assertTrue("Could not start drag and drop", startDragAndDrop(view, shadowBuilder)); in testUpdateDragShadow()4585 reset(shadowBuilder); in testUpdateDragShadow()4586 view.updateDragShadow(shadowBuilder); in testUpdateDragShadow()4588 verify(shadowBuilder).onDrawShadow(any(Canvas.class)); in testUpdateDragShadow()[all …]