Home
last modified time | relevance | path

Searched refs:ActionHandler (Results 1 – 25 of 32) sorted by relevance

12

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java87 private ActionHandler<TestActivity> mHandler;
298 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_DefaultsToView()
299 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_DefaultsToView()
308 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_QuickViewable()
309 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_QuickViewable()
317 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_Unopenable()
318 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_Unopenable()
327 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_PreviewsWhenResourceSet()
328 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_PreviewsWhenResourceSet()
337 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Downloads_ManagesApks()
[all …]
DTestActivity.java19 import com.android.documentsui.files.ActionHandler;
36 implements ActionHandler.Addons {}
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DInputHandlers.java27 import com.android.documentsui.ActionHandler;
37 private ActionHandler mActions;
44 ActionHandler actions, in InputHandlers()
91 ActionHandler.VIEW_TYPE_REGULAR, in createKeyHandler()
92 ActionHandler.VIEW_TYPE_PREVIEW); in createKeyHandler()
96 ActionHandler.VIEW_TYPE_PREVIEW, in createKeyHandler()
97 ActionHandler.VIEW_TYPE_NONE); in createKeyHandler()
DAppsRowItemData.java24 import com.android.documentsui.ActionHandler;
38 protected final ActionHandler mActionHandler;
40 public AppsRowItemData(Item item, ActionHandler actionHandler) { in AppsRowItemData()
57 public AppData(AppItem item, ActionHandler actionHandler) { in AppData()
82 public RootData(RootItem item, ActionHandler actionHandler) { in RootData()
DAppsRowManager.java25 import com.android.documentsui.ActionHandler;
43 private final ActionHandler mActionHandler;
46 public AppsRowManager(ActionHandler handler) { in AppsRowManager()
DDragHost.java31 import com.android.documentsui.ActionHandler;
50 private final ActionHandler mActions;
61 ActionHandler actions, in DragHost()
DDirectoryFragment.java68 import com.android.documentsui.ActionHandler;
152 private ActionHandler mActions;
514 ActionHandler.VIEW_TYPE_PREVIEW, in onItemActivated()
515 ActionHandler.VIEW_TYPE_REGULAR); in onItemActivated()
774 mActions.openItem(holder.getItemDetails(), ActionHandler.VIEW_TYPE_PREVIEW, in onAccessibilityClick()
775 ActionHandler.VIEW_TYPE_REGULAR); in onAccessibilityClick()
1265 public ActionHandler getActionHandler() { in getActionHandler()
DDocumentsAdapter.java27 import com.android.documentsui.ActionHandler;
86 ActionHandler getActionHandler(); in getActionHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootItem.java32 import com.android.documentsui.ActionHandler;
48 protected final ActionHandler mActionHandler;
51 public RootItem(RootInfo root, ActionHandler actionHandler) { in RootItem()
55 public RootItem(RootInfo root, ActionHandler actionHandler, String packageName) { in RootItem()
DDragHost.java24 import com.android.documentsui.ActionHandler;
39 private final ActionHandler mActions;
45 ActionHandler actions) { in DragHost()
DAppItem.java27 import com.android.documentsui.ActionHandler;
40 private final ActionHandler mActionHandler;
42 public AppItem(ResolveInfo info, String title, ActionHandler actionHandler) { in AppItem()
DProfileItem.java23 import com.android.documentsui.ActionHandler;
30 public ProfileItem(ResolveInfo info, String title, ActionHandler actionHandler) { in ProfileItem()
DRootAndAppItem.java24 import com.android.documentsui.ActionHandler;
37 public RootAndAppItem(RootInfo root, ResolveInfo info, ActionHandler actionHandler) { in RootAndAppItem()
DRootsFragment.java57 import com.android.documentsui.ActionHandler;
123 private ActionHandler mActionHandler;
525 static void ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) { in ejectClicked()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java25 import com.android.documentsui.ActionHandler;
39 private ActionHandler mActionHandler;
69 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
DDirectoryAddonsAdapterTest.java29 import com.android.documentsui.ActionHandler;
45 private ActionHandler mActionHandler;
158 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
DAppsRowManagerTest.java33 import com.android.documentsui.ActionHandler;
54 private ActionHandler mActionHandler;
/packages/apps/DocumentsUI/src/com/android/documentsui/
DRootsMonitor.java48 final ActionHandler actions, in RootsMonitor()
81 private final ActionHandler mActions;
93 ActionHandler actions, in HandleRootsChangedTask()
DActionHandler.java43 public interface ActionHandler { interface
169 <T extends ActionHandler> T reset(ContentLock contentLock); in reset()
DDragAndDropManager.java131 boolean drop(ClipData clipData, Object localState, RootInfo destRoot, ActionHandler actions, in drop()
375 ActionHandler action, FileOperations.Callback callback) { in drop()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java68 public class FilesActivity extends BaseActivity implements ActionHandler.Addons {
73 private Injector<ActionHandler<FilesActivity>> mInjector;
134 mInjector.actions = new ActionHandler<>( in onCreate()
395 public Injector<ActionHandler<FilesActivity>> getInjector() { in getInjector()
DActionHandler.java70 import com.android.documentsui.files.ActionHandler.Addons;
88 public class ActionHandler<T extends FragmentActivity & Addons> extends AbstractActionHandler<T> { class
101 ActionHandler( in ActionHandler() method in ActionHandler
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java68 public class PickActivity extends BaseActivity implements ActionHandler.Addons {
74 private Injector<ActionHandler<PickActivity>> mInjector;
120 mInjector.actions = new ActionHandler<>( in onCreate()
396 public Injector<ActionHandler<PickActivity>> getInjector() { in getInjector()
DActionHandler.java60 import com.android.documentsui.picker.ActionHandler.Addons;
73 class ActionHandler<T extends FragmentActivity & Addons> extends AbstractActionHandler<T> { class
87 ActionHandler( in ActionHandler() method in ActionHandler
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java26 import com.android.documentsui.ActionHandler;
72 public boolean drop(ClipData clipData, Object localState, RootInfo root, ActionHandler actions, in drop()

12