Home
last modified time | relevance | path

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

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiScrollable.java427 int upY = 0; in scrollForward() local
437 upY = rect.top + swipeAreaAdjust; in scrollForward()
445 upY = rect.centerY(); in scrollForward()
447 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollForward()
506 int upY = 0; in scrollBackward() local
517 upY = rect.bottom - swipeAreaAdjust; in scrollBackward()
526 upY = rect.centerY(); in scrollBackward()
528 return getInteractionController().scrollSwipe(downX, downY, upX, upY, steps); in scrollBackward()
DInteractionController.java346 public boolean scrollSwipe(final int downX, final int downY, final int upX, final int upY,
349 + upY + ", " + steps +")");
354 swipe(downX, downY, upX, upY, steps);
387 } else if (downY == upY) {
422 public boolean swipe(int downX, int downY, int upX, int upY, int steps) {
423 return swipe(downX, downY, upX, upY, steps, false /*drag*/);
436 public boolean swipe(int downX, int downY, int upX, int upY, int steps, boolean drag) {
447 yStep = ((double)(upY - downY)) / swipeSteps;
465 ret &= touchUp(upX, upY);
/frameworks/native/opengl/tests/gl_jni/jni/
Dgl_code.cpp30 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument
47 float rlup = 1.0f / sqrtf(upX*upX + upY*upY + upZ*upZ); in gluLookAt()
49 upY *= rlup; in gluLookAt()
54 float sx = fy * upZ - fz * upY; in gluLookAt()
56 float sz = fx * upY - fy * upX; in gluLookAt()
/frameworks/native/opengl/tests/tritex/
Dtritex.cpp36 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument
53 float rlup = 1.0f / sqrtf(upX*upX + upY*upY + upZ*upZ); in gluLookAt()
55 upY *= rlup; in gluLookAt()
60 float sx = fy * upZ - fz * upY; in gluLookAt()
62 float sz = fx * upY - fy * upX; in gluLookAt()
/frameworks/native/opengl/tests/gl_basic/
Dgl_basic.cpp41 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument
58 float rlup = 1.0f / sqrtf(upX*upX + upY*upY + upZ*upZ); in gluLookAt()
60 upY *= rlup; in gluLookAt()
65 float sx = fy * upZ - fz * upY; in gluLookAt()
67 float sz = fx * upY - fy * upX; in gluLookAt()
/frameworks/base/opengl/java/android/opengl/
DGLU.java72 float centerX, float centerY, float centerZ, float upX, float upY, in gluLookAt() argument
78 upX, upY, upZ); in gluLookAt()
DMatrix.java699 float centerX, float centerY, float centerZ, float upX, float upY, in setLookAtM() argument
716 float sx = fy * upZ - fz * upY; in setLookAtM()
718 float sz = fx * upY - fy * upX; in setLookAtM()