Home
last modified time | relevance | path

Searched refs:DrawerItem (Results 1 – 9 of 9) sorted by relevance

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java51 import com.android.mail.drawer.DrawerItem;
195 private int mSelectedDrawerItemCategory = DrawerItem.UNSET;
590 mSelectedDrawerItemCategory = DrawerItem.FOLDER_INBOX; in changeAccount()
606 @DrawerItem.DrawerItemCategory int itemCategory = DrawerItem.UNSET; in viewFolderOrChangeAccount()
608 if (item instanceof DrawerItem) { in viewFolderOrChangeAccount()
609 final DrawerItem drawerItem = (DrawerItem) item; in viewFolderOrChangeAccount()
611 final @DrawerItem.DrawerItemType int itemType = drawerItem.getType(); in viewFolderOrChangeAccount()
612 if (itemType == DrawerItem.VIEW_ACCOUNT) { in viewFolderOrChangeAccount()
616 } else if (itemType == DrawerItem.VIEW_FOLDER) { in viewFolderOrChangeAccount()
623 } else if (itemType == DrawerItem.VIEW_FOOTER_HELP || in viewFolderOrChangeAccount()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/drawer/
DDrawerItem.java49 public abstract class DrawerItem { class
112 protected DrawerItem(ControllableActivity activity, Folder folder, in DrawerItem() method in DrawerItem
130 public static DrawerItem ofFolder(ControllableActivity activity, Folder folder, in ofFolder()
143 public static DrawerItem ofAccount(ControllableActivity activity, Account account, in ofAccount()
157 public static DrawerItem ofHeader(ControllableActivity activity, int resource) { in ofHeader()
161 public static DrawerItem ofBlankHeader(ControllableActivity activity) { in ofBlankHeader()
165 public static DrawerItem ofBottomSpace(ControllableActivity activity) { in ofBottomSpace()
175 public static DrawerItem ofWaitView(ControllableActivity activity) { in ofWaitView()
179 public static DrawerItem ofHelpItem(ControllableActivity activity, Account account, in ofHelpItem()
184 public static DrawerItem ofSettingsItem(ControllableActivity activity, Account account, in ofSettingsItem()
DBlankHeaderDrawerItem.java26 class BlankHeaderDrawerItem extends DrawerItem {
DWaitViewDrawerItem.java26 class WaitViewDrawerItem extends DrawerItem {
DBottomSpaceDrawerItem.java26 class BottomSpaceDrawerItem extends DrawerItem {
DHeaderDrawerItem.java27 class HeaderDrawerItem extends DrawerItem {
DFolderDrawerItem.java28 class FolderDrawerItem extends DrawerItem {
DAccountDrawerItem.java30 class AccountDrawerItem extends DrawerItem {
DFooterItem.java34 public abstract class FooterItem extends DrawerItem implements View.OnClickListener {