Home
last modified time | relevance | path

Searched refs:alphaDarkening (Results 1 – 1 of 1) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DShadowCardDrag.java85 … float alphaDarkening = (momentumX * momentumX + momentumY * momentumY) / (90 * 90); in onMove() local
86 alphaDarkening /= 2; in onMove()
88 int alphaByte = 0xff - ((int)(alphaDarkening * 255) & 0xff); in onMove()