Searched refs:shadowBuilder (Results 1 – 1 of 1) sorted by relevance
4299 private boolean startDragAndDrop(View view, View.DragShadowBuilder shadowBuilder) { in startDragAndDrop() argument4308 return view.startDragAndDrop(ClipData.newPlainText("", ""), shadowBuilder, view, 0); in startDragAndDrop()4312 View.DragShadowBuilder shadowBuilder = mock(View.DragShadowBuilder.class); in createDragShadowBuidler() local4318 }).when(shadowBuilder).onProvideShadowMetrics(any(), any()); in createDragShadowBuidler()4319 return shadowBuilder; in createDragShadowBuidler()4327 final View.DragShadowBuilder shadowBuilder = createDragShadowBuidler(); in testUpdateDragShadow() local4329 assertTrue("Could not start drag and drop", startDragAndDrop(view, shadowBuilder)); in testUpdateDragShadow()4330 reset(shadowBuilder); in testUpdateDragShadow()4331 view.updateDragShadow(shadowBuilder); in testUpdateDragShadow()4333 verify(shadowBuilder).onDrawShadow(any(Canvas.class)); in testUpdateDragShadow()[all …]