/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | FilesActivity.java | 77 private Injector<ActionHandler<FilesActivity>> mInjector; field in FilesActivity 96 mInjector = new Injector<>( in onCreate() 108 mInjector.selectionMgr = new SelectionManager(SelectionManager.MODE_MULTIPLE); in onCreate() 110 mInjector.focusManager = new FocusManager( in onCreate() 111 mInjector.features, in onCreate() 112 mInjector.selectionMgr, in onCreate() 117 mInjector.menuManager = new MenuManager( in onCreate() 118 mInjector.features, in onCreate() 128 mInjector.selectionMgr, in onCreate() 130 mInjector.getModel()::getItemUri); in onCreate() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 67 private Injector<ActionHandler<PickActivity>> mInjector; field in PickActivity 86 mInjector = new Injector<>( in onCreate() 97 mInjector.selectionMgr = new SelectionManager( in onCreate() 102 mInjector.focusManager = new FocusManager( in onCreate() 103 mInjector.features, in onCreate() 104 mInjector.selectionMgr, in onCreate() 109 mInjector.menuManager = new MenuManager(mSearchManager, mState, new DirectoryDetails(this)); in onCreate() 111 mInjector.actionModeController = new ActionModeController( in onCreate() 113 mInjector.selectionMgr, in onCreate() 114 mInjector.menuManager, in onCreate() [all …]
|
D | SaveFragment.java | 52 private Injector<ActionHandler<PickActivity>> mInjector; field in SaveFragment 132 mInjector = ((PickActivity) getActivity()).getInjector(); in onActivityCreated() 177 mInjector.actions.saveDocument(getChildFragmentManager(), mReplaceTarget); in performSave() 181 mInjector.actions.saveDocument(mimeType, displayName, mInProgressStateListener); in performSave()
|
D | PickFragment.java | 57 mInjector.actions.pickDocument(mPickTarget); 70 private Injector<ActionHandler<PickActivity>> mInjector; field in PickFragment 123 mInjector = ((PickActivity) getActivity()).getInjector(); in onActivityCreated()
|
D | ActionHandler.java | 308 mInjector.dialogs.confirmOverwrite(fm, replaceTarget); in saveDocument()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DirectoryFragment.java | 142 private Injector<?> mInjector; field in DirectoryFragment 219 mInjector = mActivity.getInjector(); in onCreateView() 220 mModel = mInjector.getModel(); in onCreateView() 223 mInjector.actions.registerDisplayStateChangedListener(mOnDisplayStateChanged); in onCreateView() 226 if (mInjector.config.dragAndDropEnabled()) { in onCreateView() 231 mInjector.selectionMgr, in onCreateView() 232 mInjector.actions, in onCreateView() 234 mInjector.dialogs, in onCreateView() 252 mInjector.actions.unregisterDisplayStateChangedListener(mOnDisplayStateChanged); in onDestroyView() 297 new ModelBackedDocumentsAdapter(mAdapterEnv, mIconHelper, mInjector.fileTypeLookup) in onActivityCreated() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | AbstractActionHandler.java | 98 protected final Injector<?> mInjector; field in AbstractActionHandler 141 mInjector = injector; in AbstractActionHandler() 196 mInjector.features, in refreshDocument() 275 Model model = mInjector.getModel(); in selectAllFiles() 288 if (mInjector.config.isDocumentEnabled(docMimeType, docFlags, mState)) { in selectAllFiles() 401 if (!mInjector.features.isDebugSupportEnabled()) { in setDebugMode() 406 mInjector.features.forceFeature(R.bool.feature_command_interceptor, enabled); in setDebugMode() 407 mInjector.features.forceFeature(R.bool.feature_inspector, enabled); in setDebugMode() 422 assert (mInjector.features.isDebugSupportEnabled()); in showDebugMessage() 424 int[] colors = mInjector.debugHelper.getNextColors(); in showDebugMessage() [all …]
|
D | BaseActivity.java | 83 protected Injector<?> mInjector; field in BaseActivity 131 mInjector = getInjector(); in onCreate() 133 mDrawer = DrawerController.create(this, mInjector.config); in onCreate() 163 mInjector.actions.loadDocumentsForCurrentStack(); in onCreate() 182 final CommandInterceptor cmdInterceptor = new CommandInterceptor(mInjector.features); in onCreate() 189 mInjector.features, in onCreate() 190 mInjector.debugHelper::toggleDebugMode, in onCreate() 213 updateDisplayAdvancedDevices(mInjector.prefs.getShowDeviceRoot()); in onPreferenceChanged() 223 mInjector.actions, in onPostCreate() 228 mInjector.actionModeController::finishActionMode); in onPostCreate() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DebugHelper.java | 50 private final Injector<?> mInjector; field in DebugHelper 60 mInjector = injector; in DebugHelper() 64 assert (mInjector.features.isDebugSupportEnabled()); in getNextColors() 74 assert (mInjector.features.isDebugSupportEnabled()); in getNextMessage() 114 if (mInjector.actions != null) { in toggleDebugMode() 115 mInjector.actions.setDebugMode(mDebugEnabled); in toggleDebugMode()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | RootsFragment.java | 109 private Injector<?> mInjector; field in RootsFragment 136 mInjector = getBaseActivity().getInjector(); in onCreateView() 156 mInjector.menuManager.showContextMenu( in onCreateView() 192 mActionHandler = mInjector.actions; in onActivityCreated() 194 if (mInjector.config.dragAndDropEnabled()) { in onActivityCreated() 236 mInjector.shortcutsUpdater.accept(roots); in onActivityCreated() 384 item.createContextMenu(menu, activity.getMenuInflater(), mInjector.menuManager); in onCreateContextMenu()
|