Home
last modified time | relevance | path

Searched refs:mActionHandler (Results 1 – 12 of 12) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java73 private final AttachmentActionHandler mActionHandler; field in MessageAttachmentBar
101 mActionHandler = new AttachmentActionHandler(context, this); in MessageAttachmentBar()
105 mActionHandler.initialize(fragmentManager); in initialize()
127 mActionHandler.setAccount(mAccount.getEmailAddress()); in render()
129 mActionHandler.setMessage(message); in render()
130 mActionHandler.setAttachment(mAttachment); in render()
160 mActionHandler.updateStatus(loaderResult); in render()
194 mActionHandler.startDownloadingAttachment(AttachmentDestination.EXTERNAL); in onClick()
203 mActionHandler.showDownloadingDialog(); in onClick()
204 mActionHandler.startRedownloadingAttachment(mAttachment); in onClick()
[all …]
DMessageAttachmentTile.java60 private final AttachmentActionHandler mActionHandler; field in MessageAttachmentTile
81 mActionHandler = new AttachmentActionHandler(context, this); in MessageAttachmentTile()
85 mActionHandler.initialize(fragmentManager); in initialize()
103 mActionHandler.setAttachment(mAttachment); in render()
104 mActionHandler.updateStatus(loaderResult); in render()
159 mActionHandler.startDownloadingAttachment(AttachmentDestination.CACHE, in downloadAttachment()
221 mActionHandler.startDownloadingAttachment( in thumbnailLoadFailed()
/packages/apps/UnifiedEmail/src/com/android/mail/photo/
DMailPhotoViewController.java83 protected AttachmentActionHandler mActionHandler; field in MailPhotoViewController
97 mActionHandler = new AttachmentActionHandler(mMailActivity.getContext(), null); in onCreate()
98 mActionHandler.initialize(mMailActivity.getFragmentManager()); in onCreate()
106 mActionHandler.setAccount(account); in onCreate()
107 mActionHandler.setMessage(msg); in onCreate()
157 mActionHandler.setAttachment(getCurrentAttachment()); in onOptionsItemSelected()
158 mActionHandler.handleOption1(); in onOptionsItemSelected()
182 mActionHandler.shouldShowExtraOption1(mAccountType, in updateActionItems()
260 mActionHandler.setAttachment(attachment); in onFragmentVisible()
261 mActionHandler.startDownloadingAttachment(attachment.destination); in onFragmentVisible()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java112 private ActionHandler mActionHandler; field in RootsFragment
192 mActionHandler = mInjector.actions; in onActivityCreated()
250 final RootItem item = new RootItem(root, mActionHandler); in sortLoadResult()
300 apps.add(new AppItem(info, mActionHandler)); in includeHandlerApps()
450 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
453 mActionHandler.openInNewWindow(new DocumentStack(rootItem.root)); in onContextItemSelected()
456 mActionHandler.pasteIntoFolder(rootItem.root); in onContextItemSelected()
459 mActionHandler.openSettings(rootItem.root); in onContextItemSelected()
475 mActionHandler.getRootDocument( in getRootDocument()
DRootItem.java47 private final ActionHandler mActionHandler; field in RootItem
52 mActionHandler = actionHandler; in RootItem()
80 RootsFragment.ejectClicked(unmountIcon, root, mActionHandler); in bindView()
105 mActionHandler.openRoot(root); in open()
110 return mActionHandler.dropOn(event, root); in dropOn()
DAppItem.java39 private final ActionHandler mActionHandler; field in AppItem
45 mActionHandler = actionHandler; in AppItem()
58 mActionHandler.showAppDetails(info); in showAppDetails()
84 mActionHandler.openRoot(info); in open()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DUserInputHandler_TouchTest.java49 private TestActionHandler mActionHandler; field in UserInputHandler_TouchTest
64 mActionHandler = new TestActionHandler(); in setUp()
74 mActionHandler, in setUp()
92 mActionHandler.open.assertLastArgument(mEvent.build().getDocumentDetails()); in testTap_ActivatesWhenNoExistingSelection()
DUserInputHandler_MouseTest.java50 private TestActionHandler mActionHandler; field in UserInputHandler_MouseTest
66 mActionHandler = new TestActionHandler(); in setUp()
76 mActionHandler, in setUp()
193 mActionHandler.open.assertLastArgument(mEvent.build().getDocumentDetails()); in testDoubleClick_Opens()
DModelBackedDocumentsAdapterTest.java38 private ActionHandler mActionHandler; field in ModelBackedDocumentsAdapterTest
45 mActionHandler = new TestActionHandler(); in setUp()
68 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
DUserInputHandler_KeyboardTest.java47 private TestActionHandler mActionHandler; field in UserInputHandler_KeyboardTest
63 mActionHandler = new TestActionHandler(); in setUp()
72 mActionHandler, in setUp()
DUserInputHandler_RangeTest.java50 private TestActionHandler mActionHandler; field in UserInputHandler_RangeTest
64 mActionHandler = new TestActionHandler(); in setUp()
73 mActionHandler, in setUp()
DDirectoryAddonsAdapterTest.java42 private ActionHandler mActionHandler; field in DirectoryAddonsAdapterTest
47 mActionHandler = new TestActionHandler(); in setUp()
144 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()