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

/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
H A DAccelerometerPlayActivity.java206 final float ymax = mVerticalBound;
214 if (y > ymax) {
215 mPosY = ymax;
216 } else if (y < -ymax) {
217 mPosY = -ymax;
/development/ndk/platforms/android-4/samples/san-angeles/jni/
H A Ddemo.c505 GLfloat xmin, xmax, ymin, ymax; local
507 ymax = zNear * (GLfloat)tan(fovy * PI / 360);
508 ymin = -ymax;
510 xmax = ymax * aspect;
513 (GLfixed)(ymin * 65536), (GLfixed)(ymax * 65536),

Completed in 135 milliseconds