/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
D | Folder.java | 55 public class Folder implements Parcelable, Comparable<Folder> { class 200 public static final Collection<Folder> EMPTY = Collections.emptyList(); 229 public Folder build() { in build() 230 return new Folder(mId, mPersistentId, mUri, mName, mCapabilities, in build() 340 public Folder(int id, String persistentId, Uri uri, String name, int capabilities, in Folder() method in Folder 378 public Folder(Cursor cursor) { in Folder() method in Folder 429 public static final CursorCreator<Folder> FACTORY = new CursorCreator<Folder>() { 431 public Folder createFromCursor(Cursor c) { 432 return new Folder(c); 441 public Folder(Parcel in, ClassLoader loader) { in Folder() method in Folder [all …]
|
D | FolderWatcher.java | 48 private final Map<Uri, Folder> mInboxMap = new HashMap<Uri, Folder>(); 188 final Folder f = getDefaultInbox(account); in getUnreadCount() 195 public final Folder getDefaultInbox(Account account) { in getDefaultInbox() 198 final Folder candidate = mInboxMap.get(uri); in getDefaultInbox() 209 private class UnreadLoads implements LoaderManager.LoaderCallbacks<ObjectCursor<Folder>> { 216 public Loader<ObjectCursor<Folder>> onCreateLoader(int id, Bundle args) { in onCreateLoader() 218 return new ObjectCursorLoader<Folder>(mActivity.getActivityContext(), uri, projection, in onCreateLoader() 219 Folder.FACTORY); in onCreateLoader() 223 public void onLoadFinished(Loader<ObjectCursor<Folder>> loader, ObjectCursor<Folder> data) { in onLoadFinished() 227 final Folder f = data.getModel(); in onLoadFinished() [all …]
|
D | FolderList.java | 18 private static final FolderList EMPTY = new FolderList(Collections.<Folder> emptyList()); 20 public final ImmutableList<Folder> folders; 24 private FolderList(Collection<Folder> in) { in FolderList() 33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR)); in FolderList() 61 public static byte[] listToBlob(List<Folder> in) { in listToBlob() 82 public static FolderList copyOf(Collection<Folder> in) { in copyOf()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 56 import com.android.mail.providers.Folder; 104 LoaderManager.LoaderCallbacks<ObjectCursor<Folder>>, 143 private Folder mCurrentFolderForUnreadCheck; 145 private Folder mParentFolder; 204 private Folder mNextFolder = null; 256 public static FolderListFragment ofTree(Folder folder) { in ofTree() 285 private static Bundle getBundleFromArgs(Folder parentFolder, Uri folderListUri, in getBundleFromArgs() 342 public void onChanged(Folder newFolder) { in onActivityCreated() 346 final Folder currentFolder; in onActivityCreated() 357 final Folder selectedFolder; in onActivityCreated() [all …]
|
D | RecentFolderList.java | 28 import com.android.mail.providers.Folder; 81 private static final Comparator<Folder> ALPHABET_IGNORECASE = new Comparator<Folder>() { 83 public int compare(Folder lhs, Folder rhs) { 97 private final Folder mFolder; 105 public StoreRecent(Account account, Folder folder) { in StoreRecent() 165 public void loadFromUiProvider(ObjectCursor<Folder> c) { in loadFromUiProvider() 180 final Folder folder = c.getModel(); in loadFromUiProvider() 193 public void touchFolder(@NonNull Folder folder, Account account) { in touchFolder() 221 public ArrayList<Folder> getRecentFolderList(final FolderUri excludedFolderUri) { in getRecentFolderList() 236 final ArrayList<Folder> recentFolders = Lists.newArrayList(); in getRecentFolderList() [all …]
|
D | ConversationsInOutboxTipView.java | 36 import com.android.mail.providers.Folder; 48 private Folder mOutbox; 77 public void onUpdate(Folder folder, ConversationCursor cursor) { 86 private final LoaderCallbacks<ObjectCursor<Folder>> mFolderListLoaderCallbacks = 87 new LoaderManager.LoaderCallbacks<ObjectCursor<Folder>>() { 89 public void onLoaderReset(final Loader<ObjectCursor<Folder>> loader) { 94 public void onLoadFinished(final Loader<ObjectCursor<Folder>> loader, 95 final ObjectCursor<Folder> data) { 98 final Folder folder = data.getModel(); 108 public Loader<ObjectCursor<Folder>> onCreateLoader(final int id, final Bundle args) { [all …]
|
D | FolderSelectorAdapter.java | 21 import com.android.mail.providers.Folder; 56 private final Folder mFolder; 61 public FolderRow(Folder folder, boolean isSelected) { in FolderRow() 66 public Folder getFolder() { in getFolder() 93 private Folder mExcludedFolder; 103 int layout, Folder excludedFolder) { in FolderSelectorAdapter() 123 final Folder folder = new Folder(folders); in createFolderRows() 142 final Folder folder = row.getFolder(); in createFolderRows() 210 final Folder folder = folderRow.mFolder; in folderSort() 279 protected boolean meetsRequirements(Folder folder) { in meetsRequirements() [all …]
|
D | AbstractActivityController.java | 85 import com.android.mail.providers.Folder; 186 protected Folder mFolder; 187 protected Folder mInbox; 462 private Folder mFolderListFolder; 806 Folder nextFolder) { in closeDrawer() 852 protected void preloadConvList(Account nextAccount, Folder nextFolder) { in preloadConvList() 884 protected void onFolderChanged(Folder folder, final boolean force) { in onFolderChanged() 888 final boolean isTopLevel = Folder.isRoot(folder); in onFolderChanged() 917 private void setListContext(Folder folder, String query) { in setListContext() 934 private void changeFolder(Folder folder, String query, final boolean force) { in changeFolder() [all …]
|
D | NestedFolderTeaserView.java | 44 import com.android.mail.providers.Folder; 119 private Folder mFolder; 130 public void setFolder(final Folder folder) { in setFolder() 148 public Folder getFolder() { in getFolder() 245 public void onUpdate(final Folder folder, final ConversationCursor cursor) { in onUpdate() 335 final Folder folder = folderHolder.getFolder(); in updateViews() 422 private final LoaderCallbacks<ObjectCursor<Folder>> mFolderListLoaderCallbacks = 423 new LoaderCallbacks<ObjectCursor<Folder>>() { 425 public void onLoaderReset(final Loader<ObjectCursor<Folder>> loader) { 430 public void onLoadFinished(final Loader<ObjectCursor<Folder>> loader, [all …]
|
D | FolderOperation.java | 23 import com.android.mail.providers.Folder; 35 public final Folder mFolder; 38 public FolderOperation(Folder folder, Boolean operation) { in FolderOperation() 48 public static ArrayList<Folder> getFolders(Collection<FolderOperation> ops) { in getFolders() 49 HashSet<Folder> folders = new HashSet<Folder>(); in getFolders() 53 return new ArrayList<Folder>(folders); in getFolders() 72 public static boolean isDestructive(Collection<FolderOperation> folderOps, Folder folder) { in isDestructive()
|
D | FolderOperations.java | 20 import com.android.mail.providers.Folder; 51 public FolderOperations(Folder folder, boolean add) { in FolderOperations() 66 public void add(Folder folder, boolean add) { in add() 78 public boolean hasOperation(Folder folder) { in hasOperation() 97 public boolean hasApplyOperation(Folder folder) { in hasApplyOperation() 119 public boolean hasRemoveOperation(Folder folder) { in hasRemoveOperation() 210 public final Folder mFolder; 218 private Operation(Folder folder, boolean add) { in Operation()
|
D | FolderSelectionActivity.java | 39 import com.android.mail.providers.Folder; 65 private Folder mSelectedFolder; 132 Account account, Folder folder) { 239 protected void createWidget(int id, Account account, Folder selectedFolder) { in createWidget() 259 private void onFolderChanged(Folder folder, final boolean force) { in onFolderChanged() 327 private Folder mNavigatedFolder; 329 public void onFolderSelected(Folder folder) { in onFolderSelected() 352 public Folder getHierarchyFolder() { in getHierarchyFolder() 391 public void onFooterViewLoadMoreClick(Folder folder) { in onFooterViewLoadMoreClick()
|
D | FolderItemView.java | 30 import com.android.mail.providers.Folder; 44 private Folder mFolder; 95 public static boolean areSameViews(final Folder a, final Folder b) { in areSameViews() 110 public void bind(final Folder folder, final FolderUri parentUri) { in bind() 135 public void setIcon(final Folder folder) { in setIcon() 137 Folder.setIcon(folder, folderIconView); in setIcon()
|
D | MiniDrawerView.java | 31 import com.android.mail.providers.Folder; 138 final ObjectCursor<Folder> folderCursor = mController.getFoldersCursor(); in refresh() 143 final Folder f = folderCursor.getModel(); in refresh() 159 public final Folder folder; 162 public FolderItem(Folder f, ImageView iv) { in FolderItem() 165 Folder.setIcon(folder, view); in FolderItem()
|
D | FolderDisplayer.java | 31 import com.android.mail.providers.Folder; 48 protected final NavigableSet<Folder> mFoldersSortedSet = Sets.newTreeSet(); 91 for (Folder folder : conv.getRawFolders()) { in loadConversationFolders() 122 public static int[] measureFolderDimen(Set<Folder> folders, int maxCellWidth, in measureFolderDimen() 139 for (Folder f : folders) { in measureFolderDimen() 184 Folder f, FolderDisplayer.FolderDrawableResources res, BidiFormatter formatter, in drawFolder()
|
D | MultiFoldersSelectionDialog.java | 32 import com.android.mail.providers.Folder; 111 final List<Folder> rawFolders = conversation.getRawFolders(); in onCreate() 114 checked.addAll(Arrays.asList(Folder.getUriArray(rawFolders))); in onCreate() 202 final Folder folder = ((FolderRow)item).getFolder(); in update() 210 final Folder folder = row.getFolder(); in update()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
D | ConversationListContext.java | 25 import com.android.mail.providers.Folder; 54 public final Folder folder; 71 Folder folder = bundle.getParcelable(Utils.EXTRA_FOLDER); in forBundle() 81 public static ConversationListContext forFolder(Account account, Folder folder) { in forFolder() 88 public static ConversationListContext forSearchQuery(Account account, Folder folder, in forSearchQuery() 101 private ConversationListContext(Account a, String query, Folder f) { in ConversationListContext()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | NotificationActionUtils.java | 42 import com.android.mail.providers.Folder; 88 public boolean shouldDisplayPrimary(final Folder folder, 118 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); in shouldDisplayPrimary() 168 public int getActionIconResId(final Folder folder, final Conversation conversation, in getActionIconResId() 178 public int getDisplayStringResId(final Folder folder, final Conversation conversation, in getDisplayStringResId() 202 final Folder folder, final int notificationId, final long when, in addNotificationActions() 269 final Folder folder, final Collection<String> notificationActionStrings) { in getSortedNotificationActions() 351 final Folder folder, final Intent notificationIntent, in getNotificationActionPendingIntent() 420 final Folder folder, final Intent notificationIntent, in getWearNotificationActionPendingIntent() 489 private final Folder mFolder; [all …]
|
D | NotificationUtils.java | 61 import com.android.mail.providers.Folder; 260 final Folder folder; in loadNotificationMap() 263 folder = new Folder(folderCursor); in loadNotificationMap() 381 final Folder folder = notification.folder; in resendNotifications() 439 final Folder folder = notification.folder; in validateAccountNotifications() 456 final Folder folder = notification.folder; in validateAccountNotifications() 473 final int unseenCount, final Account account, final Folder folder, in sendSetNewEmailIndicatorIntent() 495 final int unseenCount, final Account account, final Folder folder, in setNewEmailIndicator() 546 private static void validateNotifications(Context context, final Folder folder, in validateNotifications() 853 Folder folder, long when, int unseenCount, int unreadCount, PendingIntent clickIntent) { in createPublicNotification() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationListFooterView.java | 28 import com.android.mail.providers.Folder; 34 void onFooterViewLoadMoreClick(Folder folder); in onFooterViewLoadMoreClick() 62 final Folder f = (Folder) v.getTag(); in onClick() 68 public void setFolder(Folder folder) { in setFolder()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | Pop3Store.java | 30 import com.android.emailcommon.mail.Folder; 31 import com.android.emailcommon.mail.Folder.OpenMode; 61 private final HashMap<String, Folder> mFolders = new HashMap<String, Folder>(); 95 public Folder getFolder(String name) { in getFolder() 96 Folder folder = mFolders.get(name); in getFolder() 105 public Folder[] updateFolders() { in updateFolders() 115 return new Folder[] { getFolder(mailbox.mServerId) }; in updateFolders() 142 public class Pop3Folder extends Folder { 679 public void copyMessages(Message[] msgs, Folder folder, MessageUpdateCallbacks callbacks) { in copyMessages()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/helpers/ |
D | Folder.java | 19 class Folder implements Cloneable { class 24 Folder(String i, boolean p, String t) { in Folder() method in Folder 31 public Folder clone() { in clone() 32 return new Folder(mediaId, isPlayable, title); in clone()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | FolderPickerDialog.java | 33 import com.android.mail.providers.Folder; 46 private final HashMap<Folder, Boolean> mCheckedState; 54 mCheckedState = new HashMap<Folder, Boolean>(); in FolderPickerDialog() 129 Folder folder = null; in onClick() 130 for (Entry<Folder, Boolean> entry : mCheckedState.entrySet()) { in onClick()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 46 import com.android.emailcommon.mail.Folder; 47 import com.android.emailcommon.mail.Folder.FolderType; 48 import com.android.emailcommon.mail.Folder.MessageRetrievalListener; 49 import com.android.emailcommon.mail.Folder.MessageUpdateCallbacks; 50 import com.android.emailcommon.mail.Folder.OpenMode; 255 Folder remoteFolder, ArrayList<Message> messages, final Mailbox toMailbox) in loadUnsyncedMessages() 282 final Mailbox mailbox, Folder remoteFolder, ArrayList<Message> unsyncedMessages, in downloadFlagAndEnvelope() 439 final Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in synchronizeMailboxGeneric() 1104 Folder remoteFolder = remoteStore.getFolder(mailbox.mServerId); in processPendingDataChange() 1139 Folder toFolder = remoteStore.getFolder(newMailbox.mServerId); in processPendingDataChange() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/ |
D | DrawerItem.java | 27 import com.android.mail.providers.Folder; 50 public final Folder mFolder; 112 protected DrawerItem(ControllableActivity activity, Folder folder, in DrawerItem() 130 public static DrawerItem ofFolder(ControllableActivity activity, Folder folder, in ofFolder()
|