Home | History | Annotate | Download | only in controllersample

Lines Matching defs:InputDevice

34 import android.view.InputDevice;
116 InputDevice dev = mInputManager.getInputDevice(deviceId);
119 if (((sources & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) ||
120 ((sources & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK)) {
163 if ((((eventSource & InputDevice.SOURCE_GAMEPAD) == InputDevice.SOURCE_GAMEPAD) ||
164 ((eventSource & InputDevice.SOURCE_JOYSTICK) == InputDevice.SOURCE_JOYSTICK))
255 InputDevice dev = InputDevice.getDevice(shipID);
465 InputDevice device,
467 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource());
656 private InputDevice mInputDevice;
871 public void setInputDevice(InputDevice dev) {
1138 * this to make sure that the ship has an up-to-date InputDevice.
1146 ship.setInputDevice(InputDevice.getDevice(deviceId));