Home | History | Annotate | Download | only in controllersample

Lines Matching refs:historyPos

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);
843 y = getCenteredAxis(event, mInputDevice, MotionEvent.AXIS_RZ, historyPos);
848 GameView.this.step(historyPos < 0 ? event.getEventTime() : event
849 .getHistoricalEventTime(historyPos));