Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java164 private final DragShadowBuilder mShadowBuilder; field in DragAndDropManager.RuntimeDragAndDropManager
198 mShadowBuilder = builder; in RuntimeDragAndDropManager()
261 mShadowBuilder, in startDrag()
281 mShadowBuilder.updateTitle(title); in updateShadow()
282 mShadowBuilder.updateIcon(icon); in updateShadow()
284 mShadowBuilder.onStateUpdated(STATE_UNKNOWN); in updateShadow()
361 mShadowBuilder.onStateUpdated(state); in updateState()
370 v.updateDragShadow(mShadowBuilder); in updateDragShadow()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java69 private TestDragShadowBuilder mShadowBuilder; field in DragAndDropManagerTests
102 mShadowBuilder = TestDragShadowBuilder.create(); in setUp()
126 mManager = new RuntimeDragAndDropManager(mActivity, mClipper, mShadowBuilder, in setUp()
132 assertSame(mShadowBuilder, builder); in setUp()
189 mShadowBuilder.title.assertLastArgument(TestEnv.FILE_APK.displayName); in testStartDrag_BuildsCorrectShadow_SingleDoc()
190 mShadowBuilder.icon.assertLastArgument(mIconHelper.nextDocumentIcon); in testStartDrag_BuildsCorrectShadow_SingleDoc()
205 mShadowBuilder.title.assertLastArgument(mActivity.getResources().getQuantityString( in testStartDrag_BuildsCorrectShadow_MultipleDocs()
207 mShadowBuilder.icon.assertLastArgument(mDefaultIcon); in testStartDrag_BuildsCorrectShadow_MultipleDocs()
282 mShadowBuilder.state.assertLastArgument(DragAndDropManager.STATE_UNKNOWN); in testDefaultToUnknownState()
816 mShadowBuilder.state.assertLastArgument(expected); in assertStateUpdated()