Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DKeyInputHandler.java36 private final SelectionTracker<String> mSelectionHelper; field in KeyInputHandler
45 mSelectionHelper = selectionHelper; in KeyInputHandler()
78 if (!mSelectionHelper.isRangeActive()) { in onKey()
80 mSelectionHelper.startRange(details.getPosition()); in onKey()
82 mSelectionHelper.extendRange(details.getPosition()); in onKey()
84 mSelectionHelper.endRange(); in onKey()
85 mSelectionHelper.clearSelection(); in onKey()
91 if (mSelectionHelper.getSelection().size() > 1) { in onKey()
DInputHandlers.java38 private SelectionTracker<String> mSelectionHelper; field in InputHandlers
57 mSelectionHelper = selectionHelper; in InputHandlers()
114 return new KeyInputHandler(mSelectionHelper, mSelectionPredicate, callbacks); in createKeyHandler()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DKeyInputHandlerTest.java44 private SelectionTracker<String> mSelectionHelper; field in KeyInputHandlerTest
50 mSelectionHelper = SelectionHelpers.createTestInstance(ITEMS); in setUp()
55 mSelectionHelper, in setUp()
62 mSelectionHelper.select("11"); in testArrowKey_nonShiftClearsSelection()
68 Selection<String> selection = mSelectionHelper.getSelection(); in testArrowKey_nonShiftClearsSelection()