/packages/apps/DocumentsUI/src/com/android/documentsui/ |
H A D | SharedInputHandler.java | 37 private final SelectionManager mSelectionMgr; field in class:SharedInputHandler 47 mSelectionMgr = selectionMgr; 106 if (mSelectionMgr.hasSelection()) { 108 mSelectionMgr.clearSelection(); 120 if (mSelectionMgr.hasSelection()) { 122 mSelectionMgr.clearSelection();
|
H A D | ActionModeController.java | 53 private final SelectionManager mSelectionMgr; field in class:ActionModeController 70 mSelectionMgr = selectionMgr; 77 mSelectionMgr.getSelection(mSelected); 102 mSelectionMgr.getSelection(mSelected); 139 mSelectionMgr.clearSelection(); 152 int size = mSelectionMgr.getSelection().size();
|
H A D | FocusManager.java | 64 private final SelectionManager mSelectionMgr; field in class:FocusManager 79 mSelectionMgr = selectionMgr; 148 if (mSelectionMgr.hasSelection()) {
|
H A D | AbstractActionHandler.java | 96 protected final SelectionManager mSelectionMgr; field in class:AbstractActionHandler 139 mSelectionMgr = injector.selectionMgr; 291 boolean changed = mSelectionMgr.setItemsSelected(enabled, true); 509 return mSelectionMgr.getSelection(new Selection());
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/ |
H A D | SharedInputHandlerTest.java | 43 private SelectionManager mSelectionMgr = SelectionManagers.createTestInstance(); field in class:SharedInputHandlerTest 61 mSelectionMgr, 78 mSelectionMgr.toggleSelection("1"); 93 assertEquals(mSelectionMgr.getSelection().size(), 1); 99 mSelectionMgr.toggleSelection("1"); 100 assertEquals(mSelectionMgr.getSelection().size(), 1); 106 assertEquals(mSelectionMgr.getSelection().size(), 0); 117 assertEquals(mSelectionMgr.getSelection().size(), 0); 123 mSelectionMgr.toggleSelection("1"); 138 assertEquals(mSelectionMgr [all...] |
H A D | FocusManagerTest.java | 42 private SelectionManager mSelectionMgr; field in class:FocusManagerTest 48 mSelectionMgr = SelectionManagers.createTestInstance(ITEMS); 50 mManager = new FocusManager(mFeatures, mSelectionMgr, null, null, 0) 77 mSelectionMgr.toggleSelection("0");
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | UserInputHandler.java | 51 private final SelectionManager mSelectionMgr; field in class:UserInputHandler 78 mSelectionMgr = selectionMgr; 195 mSelectionMgr.toggleSelection(doc.getModelId()); 196 mSelectionMgr.setSelectionRangeBegin(doc.getAdapterPosition()); 201 mSelectionMgr.snapRangeSelection(doc.getAdapterPosition()); 205 return event.isShiftKeyDown() && mSelectionMgr.isRangeSelectionActive(); 211 && !mSelectionMgr.getSelection().contains(doc.getModelId()); 232 mSelectionMgr.clearSelection(); 237 if (mSelectionMgr.hasSelection()) { 277 if (!mSelectionMgr [all...] |
H A D | DragStartListener.java | 72 private final SelectionManager mSelectionMgr; field in class:DragStartListener.ActiveListener 91 mSelectionMgr = selectionMgr; 158 if (event.isCtrlKeyDown() && !mSelectionMgr.getSelection().contains(modelId) 159 && mSelectionMgr.hasSelection()) { 160 mSelectionMgr.toggleSelection(modelId); 163 if (mSelectionMgr.getSelection().contains(modelId)) { 164 mSelectionMgr.getSelection(selection); 167 mSelectionMgr.clearSelection();
|
H A D | DirectoryFragment.java | 152 private SelectionManager mSelectionMgr; field in class:DirectoryFragment 254 mSelectionMgr.clearSelection(); 318 mSelectionMgr = mInjector.getSelectionManager(mAdapter, this::canSetSelectionState); 326 mSelectionMgr.addItemCallback(mSelectionMetadata); 328 GestureSelector gestureSel = GestureSelector.create(mSelectionMgr, mRecView, mReloadLock); 334 mSelectionMgr, 349 mSelectionMgr, 365 mSelectionMgr, 388 mSelectionMgr.addCallback(mActionModeController); 430 state.selection = mSelectionMgr [all...] |
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/ |
H A D | GestureSelector.java | 44 private final SelectionManager mSelectionMgr; field in class:GestureSelector 59 mSelectionMgr = selectionMgr; 77 return mStarted && mSelectionMgr.hasSelection(); 179 mSelectionMgr.startRangeSelection(mLastStartedItemPos); 191 mSelectionMgr.getSelection().applyProvisionalSelection(); 199 mSelectionMgr.cancelProvisionalSelection(); 270 mSelectionMgr.snapProvisionalRangeSelection(endPos);
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/ |
H A D | UserInputHandler_MouseTest.java | 53 private SelectionManager mSelectionMgr; field in class:UserInputHandler_MouseTest 65 mSelectionMgr = SelectionManagers.createTestInstance(ITEMS); 68 mSelection = new SelectionProbe(mSelectionMgr); 78 mSelectionMgr, 148 mSelectionMgr.setSelectionRangeBegin(7);
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
H A D | ActionHandler.java | 214 mSelectionMgr.clearSelection(); 247 mSelectionMgr.clearSelection(); 262 mSelectionMgr.clearSelection();
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
H A D | ActionHandler.java | 259 mSelectionMgr.clearSelection();
|