Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 5 of 5) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DLayer.java21 public Layer(int axis) { in Layer() argument
23 mAxis = axis; in Layer()
/development/samples/browseable/ElevationBasic/
D_index.jd8 This sample demonstrates two alternative ways to move a view in the z-axis. The
/development/samples/ApiDemos/src/com/example/android/apis/view/
DGameControllerInput.java292 final int axis = mAxes[i]; in onJoystickMotion() local
293 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() local
389 final int id = BASE_ID_AXIS_ITEM | axis; in show()
392 column = new TextColumn(id, MotionEvent.axisToString(axis)); in show()
DGameView.java271 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);
/development/samples/ControllerSample/src/com/example/controllersample/
DGameView.java466 int axis, int historyPos) { in getCenteredAxis() argument
467 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()