/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
D | BrowseSupportFragment.java | 174 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter((i & 1) == 0 ? in createListRowAdapter() local 176 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 179 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 183 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 187 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 190 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 193 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 197 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 201 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 205 listRowAdapter.add(new PhotoItem( in createListRowAdapter() [all …]
|
D | BrowseFragment.java | 171 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter((i & 1) == 0 ? in createListRowAdapter() local 173 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 176 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 180 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 184 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 187 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 190 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 194 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 198 listRowAdapter.add(new PhotoItem( in createListRowAdapter() 202 listRowAdapter.add(new PhotoItem( in createListRowAdapter() [all …]
|
D | RowsSupportFragment.java | 85 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in setupRows() local 86 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in setupRows() 87 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in setupRows() 88 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in setupRows() 89 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in setupRows() 90 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_5)); in setupRows() 91 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_6)); in setupRows() 92 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_7)); in setupRows() 93 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_8)); in setupRows() 95 rowsAdapter.add(new ListRow(header, listRowAdapter)); in setupRows()
|
D | RowsFragment.java | 82 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in setupRows() local 83 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in setupRows() 84 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in setupRows() 85 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in setupRows() 86 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in setupRows() 87 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_5)); in setupRows() 88 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_6)); in setupRows() 89 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_7)); in setupRows() 90 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_8)); in setupRows() 92 rowsAdapter.add(new ListRow(header, listRowAdapter)); in setupRows()
|
D | PlaybackTransportControlFragment.java | 96 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 97 listRowAdapter.add("Some related content"); in createComponents() 98 listRowAdapter.add("Other related content"); in createComponents() 100 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | PlaybackFragment.java | 112 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 113 listRowAdapter.add("Some related content"); in createComponents() 114 listRowAdapter.add("Other related content"); in createComponents() 116 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | PlaybackTransportControlSupportFragment.java | 99 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 100 listRowAdapter.add("Some related content"); in createComponents() 101 listRowAdapter.add("Other related content"); in createComponents() 103 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | PlaybackSupportFragment.java | 115 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 116 listRowAdapter.add("Some related content"); in createComponents() 117 listRowAdapter.add("Other related content"); in createComponents() 119 getAdapter().set(ROW_CONTROLS + 1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | SearchFragment.java | 150 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new CardPresenter()); in loadRows() local 151 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in loadRows() 152 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in loadRows() 154 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadRows() 182 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new CardPresenter()); in createFirstListRowAdapter() local 183 listRowAdapter.setItems(createDataSetOneDebug(), mDiffCallback); in createFirstListRowAdapter() 185 return listRowAdapter; in createFirstListRowAdapter()
|
D | SearchSupportFragment.java | 153 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new CardPresenter()); in loadRows() local 154 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in loadRows() 155 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in loadRows() 157 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadRows() 185 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new CardPresenter()); in createFirstListRowAdapter() local 186 listRowAdapter.setItems(createDataSetOneDebug(), mDiffCallback); in createFirstListRowAdapter() 188 return listRowAdapter; in createFirstListRowAdapter()
|
D | DetailsFragment.java | 206 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in updateAdapter() 207 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in updateAdapter() 208 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in updateAdapter() 209 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in updateAdapter() 210 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in updateAdapter() 212 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter()
|
D | DetailsSupportFragment.java | 209 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in updateAdapter() 210 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in updateAdapter() 211 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in updateAdapter() 212 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in updateAdapter() 213 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in updateAdapter() 215 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter()
|
D | NewDetailsSupportFragment.java | 336 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in updateAdapter() 337 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in updateAdapter() 338 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in updateAdapter() 339 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in updateAdapter() 340 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in updateAdapter() 342 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter()
|
D | NewDetailsFragment.java | 333 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in updateAdapter() 334 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1)); in updateAdapter() 335 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2)); in updateAdapter() 336 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.gallery_photo_3)); in updateAdapter() 337 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.gallery_photo_4)); in updateAdapter() 339 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in updateAdapter()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | RowsFragmentTest.java | 77 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(sCardPresenter); in loadData() local 80 listRowAdapter.add("Hello world-" + (index++)); in loadData() 81 listRowAdapter.add("This is a test-" + (index++)); in loadData() 82 listRowAdapter.add("Android TV-" + (index++)); in loadData() 83 listRowAdapter.add("Leanback-" + (index++)); in loadData() 84 listRowAdapter.add("Hello world-" + (index++)); in loadData() 85 listRowAdapter.add("Android TV-" + (index++)); in loadData() 86 listRowAdapter.add("Leanback-" + (index++)); in loadData() 87 listRowAdapter.add("GuidedStepFragment-" + (index++)); in loadData() 90 adapter.add(new ListRow(header, listRowAdapter)); in loadData() [all …]
|
D | RowsSupportFragmentTest.java | 74 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(sCardPresenter); in loadData() local 77 listRowAdapter.add("Hello world-" + (index++)); in loadData() 78 listRowAdapter.add("This is a test-" + (index++)); in loadData() 79 listRowAdapter.add("Android TV-" + (index++)); in loadData() 80 listRowAdapter.add("Leanback-" + (index++)); in loadData() 81 listRowAdapter.add("Hello world-" + (index++)); in loadData() 82 listRowAdapter.add("Android TV-" + (index++)); in loadData() 83 listRowAdapter.add("Leanback-" + (index++)); in loadData() 84 listRowAdapter.add("GuidedStepSupportFragment-" + (index++)); in loadData() 87 adapter.add(new ListRow(header, listRowAdapter)); in loadData() [all …]
|
D | BrowseTestFragment.java | 146 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(sCardPresenter); in loadData() local 149 listRowAdapter.add("Hello world-" + (index++)); in loadData() 150 listRowAdapter.add("This is a test-" + (index++)); in loadData() 151 listRowAdapter.add("Android TV-" + (index++)); in loadData() 152 listRowAdapter.add("Leanback-" + (index++)); in loadData() 153 listRowAdapter.add("Hello world-" + (index++)); in loadData() 154 listRowAdapter.add("Android TV-" + (index++)); in loadData() 155 listRowAdapter.add("Leanback-" + (index++)); in loadData() 156 listRowAdapter.add("GuidedStepFragment-" + (index++)); in loadData() 159 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadData()
|
D | BrowseTestSupportFragment.java | 145 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(sCardPresenter); in loadData() local 148 listRowAdapter.add("Hello world-" + (index++)); in loadData() 149 listRowAdapter.add("This is a test-" + (index++)); in loadData() 150 listRowAdapter.add("Android TV-" + (index++)); in loadData() 151 listRowAdapter.add("Leanback-" + (index++)); in loadData() 152 listRowAdapter.add("Hello world-" + (index++)); in loadData() 153 listRowAdapter.add("Android TV-" + (index++)); in loadData() 154 listRowAdapter.add("Leanback-" + (index++)); in loadData() 155 listRowAdapter.add("GuidedStepSupportFragment-" + (index++)); in loadData() 158 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadData()
|
D | DetailsTestSupportFragment.java | 132 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(mCardPresenter); in setItem() 133 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.spiderman)); in setItem() 134 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.spiderman)); in setItem() 135 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.spiderman)); in setItem() 136 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.spiderman)); in setItem() 138 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in setItem()
|
D | DetailsTestFragment.java | 135 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(mCardPresenter); in setItem() 136 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.spiderman)); in setItem() 137 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.spiderman)); in setItem() 138 listRowAdapter.add(new PhotoItem("Android TV", R.drawable.spiderman)); in setItem() 139 listRowAdapter.add(new PhotoItem("Leanback", R.drawable.spiderman)); in setItem() 141 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in setItem()
|
D | PlaybackTestFragment.java | 132 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 133 listRowAdapter.add("Some related content"); in createComponents() 134 listRowAdapter.add("Other related content"); in createComponents() 136 getAdapter().set(1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | PlaybackTestSupportFragment.java | 129 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(new StringPresenter()); in createComponents() local 130 listRowAdapter.add("Some related content"); in createComponents() 131 listRowAdapter.add("Other related content"); in createComponents() 133 getAdapter().set(1 + i, new ListRow(header, listRowAdapter)); in createComponents()
|
D | HeadersSupportFragmentTest.java | 43 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(); in loadData() local 45 adapter.add(new ListRow(header, listRowAdapter)); in loadData()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/ |
D | TestHelper.java | 163 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(mCardPresenter); in buildListRow() local 164 ListRow listRow = new ListRow(new HeaderItem(sRowIdSeed++, "Row"), listRowAdapter); in buildListRow() 169 listRowAdapter.add(new PhotoItem(sSampleStrings[indexSample], in buildListRow()
|
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/ |
D | MainFragment.java | 160 ArrayObjectAdapter listRowAdapter = new ArrayObjectAdapter(cardPresenter); in loadVideoData() local 162 listRowAdapter.add(videoInfo); in loadVideoData() 165 mRowsAdapter.add(new ListRow(header, listRowAdapter)); in loadVideoData()
|