Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java355 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_SameRoot()
356 assertStateUpdated(DragAndDropManager.STATE_MOVE); in testUpdateState_UpdatesToMove_SameRoot()
440 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed()
441 assertStateUpdated(DragAndDropManager.STATE_MOVE); in testUpdateState_UpdatesToMove_DifferentRoot_LeftCtrlPressed()
462 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed()
463 assertStateUpdated(DragAndDropManager.STATE_MOVE); in testUpdateState_UpdatesToMove_DifferentRoot_RightCtrlPressed()
487 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased()
488 assertStateUpdated(DragAndDropManager.STATE_MOVE); in testUpdateState_UpdatesToMove_SameRoot_LeftCtrlReleased()
512 assertEquals(DragAndDropManager.STATE_MOVE, state); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased()
513 assertStateUpdated(DragAndDropManager.STATE_MOVE); in testUpdateState_UpdatesToMove_SameRoot_RightCtrlReleased()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDragAndDropManager.java53 @IntDef({ STATE_NOT_ALLOWED, STATE_UNKNOWN, STATE_MOVE, STATE_COPY })
58 int STATE_MOVE = 2; field
220 if (mState == STATE_COPY || mState == STATE_MOVE) { in adjustCtrlKeyCount()
340 state = STATE_MOVE; in updateState()