Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityDragAndDropActivity.java46 View.DragShadowBuilder shadowBuilder = new View.DragShadowBuilder(); in onCreate()
47 return host.startDragAndDrop(clipData, shadowBuilder, null, in onCreate()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4623 private boolean startDragAndDrop(View view, View.DragShadowBuilder shadowBuilder) { in startDragAndDrop() argument
4632 return view.startDragAndDrop(ClipData.newPlainText("", ""), shadowBuilder, view, 0); in startDragAndDrop()
4636 View.DragShadowBuilder shadowBuilder = mock(View.DragShadowBuilder.class); in createDragShadowBuidler() local
4642 }).when(shadowBuilder).onProvideShadowMetrics(any(), any()); in createDragShadowBuidler()
4643 return shadowBuilder; in createDragShadowBuidler()
4651 final View.DragShadowBuilder shadowBuilder = createDragShadowBuidler(); in testUpdateDragShadow() local
4653 assertTrue("Could not start drag and drop", startDragAndDrop(view, shadowBuilder)); in testUpdateDragShadow()
4654 reset(shadowBuilder); in testUpdateDragShadow()
4655 view.updateDragShadow(shadowBuilder); in testUpdateDragShadow()
4657 verify(shadowBuilder).onDrawShadow(any(Canvas.class)); in testUpdateDragShadow()
[all …]