Home
last modified time | relevance | path

Searched refs:axis (Results 1 – 9 of 9) 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/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/browseable/ElevationBasic/
D_index.jd7 This sample demonstrates two alternative ways to move a view in the z-axis. The
/development/ndk/platforms/android-13/include/android/
Dinput.h640 int32_t axis, size_t pointer_index) __NDK_FPABI__;
748 int32_t axis, size_t pointer_index, size_t history_index) __NDK_FPABI__;
/development/ndk/platforms/android-18/include/android/
Dinput.h685 int32_t axis, size_t pointer_index) __NDK_FPABI__;
793 int32_t axis, size_t pointer_index, size_t history_index) __NDK_FPABI__;
/development/ndk/platforms/android-14/include/android/
Dinput.h683 int32_t axis, size_t pointer_index) __NDK_FPABI__;
791 int32_t axis, size_t pointer_index, size_t history_index) __NDK_FPABI__;
/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()
/development/ndk/sources/android/ndk_helper/
Dvecmath.h1095 static Quaternion RotationAxis( const Vec3 axis, const float angle ) in RotationAxis() argument
1099 ret.x_ = s * axis.x_; in RotationAxis()
1100 ret.y_ = s * axis.y_; in RotationAxis()
1101 ret.z_ = s * axis.z_; in RotationAxis()