/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
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 | 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 | 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 | 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 | 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 | ConversationSpecialItemView.java | 36 void onUpdate(Folder folder, ConversationCursor cursor); 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 | 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 | ToastBarOperation.java | 27 * A simple holder class that stores the information to undo the application of a folder. 155 public String getSingularDescription(Context context, Folder folder) { argument 157 return context.getString(R.string.folder_removed, folder.name);
|
/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();
|
H A D | Utilities.java | 50 * @param folder the mailbox it will be stored into 55 Mailbox folder, int loadStatus) { 67 String.valueOf(folder.mId), 78 localMessage.mMailboxKey = folder.mId; 54 copyOneMessageToProvider(Context context, Message message, Account account, Mailbox folder, int loadStatus) argument
|
H A D | FolderPickerActivity.java | 79 LogUtils.w(TAG, "Trash folder already exists"); 89 // Two possibilities here; either we have our folder list, or we don't 138 // All we care about is whether the folder list is now loaded 182 public void select(Folder folder) { argument 183 String folderId = folder.folderUri.fullUri.getLastPathSegment();
|
/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/ |
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/UnifiedEmail/tests/src/com/android/mail/browse/ |
H A D | ConversationCursorTests.java | 70 private static final String FOLDER_COLUMN = "folder"; 81 private static ContentValues makeConvo(String subject, String folder, int read, int starred) { argument 84 cv.put(FOLDER_COLUMN, folder);
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationListFooterView.java | 40 void onFooterViewErrorActionClick(Folder folder, int errorStatus); argument 41 void onFooterViewLoadMoreClick(Folder folder); argument 91 public void setFolder(Folder folder) { argument 92 mFolder = folder; 95 mLoadMoreUri = folder.loadMoreUri; 99 * Update the view to reflect the new folder status.
|
H A D | ConversationPagerController.java | 95 public void show(Account account, Folder folder, Conversation initialConversation, argument 101 // optimize for the case where account+folder are the same, when we can just shift 104 if (mPagerAdapter != null && mPagerAdapter.matches(account, folder) 121 account, folder, initialConversation);
|
H A D | SwipeableConversationItemView.java | 60 final ConversationSelectionSet set, final Folder folder, 65 mConversationItemView.bind(conversation, activity, conversationListListener, set, folder, 58 bind(final Conversation conversation, final ControllableActivity activity, final ConversationListListener conversationListListener, final ConversationSelectionSet set, final Folder folder, final int checkboxOrSenderImage, final boolean showAttachmentPreviews, final boolean parallaxSpeedAlternative, final boolean parallaxDirectionAlternative, final boolean swipeEnabled, final boolean priorityArrowsEnabled, final AnimatedAdapter animatedAdapter) argument
|
H A D | SelectedConversationsActionMenu.java | 99 ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) { 110 mFolder = folder; 159 LogUtils.d(LOG_TAG, "We are in a starred folder, removing the star"); 162 LogUtils.d(LOG_TAG, "Not in a starred folder."); 391 // 1) remove folder 393 // 3) If we show neither archive or remove folder, then show a disabled 461 // item, and the current folder is a draft folder and the account supports discarding 98 SelectedConversationsActionMenu( ControllableActivity activity, ConversationSelectionSet selectionSet, Folder folder) argument
|
/packages/apps/Email/src/com/android/email/service/ |
H A D | Pop3Service.java | 109 * Start foreground synchronization of the specified folder. This is called 114 * @param folder 120 final Mailbox folder, final int deltaMessageCount) throws MessagingException { 124 synchronizePop3Mailbox(context, account, folder, deltaMessageCount); 272 // Open the remote folder and create the remote folder if necessary 280 // Open the remote folder. This pre-loads certain metadata like message 316 // Save the folder message count. 119 synchronizeMailboxSynchronous(Context context, final Account account, final Mailbox folder, final int deltaMessageCount) argument
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
H A D | MockFolder.java | 33 public void copyMessages(Message[] msgs, Folder folder, argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/ |
H A D | DrawerItem.java | 39 * This class is an enumeration of a few element types: Account, a folder, a recent folder, 58 /** A normal folder, also a child, if a parent is specified. */ 83 /** Non existent item or folder type not yet set */ 87 /** An inbox folder: Inbox, ...*/ 89 /** A folder from whom a conversation was recently viewed */ 91 /** A non-inbox folder that is shown in the "everything else" group. */ 120 * @param folder a non-null folder, if this is a folder typ 130 DrawerItem(int type, ControllableActivity activity, Folder folder, int folderType, Account account, int resource, boolean isCurrentAccount, BidiFormatter bidiFormatter) argument 153 ofFolder(ControllableActivity activity, Folder folder, int folderType, BidiFormatter bidiFormatter) argument [all...] |