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.java377 private Card mCard; field in Card.Builder
386 mCard = card; in Builder()
387 mCard.mClickListener = listener; in Builder()
396 mCard = new Card(); in Builder()
397 mCard.mTag = tag; in Builder()
398 mCard.mClickListener = listener; in Builder()
402 mCard.mTitle = title; in setTitle()
407 mCard.mDescription = desc; in setDescription()
422 mCard.addAction(label, id, type); in addAction()
435 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 …]