Home | History | Annotate | Download | only in widget

Lines Matching refs:mailbox

25 import com.android.emailcommon.provider.Mailbox;
85 * Gets the count to be shown on the widget header. If the currently viewed mailbox ID is
86 * not {@link Mailbox#QUERY_ALL_FAVORITES}, it is the unread count, which is different from
96 /** Gets the display name of the mailbox */
118 if (mMailboxId != Mailbox.QUERY_ALL_FAVORITES) {
145 Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, mMailboxId);
146 if (mailbox != null) {
147 mailboxName = mailbox.mDisplayName; // regular mailbox
149 // TODO What use here? "unknown"? Mailbox is "real", but, doesn't exist.
153 if (mMailboxId == Mailbox.QUERY_ALL_INBOXES) {
169 * @param mailboxId The mailbox to load; may either be a real mailbox or the pseudo mailbox
170 * {@link Mailbox#QUERY_ALL_INBOXES} or {@link Mailbox#QUERY_ALL_UNREAD}. If it's
171 * neither of these pseudo mailboxes, {@link Mailbox#QUERY_ALL_UNREAD} will be used.
181 /** Sets the loader's selection and arguments depending upon the account and mailbox */
184 if (mMailboxId == Mailbox.QUERY_ALL_INBOXES) {
192 // Simple mailbox selection
199 if (mMailboxId == Mailbox.QUERY_ALL_INBOXES) {