Home
last modified time | relevance | path

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

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
DAccelerometerPlayActivity.java206 final float ymax = mVerticalBound; in resolveCollisionWithBounds() local
214 if (y > ymax) { in resolveCollisionWithBounds()
215 mPosY = ymax; in resolveCollisionWithBounds()
216 } else if (y < -ymax) { in resolveCollisionWithBounds()
217 mPosY = -ymax; in resolveCollisionWithBounds()