Home
last modified time | relevance | path

Searched refs:presenters (Results 1 – 21 of 21) sorted by relevance

/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
DCardPresenterSelector.java16 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
32 private final HashMap<Card.Type, Presenter> presenters = new HashMap<Card.Type, Presenter>(); field in CardPresenterSelector
44 Presenter presenter = presenters.get(card.getType()); in getPresenter()
88 presenters.put(card.getType(), presenter); in getPresenter()
DTextCardPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DCharacterCardPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DSingleLineCardPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DIconCardPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DAbstractCardPresenter.java14 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DImageCardViewPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
DSideInfoCardPresenter.java15 package android.support.v17.leanback.supportleanbackshowcase.cards.presenters;
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
DSettingsIconPresenter.java19 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.ImageCardViewPresenter;
DPageAndListRowFragment.java26 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.CardPresenterSelector;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackSupportFragment.java990 Presenter[] presenters = mAdapter.getPresenterSelector().getPresenters(); in setPlaybackRowPresenterAlignment() local
991 if (presenters != null) { in setPlaybackRowPresenterAlignment()
992 for (int i = 0; i < presenters.length; i++) { in setPlaybackRowPresenterAlignment()
993 if (presenters[i] instanceof PlaybackRowPresenter in setPlaybackRowPresenterAlignment()
994 && presenters[i].getFacet(ItemAlignmentFacet.class) == null) { in setPlaybackRowPresenterAlignment()
1002 presenters[i].setFacet(ItemAlignmentFacet.class, itemAlignment); in setPlaybackRowPresenterAlignment()
DPlaybackFragment.java987 Presenter[] presenters = mAdapter.getPresenterSelector().getPresenters(); in setPlaybackRowPresenterAlignment() local
988 if (presenters != null) { in setPlaybackRowPresenterAlignment()
989 for (int i = 0; i < presenters.length; i++) { in setPlaybackRowPresenterAlignment()
990 if (presenters[i] instanceof PlaybackRowPresenter in setPlaybackRowPresenterAlignment()
991 && presenters[i].getFacet(ItemAlignmentFacet.class) == null) { in setPlaybackRowPresenterAlignment()
999 presenters[i].setFacet(ItemAlignmentFacet.class, itemAlignment); in setPlaybackRowPresenterAlignment()
DDetailsFragment.java366 Presenter[] presenters = adapter.getPresenterSelector().getPresenters(); in setAdapter() local
367 if (presenters != null) { in setAdapter()
368 for (int i = 0; i < presenters.length; i++) { in setAdapter()
369 setupPresenter(presenters[i]); in setAdapter()
DDetailsSupportFragment.java369 Presenter[] presenters = adapter.getPresenterSelector().getPresenters(); in setAdapter() local
370 if (presenters != null) { in setAdapter()
371 for (int i = 0; i < presenters.length; i++) { in setAdapter()
372 setupPresenter(presenters[i]); in setAdapter()
DBrowseFragment.java777 Presenter[] presenters = adapterPresenter.getPresenters(); in createAndSetWrapperPresenter() local
779 final Presenter[] allPresenters = new Presenter[presenters.length + 1]; in createAndSetWrapperPresenter()
780 System.arraycopy(allPresenters, 0, presenters, 0, presenters.length); in createAndSetWrapperPresenter()
DBrowseSupportFragment.java780 Presenter[] presenters = adapterPresenter.getPresenters(); in createAndSetWrapperPresenter() local
782 final Presenter[] allPresenters = new Presenter[presenters.length + 1]; in createAndSetWrapperPresenter()
783 System.arraycopy(allPresenters, 0, presenters, 0, presenters.length); in createAndSetWrapperPresenter()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/grid/
DGridExampleFragment.java23 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.CardPresenterSelector;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemBridgeAdapter.java237 public void setPresenterMapper(ArrayList<Presenter> presenters) { in setPresenterMapper() argument
238 mPresenters = presenters; in setPresenterMapper()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/
DCardExampleFragment.java25 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.CardPresenterSelector;
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
DMainFragment.java30 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.CardPresenterSelector;
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
DDetailViewExampleFragment.java26 import android.support.v17.leanback.supportleanbackshowcase.cards.presenters.CardPresenterSelector;