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/tests/unit/com/android/documentsui/dirlist/
DAppsRowManagerTest.java54 private ActionHandler mActionHandler; field in AppsRowManagerTest
63 mActionHandler = new TestActionHandler(); in setUp()
65 mAppsRowManager = new AppsRowManager(mActionHandler); in setUp()
83 rootList.add(new RootItem(TestProvidersAccess.INSPECTOR, mActionHandler)); in testUpdateList_byRootItem()
84 rootList.add(new RootItem(TestProvidersAccess.PICKLES, mActionHandler)); in testUpdateList_byRootItem()
102 hybridList.add(new RootItem(TestProvidersAccess.INSPECTOR, mActionHandler)); in testUpdateList_byHybridItem()
103 hybridList.add(new AppItem(info, TestProvidersAccess.PICKLES.title, mActionHandler)); in testUpdateList_byHybridItem()
121 rootList.add(new RootItem(TestProvidersAccess.INSPECTOR, mActionHandler)); in testUpdateView_matchedState_showRow()
134 rootList.add(new RootItem(TestProvidersAccess.INSPECTOR, mActionHandler)); in testUpdateView_notInRecent_hideRow()
150 rootList.add(new RootItem(TestProvidersAccess.INSPECTOR, mActionHandler)); in testUpdateView_notHandledAction_hideRow()
DModelBackedDocumentsAdapterTest.java39 private ActionHandler mActionHandler; field in ModelBackedDocumentsAdapterTest
46 mActionHandler = new TestActionHandler(); in setUp()
69 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
DDragHostTest.java54 private TestActionHandler mActionHandler; field in DragHostTest
70 mActionHandler = new TestActionHandler(); in setUp()
75 mActionHandler, in setUp()
DDirectoryAddonsAdapterTest.java45 private ActionHandler mActionHandler; field in DirectoryAddonsAdapterTest
50 mActionHandler = new TestActionHandler(); in setUp()
158 public ActionHandler getActionHandler() { return mActionHandler; } in getActionHandler()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DRootsFragment.java123 private ActionHandler mActionHandler; field in RootsFragment
206 mActionHandler = mInjector.actions; in onActivityCreated()
213 mActionHandler); in onActivityCreated()
291 item = new RootItem(root, mActionHandler); in sortLoadResult()
294 item = new RootItem(root, mActionHandler); in sortLoadResult()
297 item = new RootItem(root, mActionHandler, in sortLoadResult()
366 mActionHandler); in includeHandlerApps()
369 mActionHandler); in includeHandlerApps()
383 item = new RootAndAppItem(rootItem.root, resolveInfo, mActionHandler); in includeHandlerApps()
490 ejectClicked(ejectIcon, rootItem.root, mActionHandler); in onContextItemSelected()
[all …]
DRootItem.java48 protected final ActionHandler mActionHandler; field in RootItem
58 mActionHandler = actionHandler; in RootItem()
108 RootsFragment.ejectClicked(view, root, mActionHandler); in onActionClick()
139 mActionHandler.openRoot(root); in open()
154 return mActionHandler.dropOn(event, root); in dropOn()
DAppItem.java40 private final ActionHandler mActionHandler; field in AppItem
45 mActionHandler = actionHandler; in AppItem()
73 mActionHandler.showAppDetails(info); in showAppDetails()
102 mActionHandler.openRoot(info); in open()
DRootAndAppItem.java44 mActionHandler.showAppDetails(resolveInfo); in showAppDetails()
62 mActionHandler.openRoot(resolveInfo); in onActionClick()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DAppsRowItemData.java38 protected final ActionHandler mActionHandler; field in AppsRowItemData
42 mActionHandler = actionHandler; in AppsRowItemData()
69 mActionHandler.openRoot(mResolveInfo); in onClicked()
94 mActionHandler.openRoot(mRootInfo); in onClicked()
DAppsRowManager.java43 private final ActionHandler mActionHandler; field in AppsRowManager
48 mActionHandler = handler; in AppsRowManager()
55 mDataList.add(new RootData((RootItem) item, mActionHandler)); in updateList()
57 mDataList.add(new AppData((AppItem) item, mActionHandler)); in updateList()