Home
last modified time | relevance | path

Searched refs:card (Results 1 – 8 of 8) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java72 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 …]
DCard.java56 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/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardStack.java67 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 …]
DShadowCardDrag.java165 mCard = findViewById(R.id.card); in onCreate()
/development/samples/browseable/CardEmulation/
D_index.jd8 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/browseable/CardReader/
D_index.jd8 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/browseable/FindMyPhone/Wearable/src/com.example.android.wearable.findphone/
DDisconnectListenerService.java123 Notification card = notificationBuilder.build(); in setupLostConnectivityNotification() local
125 .notify(FORGOT_PHONE_NOTIFICATION_ID, card); in setupLostConnectivityNotification()
/development/samples/browseable/AgendaData/Wearable/src/com.example.android.wearable.agendadata/
DHomeListenerService.java162 Notification card = notificationBuilder.build(); in updateNotificationForDataItem() local
165 .notify(sNotificationId, card); in updateNotificationForDataItem()