/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 92 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/ |
D | InputHandlers.java | 27 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()
|
D | AppsRowItemData.java | 25 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()
|
D | DragHost.java | 31 import com.android.documentsui.ActionHandler; 54 private final ActionHandler mActions; 65 ActionHandler actions, in DragHost()
|
D | AppsRowManager.java | 27 import com.android.documentsui.ActionHandler; 49 private final ActionHandler mActionHandler; 54 public AppsRowManager(ActionHandler handler, boolean maybeShowBadge, in AppsRowManager()
|
D | DocumentsAdapter.java | 28 import com.android.documentsui.ActionHandler; 87 ActionHandler getActionHandler(); in getActionHandler()
|
D | DirectoryFragment.java | 74 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/ |
D | TestEnvironment.java | 22 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/ |
D | ActionHandlerTest.java | 52 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()
|
D | TestActivity.java | 61 implements ActionHandler.Addons {}
|
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/ |
D | DragHost.java | 24 import com.android.documentsui.ActionHandler; 39 private final ActionHandler mActions; 45 ActionHandler actions) { in DragHost()
|
D | RootItem.java | 33 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()
|
D | AppItem.java | 29 import com.android.documentsui.ActionHandler; 44 private final ActionHandler mActionHandler; 46 public AppItem(ResolveInfo info, String title, UserId userId, ActionHandler actionHandler) { in AppItem()
|
D | ProfileItem.java | 23 import com.android.documentsui.ActionHandler; 31 public ProfileItem(ResolveInfo info, String title, ActionHandler actionHandler) { in ProfileItem()
|
D | RootAndAppItem.java | 26 import com.android.documentsui.ActionHandler; 39 public RootAndAppItem(RootInfo root, ResolveInfo info, ActionHandler actionHandler, in RootAndAppItem()
|
D | RootsFragment.java | 58 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/ |
D | RootsMonitor.java | 48 final ActionHandler actions, in RootsMonitor() 81 private final ActionHandler mActions; 93 ActionHandler actions, in HandleRootsChangedTask()
|
D | ActionHandler.java | 45 public interface ActionHandler { interface 190 <T extends ActionHandler> T reset(ContentLock contentLock); in reset()
|
D | DragAndDropManager.java | 138 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/ |
D | ModelBackedDocumentsAdapterTest.java | 24 import com.android.documentsui.ActionHandler; 37 private ActionHandler mActionHandler;
|
D | DirectoryAddonsAdapterTest.java | 28 import com.android.documentsui.ActionHandler; 44 private ActionHandler mActionHandler;
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestDragAndDropManager.java | 27 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/ |
D | PickActivity.java | 74 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()
|
D | ActionHandler.java | 60 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/ |
D | FilesActivity.java | 76 private Injector<ActionHandler<FilesActivity>> mInjector; 139 mInjector.actions = new ActionHandler<>( in onCreate() 407 public Injector<ActionHandler<FilesActivity>> getInjector() { in getInjector()
|