Home
last modified time | relevance | path

Searched refs:ymax (Results 1 – 2 of 2) 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()
/development/ndk/platforms/android-4/samples/san-angeles/jni/
Ddemo.c505 GLfloat xmin, xmax, ymin, ymax; in gluPerspective() local
507 ymax = zNear * (GLfloat)tan(fovy * PI / 360); in gluPerspective()
508 ymin = -ymax; in gluPerspective()
510 xmax = ymax * aspect; in gluPerspective()
513 (GLfixed)(ymin * 65536), (GLfixed)(ymax * 65536), in gluPerspective()