Home
last modified time | relevance | path

Searched refs:STATE_COPY (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java374 assertEquals(DragAndDropManager.STATE_COPY, state); in testUpdateState_UpdatesToCopy_DifferentRoot()
375 assertStateUpdated(DragAndDropManager.STATE_COPY); in testUpdateState_UpdatesToCopy_DifferentRoot()
396 assertEquals(DragAndDropManager.STATE_COPY, state); in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed()
397 assertStateUpdated(DragAndDropManager.STATE_COPY); in testUpdateState_UpdatesToCopy_SameRoot_LeftCtrlPressed()
418 assertEquals(DragAndDropManager.STATE_COPY, state); in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed()
419 assertStateUpdated(DragAndDropManager.STATE_COPY); in testUpdateState_UpdatesToCopy_SameRoot_RightCtrlPressed()
537 assertEquals(DragAndDropManager.STATE_COPY, state); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased()
538 assertStateUpdated(DragAndDropManager.STATE_COPY); in testUpdateState_UpdatesToCopy_DifferentRoot_LeftCtrlReleased()
562 assertEquals(DragAndDropManager.STATE_COPY, state); in testUpdateState_UpdatesToCopy_DifferentRoot_RightCtrlReleased()
563 assertStateUpdated(DragAndDropManager.STATE_COPY); in testUpdateState_UpdatesToCopy_DifferentRoot_RightCtrlReleased()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDropBadgeView.java34 private static final int[] STATE_COPY = { R.attr.state_copy }; field in DropBadgeView
71 case DragAndDropManager.STATE_COPY: in onCreateDrawableState()
72 mergeDrawableStates(drawableState, STATE_COPY); in onCreateDrawableState()
DDragAndDropManager.java53 @IntDef({ STATE_NOT_ALLOWED, STATE_UNKNOWN, STATE_MOVE, STATE_COPY })
59 int STATE_COPY = 3; field
220 if (mState == STATE_COPY || mState == STATE_MOVE) { in adjustCtrlKeyCount()
337 state = STATE_COPY; in updateState()