Searched refs:drawerItem (Results 1 – 2 of 2) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/drawer/ |
D | DrawerAdapter.java | 189 final BaseDrawerItem drawerItem = getItem(position); in getView() local 190 switch (drawerItem.viewType) { in getView() 192 return getPrimaryItemView((PrimaryItem) drawerItem, view, viewGroup); in getView() 194 return getHeaderItemView((HeaderItem) drawerItem, view, viewGroup); in getView() 196 return getDrawerItemView(drawerItem, view, viewGroup); in getView() 198 return getGroupEntryView((GroupEntryItem) drawerItem, view, viewGroup); in getView() 200 return getAccountItemView((AccountEntryItem) drawerItem, view, viewGroup); in getView() 202 return getDrawerItemView(drawerItem, view, viewGroup); in getView() 208 throw new IllegalStateException("Unknown drawer item " + drawerItem); in getView()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | FolderListFragment.java | 609 final DrawerItem drawerItem = (DrawerItem) item; in viewFolderOrChangeAccount() local 611 final @DrawerItem.DrawerItemType int itemType = drawerItem.getType(); in viewFolderOrChangeAccount() 615 onAccountSelected(drawerItem.mAccount); in viewFolderOrChangeAccount() 618 folder = drawerItem.mFolder; in viewFolderOrChangeAccount() 619 mSelectedDrawerItemCategory = itemCategory = drawerItem.mItemCategory; in viewFolderOrChangeAccount() 626 drawerItem.onClick(null /* unused */); in viewFolderOrChangeAccount() 946 final DrawerItem drawerItem = ((DrawerItem) getItem(position)); in isEnabled() local 947 return drawerItem != null && drawerItem.isItemEnabled(); in isEnabled()
|