/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | AddableFolderSelectorAdapter.java | 42 final Object[] folder = new Object[projectionSize]; 64 folder[UIProvider.FOLDER_ID_COLUMN] = folderCursor 66 folder[UIProvider.FOLDER_PERSISTENT_ID_COLUMN] = folderCursor 68 folder[UIProvider.FOLDER_URI_COLUMN] = folderCursor 70 folder[UIProvider.FOLDER_NAME_COLUMN] = folderCursor 72 folder[UIProvider.FOLDER_HAS_CHILDREN_COLUMN] = folderCursor 74 folder[UIProvider.FOLDER_CAPABILITIES_COLUMN] = folderCursor 76 folder[UIProvider.FOLDER_SYNC_WINDOW_COLUMN] = folderCursor 78 folder[UIProvider.FOLDER_CONVERSATION_LIST_URI_COLUMN] = folderCursor 80 folder[UIProvide [all...] |
H A D | UserFolderHierarchicalFolderSelectorAdapter.java | 30 * Return whether the supplied folder meets the requirements to be displayed 31 * in the folder list. 34 protected boolean meetsRequirements(Folder folder) { argument 35 if (folder.isProviderFolder()) { 38 return super.meetsRequirements(folder);
|
H A D | ErrorListener.java | 26 public void onError(final Folder folder, boolean replaceVisibleToast); argument
|
H A D | FolderChangeListener.java | 26 * Handles selecting a folder from within the {@link FolderListFragment}. 28 * @param folder the selected folder 29 * @param force <code>true</code> to force a folder change, <code>false</code> to disallow 30 * changing to the current folder 32 void onFolderChanged(Folder folder, boolean force); argument
|
H A D | FolderSelector.java | 23 * Interface that permits elements to implement selecting a folder. 25 * happens when a folder is selected. 29 * Selects the folder provided as an argument here. This corresponds to the user 30 * selecting a folder in the UI element, either for creating a widget/shortcut (as in the 32 * the folder (as in the case of {@link AbstractActivityController}. 33 * @param folder 35 public void onFolderSelected(Folder folder); argument
|
H A D | FolderOperations.java | 32 * Object that contains a list of folder operations (application/removals of folders) 51 public FolderOperations(Folder folder, boolean add) { argument 53 if (folder != null) { 54 add(folder, add); 61 * Adds an operation to the list of folder operations to be applied. The last 62 * operation for a folder will be retained in the list of operations. 63 * @param folder Folder to be applied 64 * @param add True if the folder should be applied, or false if the folder should be removed 66 public void add(Folder folder, boolea argument 78 hasOperation(Folder folder) argument 97 hasApplyOperation(Folder folder) argument 119 hasRemoveOperation(Folder folder) argument 218 Operation(Folder folder, boolean add) argument [all...] |
H A D | FolderOperation.java | 35 public FolderOperation(Folder folder, Boolean operation) { argument 37 mFolder = folder; 41 * Get all the unique folders associated with a set of folder operations. 55 * returns a valid collection even if the input folder is null. 58 * @return a collection of the folder. 66 * Return if a set of folder operations removes the specified folder or adds 69 public static boolean isDestructive(Collection<FolderOperation> folderOps, Folder folder) { argument 71 if (Objects.equal(op.mFolder, folder) && !op.mAdd) { 74 if (folder [all...] |
H A D | FolderSelectorAdapter.java | 59 public FolderRow(Folder folder, boolean isPresent) { argument 60 mFolder = folder; 122 final Folder folder = new Folder(folders); 125 folder.folderUri.getComparisonUri().toString()); 126 final FolderRow row = new FolderRow(folder, isSelected); 140 final Folder folder = row.getFolder(); 141 if (meetsRequirements(folder) && !Objects.equal(folder, mExcludedFolder)) { 145 } else if (folder.isProviderFolder()) { 185 * Sorts the folder lis 283 meetsRequirements(Folder folder) argument [all...] |
H A D | FolderDisplayer.java | 34 * Used to generate folder display information given a raw folders string. 57 * @param ignoreFolderUri (optional) folder to omit from the displayed set 63 for (Folder folder : conv.getRawFolders()) { 65 if (ignoreFolderType >= 0 && folder.isType(ignoreFolderType)) { 69 if (ignoreFolderUri != null && ignoreFolderUri.equals(folder.folderUri)) { 72 mFoldersSortedSet.add(folder);
|
H A D | RecentFolderList.java | 43 * A self-updating list of folder canonical names for the N most recently touched folders, ordered 58 /** The actual cache: map of folder URIs to folder objects. */ 65 * We exclude the default inbox for the account and the current folder; these might be the 78 * Compare based on alphanumeric name of the folder, ignoring case. 87 * Class to store the recent folder list asynchronously. 99 * Create a new asynchronous task to store the recent folder list. Both the account 100 * and the folder should be non-null. 101 * @param account the current account for this folder. 102 * @param folder th 104 StoreRecent(Account account, Folder folder) argument 192 touchFolder(Folder folder, Account account) argument 265 RecentFolderListEntry(Folder folder) argument [all...] |
H A D | SystemFolderSelectorAdapter.java | 40 * Return whether the supplied folder meets the requirements to be displayed 41 * in the folder list. 44 protected boolean meetsRequirements(Folder folder) { argument 49 return folder.isInbox(); 52 // return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) 53 // && folder.isProviderFolder();
|
H A D | FolderSelectionActivity.java | 137 Account account, Folder folder) { 202 * Create a Fragment showing this folder and its children. 214 * @return An {@link ArrayList} of folder canonical names 246 * Create a widget for the specified account and folder 269 public void onFolderChanged(Folder folder, final boolean force) { argument 270 if (!folder.equals(mSelectedFolder)) { 271 mSelectedFolder = folder; 278 * account, calculate the human readable name of the folder and 299 // folder in 350 public void onFolderSelected(Folder folder) { argument 368 supportsDrag(DragEvent event, Folder folder) argument 373 handleDrop(DragEvent event, Folder folder) argument 422 onFooterViewErrorActionClick(Folder folder, int errorStatus) argument 427 onFooterViewLoadMoreClick(Folder folder) argument [all...] |
H A D | MultiFoldersSelectionDialog.java | 42 * Displays a folder selection dialog for the conversation provided. It allows 58 * @param currentFolder the current folder that the 90 // belong to the folder we are currently looking at. 95 // will have divided folder sections. 144 final Folder folder = ((FolderRow)item).getFolder(); 145 mOperations.put(folder.folderUri.fullUri, 146 new FolderOperation(folder, false)); 152 final Folder folder = row.getFolder(); 153 mOperations.put(folder.folderUri.fullUri, new FolderOperation(folder, ad [all...] |
H A D | ConversationSpecialItemView.java | 36 void onUpdate(Folder folder, ConversationCursor cursor); argument
|
H A D | FolderListFragment.java | 78 * <br /> Tapping on a parent folder creates a new fragment with the child folders at 84 * any folder for a given account. 99 * True if you want a divided FolderList. A divided folder list shows the following groups: 106 /** True if the folder list belongs to a folder selection activity (one account only) */ 115 /** The currently selected folder (the folder being viewed). This is never null. */ 118 * The current folder from the controller. This is meant only to check when the unread count 122 /** Parent of the current folder, or null if the current folder i 188 ofTree(Folder folder) argument 1084 setSelectedFolder(Folder folder) argument 1162 isFolderTypeExcluded(final Folder folder) argument [all...] |
H A D | OnePaneController.java | 110 return !(account == null || context == null || context.folder == null 112 && isDefaultInbox(context.folder.folderUri, account); 189 // If going to the inbox, clear the folder list transaction history. 190 mInbox = listContext.folder; 195 // non-inbox folder. 299 * 2) If the user is in the folder list view, go back 303 * a) they got there by going through the folder 304 * list view, go back to the folder list view. 340 public void onFolderSelected(Folder folder) { argument 341 setHierarchyFolder(folder); 443 onError(final Folder folder, boolean replaceVisibleToast) argument [all...] |
H A D | NestedFolderTeaserView.java | 107 // Each folder's loader will be this value plus the folder id 135 public void setFolder(final Folder folder) { argument 136 mFolder = folder; 251 public void onUpdate(final Folder folder, final ConversationCursor cursor) { argument 254 if (folder == null) { 258 final Uri folderListUri = folder.childFoldersListUri; 268 if (mFolderListUri == null || !mFolderListUri.equals(folder.childFoldersListUri)) { 283 // Clear out the folder views 297 // Add all folder view [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
H A D | FolderPickerCallback.java | 23 public void select(Folder folder); argument
|
H A D | FolderPickerSelectorAdapter.java | 37 * Return whether the supplied folder meets the requirements to be displayed 38 * in the folder list. 41 protected boolean meetsRequirements(Folder folder) { argument 43 return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES) 44 || folder.isTrash();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
H A D | ConversationListContext.java | 37 * This includes the folder the user selected to view the list, or the search query for the 52 * The folder whose conversations we are displaying, if any. 54 public final Folder folder; field in class:ConversationListContext 61 sUrlMatcher.addURI(UIProvider.AUTHORITY, "account/*/folder/*", 0); 71 Folder folder = bundle.getParcelable(Utils.EXTRA_FOLDER); 72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder); 76 * Builds a context for a view to a Gmail folder. 78 * @param folder 81 public static ConversationListContext forFolder(Account account, Folder folder) { argument 82 return new ConversationListContext(account, null, folder); 88 forSearchQuery(Account account, Folder folder, String query) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | FolderEditText.java | 24 public void setFolder(Folder folder) { argument 25 mFolder = folder;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | FolderEditText.java | 24 public void setFolder(Folder folder) { argument 25 mFolder = folder;
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | NotificationUtils.java | 189 final Folder folder; 192 folder = new Folder(folderCursor); 200 final NotificationKey key = new NotificationKey(account, folder); 223 key.account.uri.toString(), key.folder.folderUri.fullUri.toString(), 283 * account-folder pair, pass in the account and folder that should be resent. 284 * All other account-folder pairs will not have their notifications resent. 285 * All notifications will be resent if account or folder is null. 309 final Folder folder = notification.folder; 400 setNewEmailIndicator(Context context, final int unreadCount, final int unseenCount, final Account account, final Folder folder, final boolean getAttention) argument 446 validateNotifications(Context context, final Folder folder, final Account account, boolean getAttention, boolean ignoreUnobtrusiveSetting, NotificationKey key) argument 676 createViewConversationIntent(final Context context, final Account account, final Folder folder, final Cursor cursor) argument 701 getDefaultNotificationIcon( final Context context, final Folder folder, final boolean multipleNew) argument 733 configureLatestEventInfoFromConversation(final Context context, final Account account, final FolderPreferences folderPreferences, final NotificationCompat.Builder notification, final Cursor conversationCursor, final PendingIntent clickIntent, final Intent notificationIntent, final int unreadCount, final int unseenCount, final Folder folder, final long when) argument 1252 clearFolderNotification(Context context, Account account, Folder folder, final boolean markSeen) argument 1330 getContactIcon(final Context context, final String displayName, final String senderAddress, final Folder folder) argument 1410 markSeen(final Context context, final Folder folder) argument 1460 getNotificationId(final android.accounts.Account account, final Folder folder) argument 1467 public final Folder folder; field in class:NotificationUtils.NotificationKey 1469 NotificationKey(Account account, Folder folder) argument [all...] |
H A D | NotificationActionUtils.java | 85 public boolean shouldDisplayPrimary(final Folder folder, 87 return folder == null || folder.isInbox(); 115 boolean shouldDisplayPrimary(Folder folder, Conversation conversation, Message message); argument 165 public int getActionIconResId(final Folder folder, final Conversation conversation, argument 167 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, 175 public int getDisplayStringResId(final Folder folder, final Conversation conversation, argument 177 if (mActionToggler == null || mActionToggler.shouldDisplayPrimary(folder, conversation, 198 final Folder folder, final int notificationId, final long when, 201 getSortedNotificationActions(folder, notificationAction 195 addNotificationActions(final Context context, final Intent notificationIntent, final NotificationCompat.Builder notification, final Account account, final Conversation conversation, final Message message, final Folder folder, final int notificationId, final long when, final Set<String> notificationActions) argument 218 getSortedNotificationActions( final Folder folder, final Collection<String> notificationActionStrings) argument 299 getNotificationActionPendingIntent(final Context context, final Account account, final Conversation conversation, final Message message, final Folder folder, final Intent notificationIntent, final NotificationActionType action, final int notificationId, final long when) argument 402 NotificationAction(final NotificationActionType notificationActionType, final Account account, final Conversation conversation, final Message message, final Folder folder, final long conversationId, final String messageId, final long localMessageId, final long when) argument 754 resendNotifications(final Context context, final Account account, final Folder folder) argument [all...] |
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | ImapStore.java | 67 * TODO Need a default response handler for things like folder updates 81 /** Charset used for converting folder names to and from UTF-7 as defined by RFC 3501. */ 305 final ImapFolder folder = mailboxes.get(path); 306 final Mailbox mailbox = folder.mMailbox; 326 * Creates a {@link Folder} and associated {@link Mailbox}. If the folder does not already 338 ImapFolder folder = (ImapFolder) getFolder(mailboxPath); 345 folder.mHash = mailbox.getHashes(); 349 if (folder.mHash == null) { 353 folder.mHash = mailbox.getHashes(); 357 folder 581 ImapMessage(String uid, ImapFolder folder) argument [all...] |