Searched refs:axis (Results 1 – 5 of 5) sorted by relevance
21 public Layer(int axis) { in Layer() argument23 mAxis = axis; in Layer()
8 This sample demonstrates two alternative ways to move a view in the z-axis. The
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()