Searched refs:momentumX (Results 1 – 1 of 1) sorted by relevance
54 float momentumX; field in ShadowCardDrag.CardDragState62 momentumX = 0; in onDown()73 momentumX = 0.9f * momentumX + 0.1f * (newMomentumX * MOMENTUM_SCALE); in onMove()76 momentumX = Math.max(Math.min((momentumX), MAX_ANGLE), -MAX_ANGLE); in onMove()82 mCard.setRotationY(momentumX); in onMove()85 … float alphaDarkening = (momentumX * momentumX + momentumY * momentumY) / (90 * 90); in onMove()