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.java4774 private boolean startDragAndDrop(View view, View.DragShadowBuilder shadowBuilder) { in startDragAndDrop() argument
4787 return view.startDragAndDrop(ClipData.newPlainText("", ""), shadowBuilder, view, 0); in startDragAndDrop()
4791 View.DragShadowBuilder shadowBuilder = mock(View.DragShadowBuilder.class); in createDragShadowBuidler() local
4797 }).when(shadowBuilder).onProvideShadowMetrics(any(), any()); in createDragShadowBuidler()
4798 return shadowBuilder; in createDragShadowBuidler()
4806 final View.DragShadowBuilder shadowBuilder = createDragShadowBuidler(); in testUpdateDragShadow() local
4808 assertTrue("Could not start drag and drop", startDragAndDrop(view, shadowBuilder)); in testUpdateDragShadow()
4809 reset(shadowBuilder); in testUpdateDragShadow()
4810 view.updateDragShadow(shadowBuilder); in testUpdateDragShadow()
4812 verify(shadowBuilder).onDrawShadow(any(Canvas.class)); in testUpdateDragShadow()
[all …]