Home
last modified time | relevance | path

Searched refs:mCard (Results 1 – 2 of 2) sorted by relevance

/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCard.java378 private Card mCard; field in Card.Builder
387 mCard = card; in Builder()
388 mCard.mClickListener = listener; in Builder()
397 mCard = new Card(); in Builder()
398 mCard.mTag = tag; in Builder()
399 mCard.mClickListener = listener; in Builder()
403 mCard.mTitle = title; in setTitle()
408 mCard.mDescription = desc; in setDescription()
423 mCard.addAction(label, id, type); in addAction()
436 mCard.mLayoutId = layout; in setLayout()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java80 mCard.setRotationX(-momentumY); in onMove()
82 mCard.setRotationY(momentumX); in onMove()
100 ObjectAnimator flattenX = ObjectAnimator.ofFloat(mCard, "rotationX", 0); in onUp()
105 ObjectAnimator flattenY = ObjectAnimator.ofFloat(mCard, "rotationY", 0); in onUp()
143 private View mCard; field in ShadowCardDrag
165 mCard = findViewById(R.id.card); in onCreate()
166 mCard.setBackground(mCardBackground); in onCreate()
215 downX = event.getX() - mCard.getTranslationX(); in onCreate()
216 downY = event.getY() - mCard.getTranslationY(); in onCreate()
218 ObjectAnimator upAnim = ObjectAnimator.ofFloat(mCard, "translationZ", in onCreate()
[all …]