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.java92 private ActionHandler<TestActivity> mHandler;
305 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_DefaultsToView()
306 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_DefaultsToView()
315 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_QuickViewable()
316 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_QuickViewable()
324 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_Unopenable()
325 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_Unopenable()
334 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_PreviewsWhenResourceSet()
335 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_PreviewsWhenResourceSet()
344 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Downloads_ManagesApks()
[all …]
/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.java25 import com.android.documentsui.ActionHandler;
42 protected final ActionHandler mActionHandler;
45 public AppsRowItemData(Item item, ActionHandler actionHandler, boolean shouldShowSummary, in AppsRowItemData()
76 public AppData(AppItem item, ActionHandler actionHandler, boolean shouldShowSummary, in AppData()
97 public RootData(RootItem item, ActionHandler actionHandler, boolean shouldShowSummary, in RootData()
DDragHost.java31 import com.android.documentsui.ActionHandler;
54 private final ActionHandler mActions;
65 ActionHandler actions, in DragHost()
DAppsRowManager.java27 import com.android.documentsui.ActionHandler;
49 private final ActionHandler mActionHandler;
54 public AppsRowManager(ActionHandler handler, boolean maybeShowBadge, in AppsRowManager()
DDocumentsAdapter.java28 import com.android.documentsui.ActionHandler;
87 ActionHandler getActionHandler(); in getActionHandler()
DDirectoryFragment.java74 import com.android.documentsui.ActionHandler;
169 private ActionHandler mActions;
685 ActionHandler.VIEW_TYPE_PREVIEW, in onItemActivated()
686 ActionHandler.VIEW_TYPE_REGULAR); in onItemActivated()
963 mActions.openItem(holder.getItemDetails(), ActionHandler.VIEW_TYPE_PREVIEW, in onAccessibilityClick()
964 ActionHandler.VIEW_TYPE_REGULAR); in onAccessibilityClick()
1491 public ActionHandler getActionHandler() { in getActionHandler()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestEnvironment.java22 import com.android.documentsui.ActionHandler;
31 private final ActionHandler mActionHandler;
33 public TestEnvironment(Context testContext, TestEnv env, ActionHandler actionHandler) { in TestEnvironment()
45 public ActionHandler getActionHandler() { in getActionHandler()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java52 import com.android.documentsui.picker.ActionHandler.Addons;
113 extends ActionHandler {
602 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem()
603 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem()
617 mHandler.onDocumentOpened(otherUserDoc, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_onOtherUser()
618 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_onOtherUser()
629 mHandler.onDocumentOpened(TestEnv.FILE_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_archives()
630 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_archives()
638 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_noQuickViewer()
639 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_noQuickViewer()
DTestActivity.java61 implements ActionHandler.Addons {}
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DDragHost.java24 import com.android.documentsui.ActionHandler;
39 private final ActionHandler mActions;
45 ActionHandler actions) { in DragHost()
DRootItem.java33 import com.android.documentsui.ActionHandler;
53 protected final ActionHandler mActionHandler;
57 public RootItem(RootInfo root, ActionHandler actionHandler, boolean maybeShowBadge) { in RootItem()
61 public RootItem(RootInfo root, ActionHandler actionHandler, String packageName, in RootItem()
DAppItem.java29 import com.android.documentsui.ActionHandler;
44 private final ActionHandler mActionHandler;
46 public AppItem(ResolveInfo info, String title, UserId userId, ActionHandler actionHandler) { in AppItem()
DProfileItem.java23 import com.android.documentsui.ActionHandler;
31 public ProfileItem(ResolveInfo info, String title, ActionHandler actionHandler) { in ProfileItem()
DRootAndAppItem.java26 import com.android.documentsui.ActionHandler;
39 public RootAndAppItem(RootInfo root, ResolveInfo info, ActionHandler actionHandler, in RootAndAppItem()
DRootsFragment.java58 import com.android.documentsui.ActionHandler;
127 private ActionHandler mActionHandler;
651 static void ejectClicked(View ejectIcon, RootInfo root, ActionHandler actionHandler) { in ejectClicked()
/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.java45 public interface ActionHandler { interface
190 <T extends ActionHandler> T reset(ContentLock contentLock); in reset()
DDragAndDropManager.java138 boolean drop(ClipData clipData, Object localState, RootInfo destRoot, ActionHandler actions, in drop()
389 ActionHandler action, FileOperations.Callback callback) { in drop()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java24 import com.android.documentsui.ActionHandler;
37 private ActionHandler mActionHandler;
DDirectoryAddonsAdapterTest.java28 import com.android.documentsui.ActionHandler;
44 private ActionHandler mActionHandler;
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestDragAndDropManager.java27 import com.android.documentsui.ActionHandler;
77 public boolean drop(ClipData clipData, Object localState, RootInfo root, ActionHandler actions, in drop()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java74 public class PickActivity extends BaseActivity implements ActionHandler.Addons {
80 private Injector<ActionHandler<PickActivity>> mInjector;
133 mInjector.actions = new ActionHandler<>( in onCreate()
452 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
84 ActionHandler( in ActionHandler() method in ActionHandler
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java76 private Injector<ActionHandler<FilesActivity>> mInjector;
139 mInjector.actions = new ActionHandler<>( in onCreate()
407 public Injector<ActionHandler<FilesActivity>> getInjector() { in getInjector()

12