HomeSort by relevance Sort by last modified time
    Searched refs:Folder (Results 1 - 25 of 133) sorted by null

1 2 3 4 5 6

  /packages/apps/Email/src/com/android/email/provider/
FolderPickerCallback.java 20 import com.android.mail.providers.Folder;
23 public void select(Folder folder);
FolderPickerSelectorAdapter.java 23 import com.android.mail.providers.Folder;
37 * Return whether the supplied folder meets the requirements to be displayed
38 * in the folder list.
41 protected boolean meetsRequirements(Folder folder) {
43 return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES)
44 || folder.isTrash();
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
ErrorListener.java 20 import com.android.mail.providers.Folder;
26 public void onError(final Folder folder, boolean replaceVisibleToast);
FolderChangeListener.java 19 import com.android.mail.providers.Folder;
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);
FolderSelector.java 20 import com.android.mail.providers.Folder;
23 * Interface that permits elements to implement selecting a folder.
24 * The single method {@link #onFolderSelected(com.android.mail.providers.Folder)} defines what
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);
    [all...]
UserFolderHierarchicalFolderSelectorAdapter.java 21 import com.android.mail.providers.Folder;
25 Context context, Cursor folders, int layout, Folder excludedFolder) {
30 * Return whether the supplied folder meets the requirements to be displayed
31 * in the folder list.
34 protected boolean meetsRequirements(Folder folder) {
35 if (folder.isProviderFolder()) {
38 return super.meetsRequirements(folder);
FolderController.java 22 import com.android.mail.providers.Folder;
25 * The canonical owner of the apps' current {@link Folder} should implement this interface to keep
31 Folder getFolder();
SystemFolderSelectorAdapter.java 23 import com.android.mail.providers.Folder;
35 int layout, Folder excludedFolder) {
40 * Return whether the supplied folder meets the requirements to be displayed
41 * in the folder list.
44 protected boolean meetsRequirements(Folder folder) {
49 return folder.isInbox();
52 // return folder.supportsCapability(FolderCapabilities.CAN_ACCEPT_MOVED_MESSAGES)
53 // && folder.isProviderFolder();
FolderOperation.java 23 import com.android.mail.providers.Folder;
35 public final Folder mFolder;
38 public FolderOperation(Folder folder, Boolean operation) {
40 mFolder = folder;
44 * Get all the unique folders associated with a set of folder operations.
46 * @return ArrayList of Folder objects
48 public static ArrayList<Folder> getFolders(Collection<FolderOperation> ops) {
49 HashSet<Folder> folders = new HashSet<Folder>();
    [all...]
ConversationSpecialItemView.java 24 import com.android.mail.providers.Folder;
36 void onUpdate(Folder folder, ConversationCursor cursor);
FolderOperations.java 20 import com.android.mail.providers.Folder;
32 * Object that contains a list of folder operations (application/removals of folders)
39 * The key is the canonical name of the Folder, and the value is a boolean,
40 * when true, the Folder should be added, and when false, the Folder
51 public FolderOperations(Folder folder, boolean add) {
53 if (folder != null) {
54 add(folder, add);
56 LogUtils.e(LOG_TAG, "FolderOperation created with null Folder object")
    [all...]
RecentFolderList.java 27 import com.android.mail.providers.Folder;
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.
80 private static final Comparator<Folder> ALPHABET_IGNORECASE = new Comparator<Folder>() {
82 public int compare(Folder lhs, Folder rhs)
179 final Folder folder = c.getModel(); local
    [all...]
AccountController.java 26 import com.android.mail.providers.Folder;
91 * @param hasNewFolderOrAccount true if we need to load conversations for a different folder
94 void closeDrawer(boolean hasNewFolderOrAccount, Account nextAccount, Folder nextFolder);
107 * @return the choice mode to use in the {@link ListView} in the default folder list (subclasses
FolderDisplayer.java 24 import com.android.mail.providers.Folder;
33 * Used to generate folder display information given a raw folders string.
39 protected final NavigableSet<Folder> mFoldersSortedSet = Sets.newTreeSet();
55 * @param ignoreFolderUri (optional) folder to omit from the displayed set
61 for (Folder folder : conv.getRawFolders()) {
63 if (ignoreFolderType >= 0 && folder.isType(ignoreFolderType)) {
67 if (ignoreFolderUri != null && ignoreFolderUri.equals(folder.folderUri)) {
70 mFoldersSortedSet.add(folder);
ActivityController.java 36 import com.android.mail.providers.Folder;
274 * Supports dragging conversations to a folder.
276 boolean supportsDrag(DragEvent event, Folder folder);
279 * Handles dropping conversations to a folder.
281 void handleDrop(DragEvent event, Folder folder);
289 * Return the folder currently being viewed by the activity.
291 public Folder getHierarchyFolder();
294 * Set the folder currently selected in the folder selection hierarchy fragments
    [all...]
FolderListFragment.java 50 import com.android.mail.providers.Folder;
87 * <br /> Tapping on a parent folder creates a new fragment with the child folders at
93 * any folder for a given account.
98 LoaderManager.LoaderCallbacks<ObjectCursor<Folder>>,
108 * True if you want a divided FolderList. A divided folder list shows the following groups:
116 * True if the folder list belongs to a folder selection activity (one account only)
128 /** The currently selected folder (the folder being viewed). This is never null. */
131 * The current folder from the controller. This is meant only to check when the unread coun
580 final Folder folder; local
1128 final Folder folder = getItem(position); local
    [all...]
ConversationsInOutboxTipView.java 42 import com.android.mail.providers.Folder;
47 * Tip that is displayed in conversation list of 'Sent' folder whenever there are
61 private Folder mOutbox;
143 public void onUpdate(Folder folder, ConversationCursor cursor) {
144 if (mLoaderManager != null && folder != null) {
145 if ((folder.type & UIProvider.FolderType.SENT) > 0) {
146 // Only display this tip if user is viewing the Sent folder
152 private final LoaderCallbacks<ObjectCursor<Folder>> mFolderListLoaderCallbacks =
153 new LoaderManager.LoaderCallbacks<ObjectCursor<Folder>>() {
    [all...]
FolderSelectorAdapter.java 21 import com.android.mail.providers.Folder;
49 * An adapter for translating a cursor of {@link Folder} to a set of selectable views to be used for
55 private final Folder mFolder;
60 public FolderRow(Folder folder, boolean isSelected) {
61 mFolder = folder;
65 public Folder getFolder() {
92 private Folder mExcludedFolder;
102 int layout, Folder excludedFolder) {
122 final Folder folder = new Folder(folders) local
141 final Folder folder = row.getFolder(); local
209 final Folder folder = folderRow.mFolder; local
318 final Folder folder = row.getFolder(); local
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/providers/
FolderObserver.java 27 * A simple extension of {@link android.database.DataSetObserver} to provide the updated Folder in
28 * {@link #onChanged(Folder)} when the Folder changes. Initializing the object registers with
30 * receive {@link #onChanged(Folder)} till {@link #unregisterAndDestroy()} is called.
32 * To implement an {@link FolderObserver}, you need to implement the {@link #onChanged(Folder)}
52 * {@link #onChanged(Folder)} when the controller changes the Folder.
56 public Folder initialize(FolderController controller) {
74 * Callback invoked when the Folder object is changed. Since {@link Folder} objects ar
    [all...]
FolderList.java 13 * Simple class to encapsulate an immutable list of {@link Folder} objects, and handle serialization
18 private static final FolderList EMPTY = new FolderList(Collections.<Folder> emptyList());
20 public final ImmutableList<Folder> folders;
24 private FolderList(Collection<Folder> in) {
33 folders = ImmutableList.copyOf(in.createTypedArrayList(Folder.CREATOR));
55 * Directly turns a list of {@link Folder}s into a byte-array. Avoids the
61 public static byte[] listToBlob(List<Folder> in) {
82 public static FolderList copyOf(Collection<Folder> in) {
FolderWatcher.java 40 * A container to keep a list of Folder objects, with the ability to automatically keep in sync with
44 public static final String FOLDER_URI = "FOLDER-URI";
47 /** Map returning the default inbox folder for each URI */
48 private final Map<Uri, Folder> mInboxMap = new HashMap<Uri, Folder>();
50 /** Handles folder callbacks and reads unread counts. */
113 // No inbox folder yet, put a safe placeholder for now.
158 * Stops watching the given URI for folder changes. Subsequent calls to
160 * @param uri the URI for a folder
188 final Folder f = getDefaultInbox(account)
    [all...]
Folder.java 49 * A folder is a collection of conversations, and perhaps other folders.
52 public class Folder implements Parcelable, Comparable<Folder> {
61 // TODO: remove this once we figure out which folder is returning a "null" string as the
69 * Unique id of this folder.
74 * Persistent (across installations) id of this folder.
79 * The content provider URI that returns this folder for this account.
84 * The human visible name for this folder.
89 * The possible capabilities that this folder supports.
94 * Whether or not this folder has children folders
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/
ConversationListContext.java 25 import com.android.mail.providers.Folder;
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); local
72 return new ConversationListContext(account, bundle.getString(EXTRA_SEARCH_QUERY), folder);
76 * Builds a context for a view to a Gmail folder
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
FolderEditText.java 10 private Folder mFolder;
24 public void setFolder(Folder folder) {
25 mFolder = folder;
  /packages/apps/Launcher3/src/com/android/launcher3/
FolderEditText.java 10 private Folder mFolder;
24 public void setFolder(Folder folder) {
25 mFolder = folder;

Completed in 419 milliseconds

1 2 3 4 5 6