Home | History | Annotate | Download | only in utils

Lines Matching refs:folder

26 import com.android.mail.providers.Folder;
34 * Given an empty folder, set the corresponding empty state icon for that folder.
36 public static void bindEmptyFolderIcon(ImageView view, Folder folder) {
37 if (folder == null) {
39 } else if (folder.isInbox()) {
41 } else if (folder.isSearch()) {
43 } else if (folder.isSpam()) {
45 } else if (folder.isTrash()) {
53 * Given an empty folder, set the corresponding text for indicating the empty state.
55 public static void bindEmptyFolderText(TextView view, Folder folder, Resources res,
57 if (folder == null) {
59 } else if (folder.isInbox()) {
61 } else if (folder.isSearch()) {
65 } else if (folder.isSpam()) {
67 } else if (folder.isTrash()) {