/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamFragment.java | 72 public void addCard(Card card) { in addCard() argument 73 final String tag = card.getTag(); in addCard() 76 final View view = card.getView(); in addCard() 78 mHiddenCards.put(tag, card); in addCard() 88 public void addCard(Card card, boolean show) { in addCard() argument 89 addCard(card); in addCard() 91 showCard(card.getTag()); in addCard() 103 Card card = mVisibleCards.get(tag); in removeCard() local 104 if (card != null) { in removeCard() 107 mLayout.removeView(card.getView()); in removeCard() [all …]
|
D | Card.java | 56 private int mLayoutId = R.layout.card; 386 protected Builder(OnCardClickListener listener, Card card) { in Builder() argument 387 mCard = card; in Builder() 529 public Builder cloneFromCard(Card card) { in cloneFromCard() argument 530 mCard = card.createShallowClone(); in cloneFromCard()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/ |
D | CardPresenterSelector.java | 43 Card card = (Card) item; in getPresenter() local 44 Presenter presenter = presenters.get(card.getType()); in getPresenter() 46 switch (card.getType()) { in getPresenter() 57 if (card.getType() == Card.Type.MOVIE_BASE) { in getPresenter() 59 } else if (card.getType() == Card.Type.MOVIE_COMPLETE) { in getPresenter() 61 } else if (card.getType() == Card.Type.SQUARE_BIG) { in getPresenter() 63 } else if (card.getType() == Card.Type.GRID_SQUARE) { in getPresenter() 65 } else if (card.getType() == Card.Type.GAME) { in getPresenter() 88 presenters.put(card.getType(), presenter); in getPresenter()
|
D | ImageCardViewPresenter.java | 55 public void onBindViewHolder(Card card, final ImageCardView cardView) { in onBindViewHolder() argument 56 cardView.setTag(card); in onBindViewHolder() 57 cardView.setTitleText(card.getTitle()); in onBindViewHolder() 58 cardView.setContentText(card.getDescription()); in onBindViewHolder() 59 if (card.getLocalImageResourceName() != null) { in onBindViewHolder() 61 .getIdentifier(card.getLocalImageResourceName(), in onBindViewHolder()
|
D | SideInfoCardPresenter.java | 50 public void onBindViewHolder(Card card, BaseCardView cardView) { in onBindViewHolder() argument 52 if (card.getLocalImageResourceName() != null) { in onBindViewHolder() 58 .getIdentifier(card.getLocalImageResourceName(), in onBindViewHolder() 65 primaryText.setText(card.getTitle()); in onBindViewHolder() 68 secondaryText.setText(card.getDescription()); in onBindViewHolder() 71 extraText.setText(card.getExtraText()); in onBindViewHolder()
|
D | SingleLineCardPresenter.java | 33 @Override public void onBindViewHolder(Card card, ImageCardView cardView) { in onBindViewHolder() argument 34 super.onBindViewHolder(card, cardView); in onBindViewHolder() 35 cardView.setInfoAreaBackgroundColor(card.getFooterColor()); in onBindViewHolder()
|
D | AbstractCardPresenter.java | 51 Card card = (Card) item; in onBindViewHolder() local 52 onBindViewHolder(card, (T) viewHolder.view); in onBindViewHolder() 77 public abstract void onBindViewHolder(Card card, T cardView); in onBindViewHolder() argument
|
D | CharacterCardPresenter.java | 36 public void onBindViewHolder(Card card, CharacterCardView cardView) { in onBindViewHolder() argument 37 cardView.updateUi(card); in onBindViewHolder()
|
D | TextCardPresenter.java | 37 public void onBindViewHolder(Card card, TextCardView cardView) { in onBindViewHolder() argument 38 cardView.updateUi(card); in onBindViewHolder()
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | ShadowCardStack.java | 67 TextView card = (TextView) cardParent.getChildAt(i); in onCreate() local 68 card.setText("Card number " + i); in onCreate() 71 Animator expand = ObjectAnimator.ofFloat(card, "translationY", targetY); in onCreate() 74 Animator toward = ObjectAnimator.ofFloat(card, "translationZ", i * Z); in onCreate() 78 card.setPivotX(X_SHIFT_DP); in onCreate() 79 Animator rotateAway = ObjectAnimator.ofFloat(card, "rotationY", in onCreate() 84 Animator slideAway = ObjectAnimator.ofFloat(card, "translationX", in onCreate() 90 Animator rotateBack = ObjectAnimator.ofFloat(card, "rotationY", 0); in onCreate() 93 Animator slideBack = ObjectAnimator.ofFloat(card, "translationX", 0); in onCreate() 97 Animator away = ObjectAnimator.ofFloat(card, "translationZ", 0); in onCreate() [all …]
|
/development/samples/browseable/CardEmulation/ |
D | _index.jd | 8 This sample demonstrates how to emulate an NFC card, using the "host card emulation" 9 feature added in Android 4.4. This sample makes the device appear as a loyalty card 13 The "CardReader" sample can be used to read the loyalty card implemented in this sample.
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/details/ |
D | DetailsDescriptionPresenter.java | 52 DetailedCard card = (DetailedCard) item; in onBindViewHolder() local 53 primaryText.setText(card.getTitle()); in onBindViewHolder() 54 sndText1.setText(card.getDescription()); in onBindViewHolder() 55 sndText2.setText(card.getYear() + ""); in onBindViewHolder() 56 extraText.setText(card.getText()); in onBindViewHolder()
|
D | DetailViewExampleFragment.java | 137 for (Card card : data.getRecommended()) listRowAdapter.add(card); in setupUi()
|
/development/samples/browseable/CardReader/ |
D | _index.jd | 8 This sample demonstrates how to implement a low-level NFC card reader, for reading cards 10 loyalty card implemented in the "CardEmulation" sample.\n\n 13 reader is interested, and establish communication with the card
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/ |
D | TextCardView.java | 37 public void updateUi(Card card) { in updateUi() argument 42 extraText.setText(card.getExtraText()); in updateUi() 43 primaryText.setText(card.getTitle()); in updateUi() 46 int resourceId = card.getLocalImageResourceId(getContext()); in updateUi()
|
D | CharacterCardView.java | 52 public void updateUi(Card card) { in updateUi() argument 56 primaryText.setText(card.getTitle()); in updateUi() 57 if (card.getLocalImageResourceName() != null) { in updateUi() 58 int resourceId = card.getLocalImageResourceId(getContext()); in updateUi()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/cards/ |
D | CardExampleFragment.java | 86 Card card = (Card) item; in setupUi() 87 int imageResId = card.getLocalImageResourceId(getContext()); in setupUi() 129 for (Card card : cardRow.getCards()) { in createCardRow() 130 listRowAdapter.add(card); in createCardRow()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
D | PageAndListRowFragment.java | 194 Card card = (Card)item; in setupAdapter() 196 "Clicked on "+card.getTitle(), in setupAdapter() 254 for (Card card : cardRow.getCards()) { in createCardRow() 255 adapter.add(card); in createCardRow() 298 for(Card card : cardRow.getCards()) { in createCardRow() 299 adapter.add(card); in createCardRow()
|
/development/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/ |
D | MainFragment.java | 81 for (Card card : cardRow.getCards()) { in createCardRow() 82 listRowAdapter.add(card); in createCardRow() 106 Card card = (Card) item; in onItemClicked() local 107 int id = card.getId(); in onItemClicked()
|
/development/samples/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/ |
D | DisconnectListenerService.java | 123 Notification card = notificationBuilder.build(); in setupLostConnectivityNotification() local 125 .notify(FORGOT_PHONE_NOTIFICATION_ID, card); in setupLostConnectivityNotification()
|
/development/ndk/platforms/android-21/include/linux/ |
D | media.h | 82 __u32 card; member
|
D | firewire-cdev.h | 84 __u32 card; member 176 __u32 card; member
|
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/ |
D | HomeListenerService.java | 162 Notification card = notificationBuilder.build(); in updateNotificationForDataItem() local 165 .notify(sNotificationId, card); in updateNotificationForDataItem()
|
/development/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
D | GuidedStepActivity.java | 259 String card; in onGuidedActionClicked() local 261 card = "Visa "+cardNumber; in onGuidedActionClicked() 263 card = "Master "+cardNumber; in onGuidedActionClicked() 266 sCards.add(card); in onGuidedActionClicked()
|
D | GuidedStepSupportActivity.java | 261 String card; in onGuidedActionClicked() local 263 card = "Visa "+cardNumber; in onGuidedActionClicked() 265 card = "Master "+cardNumber; in onGuidedActionClicked() 268 sCards.add(card); in onGuidedActionClicked()
|