Home
last modified time | relevance | path

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

12

/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCItem.java62 private ActionHandler mActionHandler;
63 private ActionHandler mDisabledClickActionHandler;
108 public void setActionHandler(@Nullable ActionHandler handler) { in setActionHandler()
112 public void setDisabledClickActionHandler(@Nullable ActionHandler handler) { in setDisabledClickActionHandler()
117 public ActionHandler getActionHandler() { in getActionHandler()
122 public ActionHandler getDisabledClickActionHandler() { in getDisabledClickActionHandler()
141 public interface ActionHandler { interface in QCItem
/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()
DAppsRowManager.java26 import com.android.documentsui.ActionHandler;
51 private final ActionHandler mActionHandler;
58 public AppsRowManager(ActionHandler handler, boolean maybeShowBadge, in AppsRowManager()
68 public AppsRowManager(ActionHandler handler, boolean maybeShowBadge, in AppsRowManager()
DDragHost.java31 import com.android.documentsui.ActionHandler;
54 private final ActionHandler mActions;
65 ActionHandler actions, in DragHost()
DDocumentsAdapter.java28 import com.android.documentsui.ActionHandler;
87 ActionHandler getActionHandler(); in getActionHandler()
/packages/services/Car/car_product/distant_display/apps/CarDistantDisplaySystemUI/src/com/android/systemui/car/distantdisplay/common/
DDistantDisplayQcItem.java33 private final QCItem.ActionHandler mActionHandler;
36 @Nullable Drawable icon, @Nullable QCItem.ActionHandler actionHandler) { in DistantDisplayQcItem()
59 public QCItem.ActionHandler getActionHandler() { in getActionHandler()
70 private QCItem.ActionHandler mActionHandler;
99 public Builder setActionHandler(@Nullable QCItem.ActionHandler actionHandler) { in setActionHandler()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
DActionHandlerTest.java99 private ActionHandler<TestActivity> mHandler;
333 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_DefaultsToView()
334 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_DefaultsToView()
343 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_QuickViewable()
344 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_QuickViewable()
352 mHandler.openDocument(TestEnv.FILE_IN_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_InArchive_Unopenable()
353 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_InArchive_Unopenable()
362 mHandler.openDocument(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_PreviewsWhenResourceSet()
363 ActionHandler.VIEW_TYPE_REGULAR); in testDocumentPicked_PreviewsWhenResourceSet()
372 mHandler.openDocument(TestEnv.FILE_APK, ActionHandler.VIEW_TYPE_PREVIEW, in testDocumentPicked_Downloads_ManagesApks()
[all …]
/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/src/com/android/documentsui/sidebar/
DDragHost.java24 import com.android.documentsui.ActionHandler;
39 private final ActionHandler mActions;
45 ActionHandler actions) { in DragHost()
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()
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()
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()
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/qc/
DCarUiPortraitProfileSwitcher.java66 QCItem.ActionHandler actionHandler = (item, context, intent) -> { in createUserProfileRowForCurrentProfile()
77 QCItem.ActionHandler actionHandler = (item, context, intent) -> { in createGuestProfileRowForCurrentProfile()
94 QCItem.ActionHandler actionHandler) { in createUserProfileRowForCurrentProfile()
/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()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java51 import com.android.documentsui.picker.ActionHandler.Addons;
137 extends ActionHandler {
635 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem()
636 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem()
650 mHandler.onDocumentOpened(otherUserDoc, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_onOtherUser()
651 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_onOtherUser()
662 mHandler.onDocumentOpened(TestEnv.FILE_ARCHIVE, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_archives()
663 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_archives()
671 mHandler.onDocumentOpened(TestEnv.FILE_GIF, ActionHandler.VIEW_TYPE_PREVIEW, in testPreviewItem_noQuickViewer()
672 ActionHandler.VIEW_TYPE_REGULAR, true); in testPreviewItem_noQuickViewer()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java24 import com.android.documentsui.ActionHandler;
39 private ActionHandler mActionHandler;
DModelBackedDocumentsAdapterPrivateSpaceTest.java25 import com.android.documentsui.ActionHandler;
39 private ActionHandler mActionHandler;
DDirectoryAddonsAdapterTest.java28 import com.android.documentsui.ActionHandler;
46 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/Car/SystemUI/src/com/android/systemui/car/qc/
DProfileSwitcher.java200 row.setActionHandler(new QCItem.ActionHandler() { in createOrganizationOwnedDeviceRow()
217 QCItem.ActionHandler actionHandler = (item, context, intent) -> { in createUserProfileRow()
229 QCItem.ActionHandler actionHandler = (item, context, intent) -> { in createGuestProfileRow()
245 QCItem.ActionHandler actionHandler = (item, context, intent) -> { in createAddProfileRow()
271 QCItem.ActionHandler actionHandler) { in createProfileRow()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java75 public class PickActivity extends BaseActivity implements ActionHandler.Addons {
81 private Injector<ActionHandler<PickActivity>> mInjector;
142 mInjector.actions = new ActionHandler<>( in onCreate()
479 public Injector<ActionHandler<PickActivity>> getInjector() { in getInjector()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java76 private Injector<ActionHandler<FilesActivity>> mInjector;
146 mInjector.actions = new ActionHandler<>( in onCreate()
423 public Injector<ActionHandler<FilesActivity>> getInjector() { in getInjector()

12