Searched refs:cardView (Results 1 – 3 of 3) sorted by relevance
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
D | CardFlip.java | 170 public void rotateCardView(final CardView cardView, int stack, float velocityX, in rotateCardView() argument 186 mLayout.bringChildToFront(cardView); in rotateCardView() 189 leftStack.add(cardView); in rotateCardView() 190 cardView.flipRightToLeft(leftStack.size() - 1, (int)velocityX); in rotateCardView() 202 mLayout.bringChildToFront(cardView); in rotateCardView() 205 rightStack.add(cardView); in rotateCardView() 206 cardView.flipLeftToRight(rightStack.size() - 1, (int)velocityX); in rotateCardView() 249 CardView cardView = cards.get(i); in rotateCards() local 250 animations.add(cardView.getRotationAnimator(i, corner, isRotatingOut, false)); in rotateCards() 251 mLayout.bringChildToFront(cardView); in rotateCards() [all …]
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
D | CardStreamLinearLayout.java | 210 public void addCard(View cardView, boolean canDismiss) { in addCard() argument 211 if (cardView.getParent() == null) { in addCard() 212 initCard(cardView, canDismiss); in addCard() 214 ViewGroup.LayoutParams param = cardView.getLayoutParams(); in addCard() 218 super.addView(cardView, -1, param); in addCard() 438 private void initCard(View cardView, boolean canDismiss) { in initCard() argument 439 resetAnimatedView(cardView); in initCard() 440 cardView.setOnTouchListener(mTouchListener); in initCard() 442 mFixedViewList.add(cardView); in initCard()
|
D | Card.java | 487 ViewGroup cardView = (ViewGroup) inflater.inflate(mCard.mLayoutId, in build() local 491 View viewTitle = cardView.findViewById(R.id.card_title); in build() 500 View viewDesc = cardView.findViewById(R.id.card_content); in build() 505 cardView.findViewById(R.id.card_content).setVisibility(View.GONE); in build() 509 ViewGroup actionArea = (ViewGroup) cardView.findViewById(R.id.card_actionarea); in build() 515 initializeActionViews(inflater, cardView, actionArea); in build() 517 mCard.mCardView = cardView; in build() 518 mCard.mOverlayView = cardView.findViewById(R.id.card_overlay); in build() 541 private void initializeActionViews(LayoutInflater inflater, ViewGroup cardView, in initializeActionViews() argument
|