Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java36 import com.android.documentsui.DragAndDropManager.RuntimeDragAndDropManager;
37 import com.android.documentsui.DragAndDropManager.State;
94 private DragAndDropManager mManager;
282 mShadowBuilder.state.assertLastArgument(DragAndDropManager.STATE_UNKNOWN); in testDefaultToUnknownState()
299 assertStateUpdated(DragAndDropManager.STATE_NOT_ALLOWED); in testUpdateStateToNotAllowed()
317 assertEquals(DragAndDropManager.STATE_NOT_ALLOWED, state); in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate()
318 assertStateUpdated(DragAndDropManager.STATE_NOT_ALLOWED); in testUpdateState_UpdatesToNotAllowed_RootNotSupportCreate()
336 assertEquals(DragAndDropManager.STATE_UNKNOWN, state); in testUpdateState_UpdatesToUnknown_RootDocIsNull()
337 assertStateUpdated(DragAndDropManager.STATE_UNKNOWN); in testUpdateState_UpdatesToUnknown_RootDocIsNull()
355 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_SameRoot()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDragStartListener.java31 import com.android.documentsui.DragAndDropManager;
72 private final DragAndDropManager mDragAndDropManager;
85 DragAndDropManager dragAndDropManager) { in RuntimeDragStartListener()
176 DragAndDropManager dragAndDropManager) { in create()
DDragHost.java32 import com.android.documentsui.DragAndDropManager;
59 DragAndDropManager dragAndDropManager, in DragHost()
DDirectoryDragListener.java22 import com.android.documentsui.DragAndDropManager;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDropBadgeView.java19 import com.android.documentsui.DragAndDropManager.State;
68 case DragAndDropManager.STATE_NOT_ALLOWED: in onCreateDrawableState()
71 case DragAndDropManager.STATE_COPY: in onCreateDrawableState()
DDocumentsApplication.java50 private DragAndDropManager mDragAndDropManager;
81 public static DragAndDropManager getDragAndDropManager(Context context) { in getDragAndDropManager()
118 mDragAndDropManager = DragAndDropManager.create(this, mClipper); in onCreate()
DAbstractDragHost.java29 protected DragAndDropManager mDragAndDropManager;
31 public AbstractDragHost(DragAndDropManager dragAndDropManager) { in AbstractDragHost()
DDragAndDropManager.java51 public interface DragAndDropManager { interface
155 static DragAndDropManager create(Context context, DocumentClipper clipper) { in create()
159 class RuntimeDragAndDropManager implements DragAndDropManager {
DDragShadowBuilder.java19 import com.android.documentsui.DragAndDropManager.State;
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java25 import com.android.documentsui.DragAndDropManager;
43 DragAndDropManager dragAndDropManager, in DragHost()
91 == DragAndDropManager.STATE_UNKNOWN) { in onDragEntered()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java27 import com.android.documentsui.DragAndDropManager;
38 public class TestDragAndDropManager implements DragAndDropManager {
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java47 import com.android.documentsui.DragAndDropManager;
98 private final DragAndDropManager mDragAndDropManager;
111 DragAndDropManager dragAndDropManager, in ActionHandler()