Home
last modified time | relevance | path

Searched refs:shadowBuilder (Results 1 – 1 of 1) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4299 private boolean startDragAndDrop(View view, View.DragShadowBuilder shadowBuilder) { in startDragAndDrop() argument
4308 return view.startDragAndDrop(ClipData.newPlainText("", ""), shadowBuilder, view, 0); in startDragAndDrop()
4312 View.DragShadowBuilder shadowBuilder = mock(View.DragShadowBuilder.class); in createDragShadowBuidler() local
4318 }).when(shadowBuilder).onProvideShadowMetrics(any(), any()); in createDragShadowBuidler()
4319 return shadowBuilder; in createDragShadowBuidler()
4327 final View.DragShadowBuilder shadowBuilder = createDragShadowBuidler(); in testUpdateDragShadow() local
4329 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 …]