HomeSort by relevance Sort by last modified time
    Searched refs:photoItem (Results 1 - 5 of 5) sorted by null

  /development/samples/SupportLeanbackDemos/src/com/example/android/leanback/
CardPresenter.java 106 PhotoItem photoItem = (PhotoItem) item;
108 .getDrawable(photoItem.getImageResourceId());
110 ((ImageCardView) viewHolder.view).setTitleText(photoItem.getTitle());
111 if (!TextUtils.isEmpty(photoItem.getContent())) {
112 ((ImageCardView) viewHolder.view).setContentText(photoItem.getContent());
DetailsFragment.java 47 private PhotoItem mPhotoItem;
121 PhotoItem item = (PhotoItem) (savedInstanceState != null ?
132 if (item instanceof PhotoItem){
134 intent.putExtra(DetailsActivity.EXTRA_ITEM, (PhotoItem) item);
170 public void setItem(PhotoItem photoItem) {
171 mPhotoItem = photoItem;
192 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1));
193 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2))
    [all...]
DetailsSupportFragment.java 49 private PhotoItem mPhotoItem;
123 PhotoItem item = (PhotoItem) (savedInstanceState != null ?
134 if (item instanceof PhotoItem){
136 intent.putExtra(DetailsSupportActivity.EXTRA_ITEM, (PhotoItem) item);
172 public void setItem(PhotoItem photoItem) {
173 mPhotoItem = photoItem;
194 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1));
195 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2))
    [all...]
NewDetailsFragment.java 49 private PhotoItem mPhotoItem;
137 PhotoItem item = (PhotoItem) (savedInstanceState != null ?
148 if (item instanceof PhotoItem){
150 intent.putExtra(DetailsActivity.EXTRA_ITEM, (PhotoItem) item);
191 public void setItem(PhotoItem photoItem) {
192 mPhotoItem = photoItem;
199 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1));
200 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2))
    [all...]
NewDetailsSupportFragment.java 51 private PhotoItem mPhotoItem;
139 PhotoItem item = (PhotoItem) (savedInstanceState != null ?
150 if (item instanceof PhotoItem){
152 intent.putExtra(DetailsSupportActivity.EXTRA_ITEM, (PhotoItem) item);
193 public void setItem(PhotoItem photoItem) {
194 mPhotoItem = photoItem;
201 listRowAdapter.add(new PhotoItem("Hello world", R.drawable.gallery_photo_1));
202 listRowAdapter.add(new PhotoItem("This is a test", R.drawable.gallery_photo_2))
    [all...]

Completed in 660 milliseconds