Home | History | Annotate | Download | only in cardflip

Lines Matching refs:cards

34  * This application creates 2 stacks of playing cards. Using fling events,
35 * these cards can be flipped from one stack to another where each flip comes with
36 * an associated animation. The cards can be flipped horizontally from left to right
39 * This application demonstrates an animation where a stack of cards can either be
41 * Rotate out: Down fling on stack of cards
42 * Rotate in: Up fling on stack of cards
43 * Full rotation: Tap on stack of cards
46 * only one card can be flipped at a time. When the cards are in a rotated-out
47 * state, no new cards can be rotated to or from that stack. These changes were made to
246 ArrayList <CardView> cards = mStackCards.get(stack);
248 for (int i = 0; i < cards.size(); i++) {
249 CardView cardView = cards.get(i);
253 /** All the cards are being brought to the front in order to guarantee that
254 * the cards being rotated in the current stack will overlay the cards in the
255 * other stack. After the z-ordering of all the cards is updated, a layout must
277 ArrayList <CardView> cards = mStackCards.get(stack);
278 for (int i = 0; i < cards.size(); i++) {
279 CardView cardView = cards.get(i);
283 /** Same reasoning for bringing cards to front as in rotateCards().*/