Home
last modified time | relevance | path

Searched refs:mPhotoItem (Results 1 – 6 of 6) sorted by relevance

/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DDetailsFragment.java49 private PhotoItem mPhotoItem; field in DetailsFragment
109 dor.setItem(mPhotoItem.getTitle() + "(Owned)"); in onCreate()
118 dor.setItem(mPhotoItem.getTitle() + "(Rented)"); in onCreate()
173 outState.putParcelable(ITEM, mPhotoItem); in onSaveInstanceState()
177 mPhotoItem = photoItem; in setItem()
190 DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle()); in updateAdapter()
192 mPhotoItem.getImageResourceId(), context.getTheme())); in updateAdapter()
225 if (mPhotoItem != null) { in onStart()
226 mBackgroundHelper.setBackground(mPhotoItem.getImageResourceId()); in onStart()
DDetailsSupportFragment.java52 private PhotoItem mPhotoItem; field in DetailsSupportFragment
112 dor.setItem(mPhotoItem.getTitle() + "(Owned)"); in onCreate()
121 dor.setItem(mPhotoItem.getTitle() + "(Rented)"); in onCreate()
176 outState.putParcelable(ITEM, mPhotoItem); in onSaveInstanceState()
180 mPhotoItem = photoItem; in setItem()
193 DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle()); in updateAdapter()
195 mPhotoItem.getImageResourceId(), context.getTheme())); in updateAdapter()
228 if (mPhotoItem != null) { in onStart()
229 mBackgroundHelper.setBackground(mPhotoItem.getImageResourceId()); in onStart()
DNewDetailsSupportFragment.java63 private PhotoItem mPhotoItem; field in NewDetailsSupportFragment
173 dor.setItem(getDisplayTitle(mPhotoItem.getTitle())); in onCreate()
192 dor.setItem(getDisplayTitle(mPhotoItem.getTitle())); in onCreate()
265 mPhotoItem = photoItem; in setItem()
297 getDisplayTitle(mPhotoItem.getTitle())); in updateAdapter()
299 mPhotoItem.getImageResourceId(), context.getTheme())); in updateAdapter()
DNewDetailsFragment.java60 private PhotoItem mPhotoItem; field in NewDetailsFragment
170 dor.setItem(getDisplayTitle(mPhotoItem.getTitle())); in onCreate()
189 dor.setItem(getDisplayTitle(mPhotoItem.getTitle())); in onCreate()
262 mPhotoItem = photoItem; in setItem()
294 getDisplayTitle(mPhotoItem.getTitle())); in updateAdapter()
296 mPhotoItem.getImageResourceId(), context.getTheme())); in updateAdapter()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DDetailsTestSupportFragment.java43 private PhotoItem mPhotoItem; field in DetailsTestSupportFragment
104 mPhotoItem = photoItem; in setItem()
113 DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle()); in setItem()
114 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()
DDetailsTestFragment.java46 private PhotoItem mPhotoItem; field in DetailsTestFragment
107 mPhotoItem = photoItem; in setItem()
116 DetailsOverviewRow dor = new DetailsOverviewRow(mPhotoItem.getTitle()); in setItem()
117 dor.setImageDrawable(res.getDrawable(mPhotoItem.getImageResourceId())); in setItem()