HomeSort by relevance Sort by last modified time
    Searched refs:inputDevice (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
GamepadDevice.java 8 import android.view.InputDevice;
9 import android.view.InputDevice.MotionRange;
37 // When the user agent recognizes the attached inputDevice, it is recommended
50 GamepadDevice(int index, InputDevice inputDevice) {
52 mDeviceId = inputDevice.getId();
53 mDeviceName = inputDevice.getName();
56 final List<MotionRange> ranges = inputDevice.getMotionRanges();
60 if ((range.getSource() & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) {
GamepadList.java 13 import android.view.InputDevice;
66 InputDevice inputDevice = InputDevice.getDevice(deviceIds[i]);
68 if (isGamepadDevice(inputDevice)) {
70 registerGamepad(inputDevice);
132 InputDevice inputDevice = InputDevice.getDevice(deviceId);
133 if (!isGamepadDevice(inputDevice)) return
    [all...]
  /frameworks/base/core/java/android/hardware/input/
InputManager.java 39 import android.view.InputDevice;
67 private SparseArray<InputDevice> mInputDevices;
202 public InputDevice getInputDevice(int id) {
211 InputDevice inputDevice = mInputDevices.valueAt(index);
212 if (inputDevice == null) {
214 inputDevice = mIm.getInputDevice(id);
218 if (inputDevice != null) {
219 mInputDevices.setValueAt(index, inputDevice);
222 return inputDevice;
    [all...]
  /packages/apps/Settings/src/com/android/settings/inputmethod/
KeyboardLayoutPickerFragment.java 31 import android.view.InputDevice;
74 InputDevice inputDevice =
76 if (inputDevice == null) {
80 mInputDeviceId = inputDevice.getId();
KeyboardLayoutDialogFragment.java 36 import android.view.InputDevice;
121 InputDevice inputDevice =
123 if (inputDevice == null) {
127 mInputDeviceId = inputDevice.getId();
  /frameworks/base/services/core/java/com/android/server/input/
InputManagerService.java 77 import android.view.InputDevice;
133 private InputDevice[] mInputDevices = new InputDevice[0];
139 private final ArrayList<InputDevice>
140 mTempFullKeyboards = new ArrayList<InputDevice>(); // handler thread only
381 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
394 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
407 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
420 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
576 public InputDevice getInputDevice(int deviceId)
    [all...]

Completed in 892 milliseconds