Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dball_physics.rscript11 static float2 touchPos[10];
26 touchPos[id].x = x;
27 touchPos[id].y = y;
78 float2 vec = touchPos[i] - ball->position;
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerView.java331 final int touchPos = (int) (isLeftRightSplit ? event.getX() : event.getY()); in onTouch() local
337 mStartPos = touchPos; in onTouch()
348 if (!mMoving && Math.abs(touchPos - mStartPos) > mTouchSlop) { in onTouch()
349 mStartPos = touchPos; in onTouch()
353 final int position = mSplitLayout.getDividerPosition() + touchPos - mStartPos; in onTouch()
371 final int position = mSplitLayout.getDividerPosition() + touchPos - mStartPos; in onTouch()