HomeSort by relevance Sort by last modified time
    Searched refs:historyPos (Results 1 - 6 of 6) sorted by null

  /frameworks/base/core/jni/
android_view_MotionEvent.cpp 167 static bool validateHistoryPos(JNIEnv* env, jint historyPos, size_t historySize) {
168 if (historyPos < 0 || size_t(historyPos) >= historySize) {
170 "historyPos out of range");
421 jlong nativePtr, jint pointerIndex, jint historyPos, jobject outPointerCoordsObj) {
430 if (historyPos == HISTORY_CURRENT) {
434 if (!validateHistoryPos(env, historyPos, historySize)) {
437 rawPointerCoords = event->getHistoricalRawPointerCoords(pointerIndex, historyPos);
521 jlong nativePtr, jint historyPos) {
523 if (historyPos == HISTORY_CURRENT)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameView.java 244 private void processJoystickInput(MotionEvent event, int historyPos) {
249 float x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_X, historyPos);
251 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_X, historyPos);
254 x = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Z, historyPos);
257 float y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_Y, historyPos);
259 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_HAT_Y, historyPos);
262 y = getCenteredAxis(event, mLastInputDevice, MotionEvent.AXIS_RZ, historyPos);
267 step(historyPos < 0 ? event.getEventTime() : event.getHistoricalEventTime(historyPos));
271 int axis, int historyPos) {
    [all...]
GameControllerInput.java 298 for (int historyPos = 0; historyPos < historySize; historyPos++) {
299 message.append(event.getHistoricalAxisValue(axis, historyPos));
  /development/samples/ControllerSample/src/com/example/controllersample/
GameView.java 466 int axis, int historyPos) {
470 final float value = historyPos < 0 ? event.getAxisValue(axis)
471 : event.getHistoricalAxisValue(axis, historyPos);
817 * @param historyPos
819 private void processJoystickInput(MotionEvent event, int historyPos) {
830 float x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_X, historyPos);
832 x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_X, historyPos);
835 x = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Z, historyPos);
838 float y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_Y, historyPos);
840 y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_HAT_Y, historyPos);
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
PointerLocationView.java 428 for (int historyPos = 0; historyPos < N; historyPos++) {
431 event.getHistoricalPointerCoords(i, historyPos, mTempCoords);
584 for (int historyPos = 0; historyPos < N; historyPos++) {
589 event.getHistoricalPointerCoords(i, historyPos, coords);
    [all...]
  /frameworks/base/core/java/android/view/
MotionEvent.java     [all...]

Completed in 250 milliseconds