Searched refs:axis (Results 1 – 4 of 4) sorted by relevance
21 public Layer(int axis) { in Layer() argument23 mAxis = axis; in Layer()
292 final int axis = mAxes[i]; in onJoystickMotion() local293 final float value = event.getAxisValue(axis); in onJoystickMotion()295 message.append(" ").append(MotionEvent.axisToString(axis)).append(": "); in onJoystickMotion()299 message.append(event.getHistoricalAxisValue(axis, historyPos)); in onJoystickMotion()388 final int axis = state.getAxis(i); in show() local389 final int id = BASE_ID_AXIS_ITEM | axis; in show()392 column = new TextColumn(id, MotionEvent.axisToString(axis)); in show()
271 int axis, int historyPos) {272 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource());275 final float value = historyPos < 0 ? event.getAxisValue(axis)276 : event.getHistoricalAxisValue(axis, historyPos);
466 int axis, int historyPos) { in getCenteredAxis() argument467 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource()); in getCenteredAxis()470 final float value = historyPos < 0 ? event.getAxisValue(axis) in getCenteredAxis()471 : event.getHistoricalAxisValue(axis, historyPos); in getCenteredAxis()