Home
last modified time | relevance | path

Searched refs:mActionHandler (Results 1 – 13 of 13) 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()
199 mActionHandler); in onActivityCreated()
263 final RootItem item = new RootItem(root, mActionHandler); in sortLoadResult()
315 final AppItem app = new AppItem(info, mActionHandler); in includeHandlerApps()
401 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
404 mActionHandler.openInNewWindow(new DocumentStack(rootItem.root)); in onContextItemSelected()
407 mActionHandler.pasteIntoFolder(rootItem.root); in onContextItemSelected()
410 mActionHandler.openSettings(rootItem.root); in onContextItemSelected()
421 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()
115 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()
202 mActionHandler.open.assertLastArgument(mEvent.build().getDocumentDetails()); in testDoubleClick_Opens()
DModelBackedDocumentsAdapterTest.java39 private ActionHandler mActionHandler; field in ModelBackedDocumentsAdapterTest
46 mActionHandler = new TestActionHandler(); in setUp()
69 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()
DDragHostTest.java54 private TestActionHandler mActionHandler; field in DragHostTest
70 mActionHandler = new TestActionHandler(); in setUp()
75 mActionHandler, in setUp()
DDirectoryAddonsAdapterTest.java43 private ActionHandler mActionHandler; field in DirectoryAddonsAdapterTest
48 mActionHandler = new TestActionHandler(); in setUp()
145 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
DUserInputHandler_RangeTest.java50 private TestActionHandler mActionHandler; field in UserInputHandler_RangeTest
65 mActionHandler = new TestActionHandler(); in setUp()
74 mActionHandler, in setUp()