Home
last modified time | relevance | path

Searched refs:HeaderItem (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/drawer/
DDrawerAdapter.java80 private HeaderItem mGroupHeader = null;
83 private HeaderItem mAccountHeader = null;
108 mGroupHeader = new HeaderItem(R.id.nav_groups, R.string.menu_title_groups); in initializeDrawerMenuItems()
110 mAccountHeader = new HeaderItem(R.id.nav_filters, R.string.menu_title_filters); in initializeDrawerMenuItems()
194 return getHeaderItemView((HeaderItem) drawerItem, view, viewGroup); in getView()
236 private View getHeaderItemView(HeaderItem item, View result, ViewGroup parent) { in getHeaderItemView()
395 public static class HeaderItem extends BaseDrawerItem { class in DrawerAdapter
396 public HeaderItem(int id, int textId) { in HeaderItem() method in DrawerAdapter.HeaderItem
/packages/apps/TV/src/com/android/tv/search/
DProgramGuideSearchFragment.java26 import androidx.leanback.widget.HeaderItem;
227 HeaderItem header =
228 new HeaderItem(
233 HeaderItem header =
234 new HeaderItem(0, mMainActivity.getString(R.string.search_result_title));
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/
DUserItemsCombinerTest.java141 expected.add(new HeaderItem(mResources.getString(R.string.personal_tab))); in testCreatePresentableList_currentIsPersonal_personalAndWorkItems()
143 expected.add(new HeaderItem(mResources.getString(R.string.work_tab))); in testCreatePresentableList_currentIsPersonal_personalAndWorkItems()
160 expected.add(new HeaderItem(mResources.getString(R.string.personal_tab))); in testCreatePresentableList_currentIsWork_personalAndWorkItems()
162 expected.add(new HeaderItem(mResources.getString(R.string.work_tab))); in testCreatePresentableList_currentIsWork_personalAndWorkItems()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DHeaderItem.java31 class HeaderItem extends Item { class
36 HeaderItem(String title) { in HeaderItem() method in HeaderItem
DUserItemsCombiner.java88 result.add(new HeaderItem(mResources.getString(R.string.personal_tab))); in createPresentableList()
90 result.add(new HeaderItem(mResources.getString(R.string.work_tab))); in createPresentableList()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java28 import androidx.leanback.widget.HeaderItem;
453 new HeaderItem(getString(R.string.dvr_main_recent)), mRecentAdapter); in startBrowseIfDvrInitialized()
456 new HeaderItem(getString(R.string.dvr_main_scheduled)), in startBrowseIfDvrInitialized()
460 new HeaderItem(getString(R.string.dvr_main_series)), mSeriesAdapter); in startBrowseIfDvrInitialized()
659 mGenreRows[i] = new ListRow(new HeaderItem(mGenreLabels.get(i)), adapter); in updateRows()
DSeriesRecordingDetailsFragment.java31 import androidx.leanback.widget.HeaderItem;
339 HeaderItem header = new HeaderItem(mSeasonRowCount++, seasonTitle);
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackOverlayFragment.java39 import androidx.leanback.widget.HeaderItem;
495 HeaderItem header = in getRelatedRecordingsRow()
496 new HeaderItem( in getRelatedRecordingsRow()