Home
last modified time | relevance | path

Searched refs:mFolder (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/email/mail/store/
DImapStoreUnitTests.java97 private ImapFolder mFolder = null; field in ImapStoreUnitTests
160 mFolder = (ImapFolder) mStore.getFolder(FOLDER_NAME); in setUp()
167 mFolder.createMessage("a") in testJoinMessageUids()
170 mFolder.createMessage("a"), in testJoinMessageUids()
171 mFolder.createMessage("XX"), in testJoinMessageUids()
184 mFolder.open(OpenMode.READ_WRITE); in testSimpleLogin()
226 mFolder.open(OpenMode.READ_WRITE); in testTlsOpen()
420 mFolder.open(OpenMode.READ_WRITE); in testServerId()
433 mFolder.open(OpenMode.READ_WRITE); in testImapIdOkParsing()
445 mFolder.open(OpenMode.READ_WRITE); in testImapIdBad()
[all …]
DPop3StoreUnitTests.java54 private Pop3Store.Pop3Folder mFolder = null; field in Pop3StoreUnitTests
80 mFolder = (Pop3Store.Pop3Folder) mStore.getFolder("INBOX"); in setUp()
89 Pop3Store.Pop3Folder.UidlParser parser = mFolder.new UidlParser(); in testUIDLParserMulti()
110 Pop3Store.Pop3Folder.UidlParser parser = mFolder.new UidlParser(); in testUIDLParserSingle()
129 Pop3Store.Pop3Folder.UidlParser parser = mFolder.new UidlParser(); in testUIDLParserMultiFail()
147 Pop3Store.Pop3Folder.UidlParser parser = mFolder.new UidlParser(); in testUIDLParserSingleFail()
165 Pop3Store.Pop3Folder.UidlParser parser = mFolder.new UidlParser(); in testUIDLComcastVariant()
184 mFolder.open(OpenMode.READ_ONLY); in testSimpleLogin()
264 assertSame(mFolder, folders[0]); in testStoreFoldersFunctions()
267 assertEquals("INBOX", mFolder.getName()); in testStoreFoldersFunctions()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionBarController.java66 private Folder mFolder; field in ActionBarController
170 mFolder = folder; in setFolder()
233 Utils.setMenuItemPresent(mEmptyTrashItem, mAccount != null && mFolder != null in validateVolatileMenuOptionVisibility()
235 && mFolder.isTrash() && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility()
238 Utils.setMenuItemPresent(mEmptySpamItem, mAccount != null && mFolder != null in validateVolatileMenuOptionVisibility()
240 && mFolder.isType(FolderType.SPAM) && mFolder.totalCount > 0 in validateVolatileMenuOptionVisibility()
349 if (mFolder == null) { in setFolderAndAccount()
355 setTitle(mFolder.name); in setFolderAndAccount()
367 mFolder = folder; in onFolderUpdated()
398 final boolean isOutbox = mFolder.isType(FolderType.OUTBOX); in setConversationModeOptions()
[all …]
DAbstractActivityController.java186 protected Folder mFolder; field in AbstractActivityController
866 mFolder = null; in preloadConvList()
896 if (mFolder == null || !mFolder.equals(folder)) { in onFolderChanged()
920 mConvListContext = ConversationListContext.forSearchQuery(mAccount, mFolder, query); in setListContext()
922 mConvListContext = ConversationListContext.forFolder(mAccount, mFolder); in setListContext()
935 if (!Objects.equal(mFolder, folder)) { in changeFolder()
938 if (folder != null && (!folder.equals(mFolder) || force) in changeFolder()
943 if (mFolder != null) { in changeFolder()
944 mRecentFolderList.touchFolder(mFolder, mAccount); in changeFolder()
1020 if (mFolder == null || !newFolder.equals(mFolder)) { in setHasFolderChanged()
[all …]
DConversationListFragment.java129 private Folder mFolder; field in ConversationListFragment
199 mEmptyView.setupEmptyText(mFolder, mViewContext.searchQuery, in showEmptyView()
216 return mCallbacks != null && mCallbacks.setupEmptyIconView(mFolder, isEmpty); in setupEmptyIcon()
1006 mFolder = folder; in onFolderUpdated()
1012 if (mFolder == null) { in onFolderUpdated()
1015 mListAdapter.setFolder(mFolder); in onFolderUpdated()
1016 mFooterView.setFolder(mFolder); in onFolderUpdated()
1017 if (!mFolder.wasSyncSuccessful()) { in onFolderUpdated()
1018 mErrorListener.onError(mFolder, false); in onFolderUpdated()
1025 ConversationItemViewModel.onFolderUpdated(mFolder); in onFolderUpdated()
[all …]
DFolderSelectorAdapter.java56 private final Folder mFolder; field in FolderSelectorAdapter.FolderRow
62 mFolder = folder; in FolderRow()
67 return mFolder; in getFolder()
84 return mFolder.name.compareToIgnoreCase(another.mFolder.name); in compareTo()
210 final Folder folder = folderRow.mFolder; in folderSort()
220 if (Utils.isEmpty(folderRow.mFolder.parent)) { in folderSort()
250 pathName = currentNode.mWrappedObject.mFolder.name; in folderSort()
257 + currentNode.mWrappedObject.mFolder.name; in folderSort()
DFolderOperation.java35 public final Folder mFolder; field in FolderOperation
40 mFolder = folder; in FolderOperation()
51 folders.add(op.mFolder); in getFolders()
74 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { in isDestructive()
77 if (folder.isTrash() && op.mFolder.isInbox()) { in isDestructive()
88 mFolder = in.readParcelable(getClass().getClassLoader()); in FolderOperation()
99 dest.writeParcelable(mFolder, 0); in writeToParcel()
DRecentFolderList.java97 private final Folder mFolder; field in RecentFolderList.StoreRecent
108 mFolder = folder; in StoreRecent()
118 values.put(mFolder.folderUri.fullUri.toString(), 0); in doInBackground()
119 LogUtils.i(TAG, "Save: %s", mFolder.name); in doInBackground()
238 if (!excludedUris.contains(entry.mFolder.folderUri)) { in getRecentFolderList()
239 recentFolders.add(entry.mFolder); in getRecentFolderList()
262 private final Folder mFolder; field in RecentFolderList.RecentFolderListEntry
266 mFolder = folder; in RecentFolderListEntry()
DFolderItemView.java44 private Folder mFolder; field in FolderItemView
111 mFolder = folder; in bind()
123 if (mFolder.isInbox() && mFolder.unseenCount > 0) { in bind()
125 setUnseenCount(mFolder.getBackgroundColor(Color.BLACK), mFolder.unseenCount); in bind()
128 setUnreadCount(Utils.getFolderUnreadDisplayCount(mFolder)); in bind()
DToastBarOperation.java37 private final Folder mFolder; field in ToastBarOperation
55 mFolder = operationFolder; in ToastBarOperation()
71 mFolder = in.readParcelable(loader); in ToastBarOperation()
87 sb.append(mFolder); in toString()
98 dest.writeParcelable(mFolder, 0); in writeToParcel()
128 return context.getString(R.string.folder_removed, mFolder.name); in getDescription()
132 return context.getString(R.string.conversation_folder_moved, mFolder.name); in getDescription()
DSwipeableListView.java71 private Folder mFolder; field in SwipeableListView
160 mFolder = folder; in setCurrentFolder()
235 mFolder); in dismissChild()
251 FolderOperation folderOp = new FolderOperation(mFolder, false); in dismissChild()
254 targetFolders.remove(folderOp.mFolder.folderUri.fullUri); in dismissChild()
259 folderUris.add(mFolder.folderUri.fullUri); in dismissChild()
DConversationSyncDisabledTipView.java51 private Folder mFolder = null; field in ConversationSyncDisabledTipView
97 mFolder = folder;
107 if (mFolder == null || mFolder.syncWindow <= 0) {
DNestedFolderTeaserView.java119 private Folder mFolder; field in NestedFolderTeaserView.FolderHolder
131 mFolder = folder; in setFolder()
149 return mFolder; in getFolder()
583 final int maxSenders = folderHolder.mFolder.unreadCount;
645 final Uri uri = mFolderHolders.get(folderId).mFolder.conversationListUri
DAnimatedAdapter.java171 private Folder mFolder; field in AnimatedAdapter
387 view.bind(conv, mActivity, mBatchConversations, mFolder, getCheckboxSetting(), in createConversationItemView()
580 leaveBehind.bind(deletedRow, mAccount, this, undoOp, target, mFolder, viewHeight); in setupLeaveBehind()
792 view.bind(conversation, mActivity, mBatchConversations, mFolder, getCheckboxSetting(), in newConversationItemView()
905 mFolder = folder; in setFolder()
1055 specialView.onUpdate(mFolder, getConversationCursor()); in updateSpecialViews()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java91 private final Folder mFolder; field in SelectedConversationsActionMenu
109 mFolder = folder; in SelectedConversationsActionMenu()
143 mUpdater.getDeferredRemoveFolder(mCheckedSet.values(), mFolder, true, in onActionItemClicked()
172 if (mFolder.isType(UIProvider.FolderType.STARRED)) { in onActionItemClicked()
183 if (mFolder.supportsCapability(FolderCapabilities.IS_VIRTUAL)) { in onActionItemClicked()
203 acct, mCheckedSet.values(), true, mFolder, in onActionItemClicked()
230 if (mFolder.supportsCapability(UIProvider.FolderCapabilities.ONLY_IMPORTANT)) { in onActionItemClicked()
398 final boolean canStar = mFolder != null && !mFolder.isTrash(); in onPrepareActionMode()
414 final boolean showRemoveFolder = mFolder != null && mFolder.isType(FolderType.DEFAULT) in onPrepareActionMode()
415 && mFolder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) in onPrepareActionMode()
[all …]
DConversationPagerAdapter.java60 private final Folder mFolder; field in ConversationPagerAdapter
143 mFolder = folder; in ConversationPagerAdapter()
151 return mAccount != null && mFolder != null && mAccount.matches(account) in matches()
152 && mFolder.equals(folder); in matches()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolderIcon.java54 private Folder mFolder; field in FolderIcon
176 icon.mFolder = folder; in fromXml()
316 return mFolder; in getFolder()
327 !mFolder.isFull() && item != mInfo && !mInfo.opened); in willAcceptItem()
332 return !mFolder.isDestroyed() && willAcceptItem(item); in acceptDrop()
340 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter()
374 mFolder.beginExternalDrag(item);
464 mFolder.hideItem(item); in onDrop()
468 mFolder.showItem(item); in onDrop()
485 mFolder.notifyDrop();
[all …]
DFolderEditText.java10 private Folder mFolder; field in FolderEditText
25 mFolder = folder; in setFolder()
32 mFolder.doneEditingFolderName(true); in onKeyPreIme()
/packages/apps/Launcher2/src/com/android/launcher2/
DFolderIcon.java53 private Folder mFolder; field in FolderIcon
149 icon.mFolder = folder; in fromXml()
285 return mFolder; in getFolder()
296 !mFolder.isFull() && item != mInfo && !mInfo.opened); in willAcceptItem()
301 return !mFolder.isDestroyed() && willAcceptItem(item); in acceptDrop()
309 if (mFolder.isDestroyed() || !willAcceptItem((ItemInfo) dragInfo)) return; in onDragEnter()
405 mFolder.hideItem(item); in onDrop()
409 mFolder.showItem(item); in onDrop()
426 mFolder.notifyDrop();
537 if (mFolder == null) return;
[all …]
DFolderEditText.java10 private Folder mFolder; field in FolderEditText
25 mFolder = folder; in setFolder()
32 mFolder.doneEditingFolderName(true); in onKeyPreIme()
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
DFolderDrawerItem.java36 return "[DrawerItem VIEW_FOLDER, mFolder=" + mFolder + ", mItemCategory=" + in toString()
56 folderItemView.bind(mFolder, null /* parentUri */); in getView()
57 folderItemView.setIcon(mFolder); in getView()
64 if (currentFolder != null && mFolder != null && mFolder.folderUri != null) { in isHighlighted()
65 return (mItemCategory == currentType) && mFolder.folderUri.equals(currentFolder); in isHighlighted()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessage.java49 private String mFolder = null; field in BluetoothMapbMessage
715 this.mFolder = folder; in setCompleteFolder()
719 this.mFolder = "telecom/msg/" + folder; in setFolder()
723 return mFolder; in getFolder()
845 if(mFolder.length() > 512) in encodeGeneric()
846 …sb.append("FOLDER:").append(mFolder.substring(mFolder.length()-512, mFolder.length())).append("\r\… in encodeGeneric()
848 sb.append("FOLDER:").append(mFolder).append("\r\n"); in encodeGeneric()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java102 private FolderSpinner mFolder; field in AddBookmarkPage
214 mFolder.setSelectionIgnoringSelectionChange(mEditingFolder ? 0 : 1); in switchToDefaultView()
223 mFolder.setSelectionIgnoringSelectionChange(0); in switchToDefaultView()
226 mFolder.setSelectionIgnoringSelectionChange(mEditingFolder ? 0 : 1); in switchToDefaultView()
651 mFolder = (FolderSpinner) findViewById(R.id.folder); in onCreate()
653 mFolder.setAdapter(mFolderAdapter); in onCreate()
654 mFolder.setOnSetSelectionListener(this); in onCreate()
732 mFolder.setSelectionIgnoringSelectionChange(mEditingFolder ? 1 : 2); in onCurrentFolderFound()
739 mFolder.setSelectionIgnoringSelectionChange(FolderSpinnerAdapter.ROOT_FOLDER); in onCurrentFolderFound()
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/
DFolderPreferences.java67 private final Folder mFolder; field in FolderPreferences
101 mFolder = folder; in FolderPreferences()
251 mFolder.supportsCapability(FolderCapabilities.ARCHIVE) in getNotificationActions()
252 || mFolder.supportsCapability(FolderCapabilities.ALLOWS_REMOVE_CONVERSATION); in getNotificationActions()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DNotificationActionUtils.java489 private final Folder mFolder; field in NotificationActionUtils.NotificationAction
506 mFolder = folder; in NotificationAction()
532 return mFolder; in getFolder()
562 if (mFolder.isInbox()) { in getActionTextResId()
586 out.writeParcelable(mFolder, 0); in writeToParcel()
619 mFolder = in.readParcelable(loader); in NotificationAction()

12