Home
last modified time | relevance | path

Searched refs:getPresenter (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/support/leanback/src/main/java/androidx/leanback/app/
DRowsSupportFragment.java94 mRowPresenter = (RowPresenter) ibvh.getPresenter(); in RowViewHolderExtra()
320 ((RowPresenter) vh.getPresenter()).setRowViewExpanded(vh.getViewHolder(), expanded); in setRowViewExpanded()
327 ((RowPresenter) vh.getPresenter()).setRowViewSelected(vh.getViewHolder(), selected); in setRowViewSelected()
356 RowPresenter rowPresenter = (RowPresenter) vh.getPresenter();
371 RowPresenter rowPresenter = (RowPresenter) vh.getPresenter();
411 RowPresenter rowPresenter = (RowPresenter) bridgeVh.getPresenter(); in setupSharedViewPool()
468 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in freezeRows()
487 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in setEntranceTransitionState()
542 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in getRowViewHolder()
DRowsFragment.java99 mRowPresenter = (RowPresenter) ibvh.getPresenter(); in RowViewHolderExtra()
325 ((RowPresenter) vh.getPresenter()).setRowViewExpanded(vh.getViewHolder(), expanded); in setRowViewExpanded()
332 ((RowPresenter) vh.getPresenter()).setRowViewSelected(vh.getViewHolder(), selected); in setRowViewSelected()
361 RowPresenter rowPresenter = (RowPresenter) vh.getPresenter();
376 RowPresenter rowPresenter = (RowPresenter) vh.getPresenter();
416 RowPresenter rowPresenter = (RowPresenter) bridgeVh.getPresenter(); in setupSharedViewPool()
473 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in freezeRows()
492 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in setEntranceTransitionState()
547 RowPresenter rowPresenter = (RowPresenter) ibvh.getPresenter(); in getRowViewHolder()
DPlaybackFragment.java115 if (vh != null && vh.getPresenter() instanceof PlaybackRowPresenter) { in resetFocus()
116 ((PlaybackRowPresenter) vh.getPresenter()).onReappear( in resetFocus()
260 if (vh != null && vh.getPresenter() instanceof PlaybackRowPresenter) {
261 ((PlaybackRowPresenter)vh.getPresenter()).onReappear(
DPlaybackSupportFragment.java110 if (vh != null && vh.getPresenter() instanceof PlaybackRowPresenter) { in resetFocus()
111 ((PlaybackRowPresenter) vh.getPresenter()).onReappear( in resetFocus()
253 if (vh != null && vh.getPresenter() instanceof PlaybackRowPresenter) {
254 ((PlaybackRowPresenter)vh.getPresenter()).onReappear(
DBrowseSupportFragment.java808 public Presenter getPresenter(Object item) { in updateWrapperPresenter()
811 return adapterPresenter.getPresenter(item); in updateWrapperPresenter()
DBrowseFragment.java830 public Presenter getPresenter(Object item) { in updateWrapperPresenter()
833 return adapterPresenter.getPresenter(item); in updateWrapperPresenter()
DDetailsSupportFragment.java661 RowPresenter rowPresenter = (RowPresenter) bridgeViewHolder.getPresenter(); in onRowSelected()
DDetailsFragment.java666 RowPresenter rowPresenter = (RowPresenter) bridgeViewHolder.getPresenter(); in onRowSelected()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DClassPresenterSelector.java62 public Presenter getPresenter(Object item) { in getPresenter() method in ClassPresenterSelector
69 Presenter innerPresenter = ((PresenterSelector) presenter).getPresenter(item); in getPresenter()
DPresenterSelector.java24 public abstract Presenter getPresenter(Object item); in getPresenter() method in PresenterSelector
DSinglePresenterSelector.java32 public Presenter getPresenter(Object item) { in getPresenter() method in SinglePresenterSelector
DObjectAdapter.java322 public final Presenter getPresenter(Object item) { in getPresenter() method in ObjectAdapter
326 return mPresenterSelector.getPresenter(item); in getPresenter()
DPlaybackControlsRowPresenter.java126 Presenter getPresenter(boolean primary) { in getPresenter() method in PlaybackControlsRowPresenter.ViewHolder
139 return adapter.getPresenter(adapter.size() > 0 ? adapter.get(0) : null); in getPresenter()
403 vh.mControlsBoundData.presenter = vh.getPresenter(true); in onBindRowViewHolder()
408 vh.mSecondaryBoundData.presenter = vh.getPresenter(false); in onBindRowViewHolder()
DPresenterSwitcher.java71 Presenter presenter = mPresenterSelector.getPresenter(object); in switchView()
DPlaybackTransportRowPresenter.java428 Presenter getPresenter(boolean primary) { in getPresenter() method in PlaybackTransportRowPresenter.ViewHolder
440 return adapter.getPresenter(adapter.size() > 0 ? adapter.get(0) : null); in getPresenter()
708 vh.mControlsBoundData.presenter = vh.getPresenter(true); in onBindRowViewHolder()
713 vh.mSecondaryBoundData.presenter = vh.getPresenter(false); in onBindRowViewHolder()
DControlButtonPresenterSelector.java57 public Presenter getPresenter(Object item) { in getPresenter() method in ControlButtonPresenterSelector
DItemBridgeAdapter.java111 public final Presenter getPresenter() { in getPresenter() method in ItemBridgeAdapter.ViewHolder
286 Presenter presenter = presenterSelector.getPresenter(item); in getItemViewType()
DActionPresenterSelector.java33 public Presenter getPresenter(Object item) { in getPresenter() method in ActionPresenterSelector
DDetailsOverviewRowPresenter.java82 ibvh.getPresenter().setOnClickListener( in onBind()
102 ibvh.getPresenter().setOnClickListener(ibvh.getViewHolder(), null); in onUnbind()
DFullWidthDetailsOverviewRowPresenter.java123 ibvh.getPresenter().setOnClickListener( in onBind()
143 ibvh.getPresenter().setOnClickListener(ibvh.getViewHolder(), null); in onUnbind()
DFocusHighlightHelper.java311 Presenter presenter = mViewHolder.getPresenter(); in setFocusLevel()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DPresenterTest.java83 Presenter p = ps.getPresenter(new Row()); in testHeaderPresenter()
90 p = ps.getPresenter(new SectionRow("Section Name")); in testHeaderPresenter()
97 p = ps.getPresenter(new DividerRow()); in testHeaderPresenter()
/frameworks/support/samples/SupportLeanbackJank/src/main/java/com/google/android/leanbackjank/ui/
DMainFragment.java129 public Presenter getPresenter(Object o) { in setupUIElements()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/
DRowsFragmentTest.java349 RowPresenter prefetchedRowPresenter = (RowPresenter) prefetchedBridgeVh.getPresenter(); in prefetchChildItemsBeforeAttach()
DRowsSupportFragmentTest.java346 RowPresenter prefetchedRowPresenter = (RowPresenter) prefetchedBridgeVh.getPresenter(); in prefetchChildItemsBeforeAttach()

123