Home
last modified time | relevance | path

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

/frameworks/base/tests/UiBench/src/com/android/test/uibench/leanback/
DTestHelper.java81 ListRowPresenter listRowPresenter = new ListRowPresenter(); in build() local
82 listRowPresenter.setShadowEnabled(mShadow); in build()
83 listRowPresenter.enableChildRoundedCorners(mRoundedCorner); in build()
84 return listRowPresenter; in build()
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/
DMainFragment.java137 ListRowPresenter listRowPresenter = new ListRowPresenter() { in loadVideoData() local
147 listRowPresenter.setShadowEnabled(!disableShadows); in loadVideoData()
152 listRowPresenter.enableChildRoundedCorners(!disableRoundedCorner); in loadVideoData()
153 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in loadVideoData()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DListRowPresenterTest.java86 void setup(ListRowPresenter listRowPresenter, ObjectAdapter adapter) { in setup() argument
90 mListRowPresenter = listRowPresenter; in setup()
174 public void defaultListRowOverlayColor(ListRowPresenter listRowPresenter) { in defaultListRowOverlayColor() argument
177 setup(listRowPresenter, arrayAdapter); in defaultListRowOverlayColor()
185 boolean keepChildForeground = listRowPresenter.isKeepChildForeground(); in defaultListRowOverlayColor()
343 ListRowPresenter listRowPresenter = new ListRowPresenter() { in setupDefaultPresenterWithSingleElement() local
360 listRowPresenter.setShadowEnabled(shadowEnabled); in setupDefaultPresenterWithSingleElement()
361 listRowPresenter.enableChildRoundedCorners(enableRoundedCorner); in setupDefaultPresenterWithSingleElement()
362 listRowPresenter.setKeepChildForeground(keepChildForeground); in setupDefaultPresenterWithSingleElement()
363 setup(listRowPresenter, adapter); in setupDefaultPresenterWithSingleElement()
DObjectAdapterTest.java283 ListRowPresenter listRowPresenter = new ListRowPresenter(); in setup() local
284 mListRowPresenter = Mockito.spy(listRowPresenter); in setup()
/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
DBrowseSupportFragment.java148 ListRowPresenter listRowPresenter = new ListRowPresenter(); in setupRows() local
149 listRowPresenter.setNumRows(1); in setupRows()
150 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in setupRows()
DBrowseFragment.java145 ListRowPresenter listRowPresenter = new ListRowPresenter(); in setupRows() local
146 listRowPresenter.setNumRows(1); in setupRows()
147 mRowsAdapter = new ArrayObjectAdapter(listRowPresenter); in setupRows()