Searched refs:momentumY (Results 1 – 1 of 1) sorted by relevance
55 float momentumY; field in ShadowCardDrag.CardDragState63 momentumY = 0; in onDown()74 momentumY = 0.9f * momentumY + 0.1f * (newMomentumY * MOMENTUM_SCALE); in onMove()77 momentumY = Math.max(Math.min((momentumY), MAX_ANGLE), -MAX_ANGLE); in onMove()80 mCard.setRotationX(-momentumY); in onMove()85 … float alphaDarkening = (momentumX * momentumX + momentumY * momentumY) / (90 * 90); in onMove()