Searched refs:SelectionManager (Results 1 - 25 of 46) sorted by relevance

12

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
H A DSelectionManagers.java21 import com.android.documentsui.selection.SelectionManager;
22 import com.android.documentsui.selection.SelectionManager.SelectionMode;
23 import com.android.documentsui.selection.SelectionManager.SelectionPredicate;
31 public static SelectionManager createTestInstance() {
35 public static SelectionManager createTestInstance(List<String> docs) {
36 return createTestInstance(docs, SelectionManager.MODE_MULTIPLE);
39 public static SelectionManager createTestInstance(
47 public static SelectionManager createTestInstance(
49 SelectionManager manager = new SelectionManager(mod
[all...]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/selection/
H A DTestSelectionListener.java22 import com.android.documentsui.selection.SelectionManager;
24 public final class TestSelectionListener implements SelectionManager.Callback {
H A DSelectionProbe.java23 import com.android.documentsui.selection.SelectionManager;
27 * Helper class for making assertions against the state of a {@link SelectionManager} instance and
28 * the consistency of states between {@link SelectionManager} and
29 * {@link SelectionManager.ItemCallback}.
33 private final SelectionManager mMgr;
36 public SelectionProbe(SelectionManager mgr) {
43 public SelectionProbe(SelectionManager mgr, TestItemSelectionListener testCallback) {
H A DTestItemSelectionListener.java26 public class TestItemSelectionListener implements SelectionManager.ItemCallback {
/packages/apps/DocumentsUI/src/com/android/documentsui/
H A DSharedInputHandler.java27 import com.android.documentsui.selection.SelectionManager;
37 private final SelectionManager mSelectionMgr;
41 SelectionManager selectionMgr,
H A DInjector.java34 import com.android.documentsui.selection.SelectionManager;
35 import com.android.documentsui.selection.SelectionManager.SelectionPredicate;
73 public SelectionManager selectionMgr;
122 public SelectionManager getSelectionManager(
H A DActionModeController.java38 import com.android.documentsui.selection.SelectionManager;
48 implements SelectionManager.Callback, ActionMode.Callback, ActionModeAddons {
53 private final SelectionManager mSelectionMgr;
65 SelectionManager selectionMgr,
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
H A DSelectionManager_SingleSelectTest.java26 import com.android.documentsui.selection.SelectionManager;
41 private SelectionManager mManager;
49 mManager = SelectionManagers.createTestInstance(ITEMS, SelectionManager.MODE_SINGLE);
H A DSelectionManagerTest.java24 import com.android.documentsui.selection.SelectionManager;
46 private SelectionManager mManager;
58 SelectionManager.MODE_MULTIPLE,
/packages/apps/DocumentsUI/src/com/android/documentsui/selection/
H A DRange.java24 import com.android.documentsui.selection.SelectionManager.RangeType;
37 if (DEBUG) Log.d(SelectionManager.TAG, "New Ranger created beginning @ " + begin);
75 if (VERBOSE) Log.v(SelectionManager.TAG, "Ignoring no-op revision for range: " + this);
H A DGestureSelector.java44 private final SelectionManager mSelectionMgr;
54 SelectionManager selectionMgr,
85 SelectionManager selectionMgr,
H A DSelectionManager.java40 public final class SelectionManager { class
60 static final String TAG = "SelectionManager";
74 public SelectionManager(@SelectionMode int mode) { method in class:SelectionManager
78 public SelectionManager reset(DocumentsAdapter adapter, SelectionPredicate canSetState) {
H A DSelectionMetadata.java40 implements MenuManager.SelectionDetails, SelectionManager.ItemCallback {
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
H A DFocusManagerTest.java25 import com.android.documentsui.selection.SelectionManager;
42 private SelectionManager mSelectionMgr;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDragHost.java35 import com.android.documentsui.selection.SelectionManager;
48 private final SelectionManager mSelectionMgr;
59 SelectionManager selectionMgr,
H A DDragStartListener.java34 import com.android.documentsui.selection.SelectionManager;
70 private final SelectionManager mSelectionMgr;
82 SelectionManager selectionMgr,
174 SelectionManager selectionMgr,
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DDragHostTest.java31 import com.android.documentsui.selection.SelectionManager;
58 private SelectionManager mSelectionMgr;
H A DUserInputHandler_KeyboardTest.java25 import com.android.documentsui.selection.SelectionManager;
61 SelectionManager selectionMgr = SelectionManagers.createTestInstance(ITEMS);
H A DUserInputHandler_TouchTest.java27 import com.android.documentsui.selection.SelectionManager;
62 SelectionManager selectionMgr = SelectionManagers.createTestInstance(ITEMS);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DManageCacheDrawer.java34 private final SelectionManager mSelectionManager;
42 public ManageCacheDrawer(AbstractGalleryActivity activity, SelectionManager selectionManager,
/packages/apps/Gallery2/src/com/android/photos/
H A DSelectionManager.java34 public class SelectionManager { class
44 public SelectionManager(Activity activity) { method in class:SelectionManager
H A DMultiChoiceManager.java45 OnShareTargetSelectedListener, SelectionManager.SelectedUriSource {
63 private SelectionManager mSelectionManager;
73 mSelectionManager = new SelectionManager(activity);
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
H A DMenuManager.java38 import com.android.documentsui.selection.SelectionManager;
48 private final SelectionManager mSelectionManager;
58 SelectionManager selectionManager,
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
H A DPickActivity.java52 import com.android.documentsui.selection.SelectionManager;
97 mInjector.selectionMgr = new SelectionManager(
99 ? SelectionManager.MODE_MULTIPLE
100 : SelectionManager.MODE_SINGLE);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DManageCachePage.java44 import com.android.gallery3d.ui.SelectionManager;
55 SelectionManager.SelectionListener, MenuExecutor.ProgressListener,
70 protected SelectionManager mSelectionManager;
288 mSelectionManager = new SelectionManager(mActivity, true);

Completed in 247 milliseconds

12