HomeSort by relevance Sort by last modified time
    Searched full:cardrow (Results 1 - 7 of 7) sorted by null

  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/utils/
CardListRow.java 19 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
25 * The {@link CardListRow} allows the {@link ShadowRowPresenterSelector} to access the {@link CardRow}
31 private CardRow mCardRow;
33 public CardListRow(HeaderItem header, ObjectAdapter adapter, CardRow cardRow) {
35 setCardRow(cardRow);
38 public CardRow getCardRow() {
42 public void setCardRow(CardRow cardRow) {
43 this.mCardRow = cardRow;
    [all...]
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/
CardExampleFragment.java 27 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
112 CardRow[] rows = new Gson().fromJson(json, CardRow[].class);
113 for (CardRow row : rows) {
118 private Row createCardRow(final CardRow cardRow) {
119 switch (cardRow.getType()) {
120 case CardRow.TYPE_SECTION_HEADER:
121 return new SectionRow(new HeaderItem(cardRow.getTitle()));
122 case CardRow.TYPE_DIVIDER
    [all...]
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/
PageAndListRowFragment.java 28 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
205 CardRow cardRow = new Gson().fromJson(json, CardRow.class);
206 mAdapter.addAll(0, cardRow.getCards());
243 CardRow[] rows = new Gson().fromJson(json, CardRow[].class);
244 for (CardRow row : rows) {
245 if (row.getType() == CardRow.TYPE_DEFAULT) {
251 private Row createCardRow(CardRow cardRow)
    [all...]
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/
ShadowRowPresenterSelector.java 18 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
26 * enabled or not depending on {@link CardRow#useShadow()} for a given row.
40 CardRow row = listRow.getCardRow();
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/
MainFragment.java 32 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
72 CardRow[] rows = new Gson().fromJson(json, CardRow[].class);
73 for (CardRow row : rows) {
78 private ListRow createCardRow(CardRow cardRow) {
81 for (Card card : cardRow.getCards()) {
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/grid/
GridExampleFragment.java 22 import android.support.v17.leanback.supportleanbackshowcase.models.CardRow;
69 CardRow row = new Gson().fromJson(json, CardRow.class);
  /development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/models/
CardRow.java 25 public class CardRow {

Completed in 112 milliseconds