/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | BrowseAnimationFragment.java | 39 private ArrayObjectAdapter mRowsAdapter; field in BrowseAnimationFragment 81 mRowsAdapter = new ArrayObjectAdapter(lrp); in setupRows() 83 mRowsAdapter.add( in setupRows() 86 setAdapter(mRowsAdapter); in setupRows() 211 int index = mRowsAdapter.indexOf(row); in createRandomItem() 214 mRowsAdapter.add(index, createRandomRow(new HeaderItem( in createRandomItem() 224 int index = mRowsAdapter.indexOf(row); in createRandomItem() 227 mRowsAdapter.add( in createRandomItem() 238 mRowsAdapter.remove(row); in createRandomItem() 246 int index = mRowsAdapter.indexOf(row); in createRandomItem() [all …]
|
D | DetailsFragment.java | 48 private ArrayObjectAdapter mRowsAdapter; field in DetailsFragment 101 DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0); in onCreate() 129 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 182 if (mRowsAdapter == null) { in updateAdapter() 185 mRowsAdapter.clear(); in updateAdapter() 197 mRowsAdapter.add(0, dor); in updateAdapter() 212 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter() 219 setAdapter(mRowsAdapter); in updateAdapter()
|
D | DetailsSupportFragment.java | 51 private ArrayObjectAdapter mRowsAdapter; field in DetailsSupportFragment 104 DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0); in onCreate() 132 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 185 if (mRowsAdapter == null) { in updateAdapter() 188 mRowsAdapter.clear(); in updateAdapter() 200 mRowsAdapter.add(0, dor); in updateAdapter() 215 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter() 222 setAdapter(mRowsAdapter); in updateAdapter()
|
D | BrowseSupportFragment.java | 55 private ArrayObjectAdapter mRowsAdapter; field in BrowseSupportFragment 150 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in setupRows() 156 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID1, "Page Row 0"))); in loadData() 157 mRowsAdapter.add(new DividerRow()); in loadData() 159 mRowsAdapter.add(new SectionRow(new HeaderItem("section 0"))); in loadData() 163 mRowsAdapter.add(new ListRow(headerItem, createListRowAdapter(i))); in loadData() 166 mRowsAdapter.add(new DividerRow()); in loadData() 167 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID2, "Page Row 1"))); in loadData() 169 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID3, "Page Row 2"))); in loadData() 170 setAdapter(mRowsAdapter); in loadData()
|
D | BrowseFragment.java | 52 private ArrayObjectAdapter mRowsAdapter; field in BrowseFragment 147 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in setupRows() 153 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID1, "Page Row 0"))); in loadData() 154 mRowsAdapter.add(new DividerRow()); in loadData() 156 mRowsAdapter.add(new SectionRow(new HeaderItem("section 0"))); in loadData() 160 mRowsAdapter.add(new ListRow(headerItem, createListRowAdapter(i))); in loadData() 163 mRowsAdapter.add(new DividerRow()); in loadData() 164 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID2, "Page Row 1"))); in loadData() 166 mRowsAdapter.add(new PageRow(new HeaderItem(HEADER_ID3, "Page Row 2"))); in loadData() 167 setAdapter(mRowsAdapter); in loadData()
|
D | SearchFragment.java | 37 private ArrayObjectAdapter mRowsAdapter; field in SearchFragment 91 mRowsAdapter = new ArrayObjectAdapter(new ListRowPresenter()); in onCreate() 103 return mRowsAdapter; in getResultsAdapter() 109 mRowsAdapter.clear(); in onQueryTextChange() 117 mRowsAdapter.clear(); in onQueryTextSubmit() 148 mRowsAdapter.add(new ListRow(header, mFirstRowAdapter)); in loadRows() 154 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadRows()
|
D | SearchSupportFragment.java | 40 private ArrayObjectAdapter mRowsAdapter; field in SearchSupportFragment 94 mRowsAdapter = new ArrayObjectAdapter(new ListRowPresenter()); in onCreate() 106 return mRowsAdapter; in getResultsAdapter() 112 mRowsAdapter.clear(); in onQueryTextChange() 120 mRowsAdapter.clear(); in onQueryTextSubmit() 151 mRowsAdapter.add(new ListRow(header, mFirstRowAdapter)); in loadRows() 157 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadRows()
|
D | NewDetailsSupportFragment.java | 62 private ArrayObjectAdapter mRowsAdapter; field in NewDetailsSupportFragment 163 DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0); in onCreate() 214 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 284 if (mRowsAdapter == null) { in updateAdapter() 287 mRowsAdapter.clear(); in updateAdapter() 319 mRowsAdapter.add(0, dor); in updateAdapter() 342 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter() 346 setAdapter(mRowsAdapter); in updateAdapter()
|
D | NewDetailsFragment.java | 59 private ArrayObjectAdapter mRowsAdapter; field in NewDetailsFragment 160 DetailsOverviewRow dor = (DetailsOverviewRow) mRowsAdapter.get(0); in onCreate() 211 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 281 if (mRowsAdapter == null) { in updateAdapter() 284 mRowsAdapter.clear(); in updateAdapter() 316 mRowsAdapter.add(0, dor); in updateAdapter() 339 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter() 343 setAdapter(mRowsAdapter); in updateAdapter()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | DetailsTestSupportFragment.java | 42 private ArrayObjectAdapter mRowsAdapter; field in DetailsTestSupportFragment 100 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 105 mRowsAdapter.clear(); in setItem() 119 mRowsAdapter.add(0, dor); in setItem() 138 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in setItem() 143 setAdapter(mRowsAdapter); in setItem()
|
D | DetailsTestFragment.java | 45 private ArrayObjectAdapter mRowsAdapter; field in DetailsTestFragment 103 mRowsAdapter = new ArrayObjectAdapter(ps); in onCreate() 108 mRowsAdapter.clear(); in setItem() 122 mRowsAdapter.add(0, dor); in setItem() 141 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in setItem() 146 setAdapter(mRowsAdapter); in setItem()
|
D | BrowseTestFragment.java | 51 private ArrayObjectAdapter mRowsAdapter; field in BrowseTestFragment 127 mRowsAdapter = new ArrayObjectAdapter(lrp); in setupRows() 129 setAdapter(mRowsAdapter); in setupRows() 159 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadData()
|
D | BrowseTestSupportFragment.java | 50 private ArrayObjectAdapter mRowsAdapter; field in BrowseTestSupportFragment 126 mRowsAdapter = new ArrayObjectAdapter(lrp); in setupRows() 128 setAdapter(mRowsAdapter); in setupRows() 158 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadData()
|
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/ |
D | MainFragment.java | 54 private ArrayObjectAdapter mRowsAdapter; field in MainFragment 153 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in loadVideoData() 165 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadVideoData() 173 mRowsAdapter.add(new ListRow(settingsHeader, settingsListAdapter)); in loadVideoData() 175 setAdapter(mRowsAdapter); in loadVideoData()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | ObjectAdapterTest.java | 69 private ArrayObjectAdapter mRowsAdapter; field in ObjectAdapterTest 1035 mRowsAdapter = new ArrayObjectAdapter(); in testPresenterAndItemBridgeAdapter() 1036 mRowsAdapter.add(mRow); in testPresenterAndItemBridgeAdapter()
|