Home | History | Annotate | Download | only in adapter

Lines Matching refs:folder

22 import com.android.mail.providers.Folder;
39 * This class is an enumeration of a few element types: Account, a folder, a recent folder,
51 public final Folder mFolder;
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 type
121 * @param folderType the type of the folder. For folders this is:
130 private DrawerItem(int type, ControllableActivity activity, Folder folder, int folderType,
133 mFolder = folder;
145 * Create a folder item with the given type.
148 * @param folder a folder that this item represents
151 * @return a drawer item for the folder.
153 public static DrawerItem ofFolder(ControllableActivity activity, Folder folder,
155 return new DrawerItem(VIEW_FOLDER, activity, folder, folderType, null, -1, false,
300 * @param currentFolder The current folder, according to the
302 * @param currentType The type of the current folder. We want to only highlight a folder once.
303 * A folder might be in two places at once: in "All Folders", and in
304 * "Recent Folder". Valid types of selected folders are :
309 * the current folder.
317 // True if folder types and URIs are the same
375 * Return a folder: either a parent folder or a normal (child or flat)
376 * folder.
379 * @return a view showing a folder at the given position.
390 Folder.setFolderBlockColor(mFolder, folderItemView.findViewById(R.id.color_block));