HomeSort by relevance Sort by last modified time
    Searched refs:InputDevice (Results 1 - 25 of 61) sorted by null

1 2 3

  /frameworks/base/core/java/android/view/
InputDevice.aidl 1 /* //device/java/android/android.view.InputDevice.aidl
20 parcelable InputDevice;
InputEvent.java 56 * @see InputDevice#getDevice
65 public final InputDevice getDevice() {
66 return InputDevice.getDevice(getDeviceId());
72 * @return The event source or {@link InputDevice#SOURCE_UNKNOWN} if unknown.
88 * {@link InputDevice#SOURCE_TOUCH_NAVIGATION}, or a more generic device class, such as
89 * {@link InputDevice#SOURCE_CLASS_POINTER}.
InputDevice.java 44 public final class InputDevice implements Parcelable {
333 public static final Parcelable.Creator<InputDevice> CREATOR =
334 new Parcelable.Creator<InputDevice>() {
335 public InputDevice createFromParcel(Parcel in) {
336 return new InputDevice(in);
338 public InputDevice[] newArray(int size) {
339 return new InputDevice[size];
344 private InputDevice(int id, int generation, String name, String descriptor,
358 private InputDevice(Parcel in) {
384 public static InputDevice getDevice(int id)
    [all...]
InputEventConsistencyVerifier.java 176 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
265 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
354 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) {
469 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) {
493 } else if ((source & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) {
542 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) {
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyTouchEvent.java 19 import android.view.InputDevice;
27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action);
MonkeyTrackballEvent.java 19 import android.view.InputDevice;
26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action);
MonkeyKeyEvent.java 23 import android.view.InputDevice;
131 KeyEvent.FLAG_FROM_SYSTEM, InputDevice.SOURCE_KEYBOARD);
  /frameworks/base/core/jni/
android_view_InputDevice.h 22 #include <androidfw/InputDevice.h>
26 /* Creates an InputDevice object from the given information. */
  /frameworks/base/core/java/android/hardware/input/
IInputManager.aidl 22 import android.view.InputDevice;
28 InputDevice getInputDevice(int deviceId);
InputManager.java 36 import android.view.InputDevice;
64 private SparseArray<InputDevice> mInputDevices;
199 public InputDevice getInputDevice(int id) {
208 InputDevice inputDevice = mInputDevices.valueAt(index);
209 if (inputDevice == null) {
211 inputDevice = mIm.getInputDevice(id);
215 if (inputDevice != null) {
216 mInputDevices.setValueAt(index, inputDevice);
219 return inputDevice;
    [all...]
  /frameworks/base/cmds/input/src/com/android/commands/input/
Input.java 22 import android.view.InputDevice;
69 sendTap(InputDevice.SOURCE_TOUCHSCREEN, Float.parseFloat(args[1]), Float.parseFloat(args[2]));
74 sendSwipe(InputDevice.SOURCE_TOUCHSCREEN, Float.parseFloat(args[1]), Float.parseFloat(args[2]),
81 int inputSource = InputDevice.SOURCE_TOUCHSCREEN;
83 inputSource = InputDevice.SOURCE_TOUCHPAD;
85 inputSource = InputDevice.SOURCE_TOUCH_NAVIGATION;
115 sendTap(InputDevice.SOURCE_TRACKBALL, 0.0f, 0.0f);
119 sendMove(InputDevice.SOURCE_TRACKBALL, Float.parseFloat(args[2]),
172 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD));
174 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD))
    [all...]
  /frameworks/base/services/input/
InputReader.h 47 class InputDevice;
356 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0;
412 virtual InputDevice* createDeviceLocked(int32_t deviceId,
425 InputDevice* device, int32_t keyCode, int32_t scanCode);
451 KeyedVector<int32_t, InputDevice*> mDevices;
477 InputDevice* device, int32_t keyCode, int32_t scanCode);
486 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code);
508 class InputDevice {
510 InputDevice(InputReaderContext* context, int32_t id, int32_t generation,
512 ~InputDevice();
    [all...]
InputReader.cpp 358 InputDevice* device = createDeviceLocked(deviceId, identifier, classes);
375 InputDevice* device = NULL;
398 InputDevice* InputReader::createDeviceLocked(int32_t deviceId,
400 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(),
466 InputDevice* device = mDevices.valueAt(deviceIndex);
477 InputDevice* device = mDevices.valueAt(i);
505 InputDevice* device = mDevices.valueAt(i);
516 InputDevice* device = mDevices.valueAt(i);
530 InputDevice* device, int32_t keyCode, int32_t scanCode)
    [all...]
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
InteractionController.java 26 import android.view.InputDevice;
194 InputDevice.SOURCE_KEYBOARD);
198 InputDevice.SOURCE_KEYBOARD);
311 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
322 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
334 event.setSource(InputDevice.SOURCE_TOUCHSCREEN);
551 InputDevice.SOURCE_KEYBOARD);
555 InputDevice.SOURCE_KEYBOARD);
714 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0);
720 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0)
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
GameControllerInput.java 29 import android.view.InputDevice;
35 import android.view.InputDevice.MotionRange;
145 if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)
159 final InputDevice device = mInputManager.getInputDevice(deviceId);
203 private final InputDevice mDevice;
208 public InputDeviceState(InputDevice device) {
214 if (range.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
223 if (range.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) {
231 public InputDevice getDevice() {
GameView.java 28 import android.view.InputDevice;
56 private InputDevice mLastInputDevice;
212 if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)
270 private static float getCenteredAxis(MotionEvent event, InputDevice device,
272 final InputDevice.MotionRange range = device.getMotionRange(axis, event.getSource());
  /frameworks/base/include/androidfw/
Keyboard.h 21 #include <androidfw/InputDevice.h>
  /packages/apps/Settings/src/com/android/settings/inputmethod/
KeyboardLayoutPickerFragment.java 30 import android.view.InputDevice;
73 InputDevice inputDevice = mIm.getInputDeviceByDescriptor(mInputDeviceDescriptor);
74 if (inputDevice == null) {
78 mInputDeviceId = inputDevice.getId();
InputMethodAndLanguageSettings.java 46 import android.view.InputDevice;
444 final int[] devices = InputDevice.getDeviceIds();
446 InputDevice device = InputDevice.getDevice(devices[i]);
540 final int[] devices = InputDevice.getDeviceIds();
542 InputDevice device = InputDevice.getDevice(devices[i]);
  /frameworks/base/services/java/com/android/server/input/
InputManagerService.java 71 import android.view.InputDevice;
126 private InputDevice[] mInputDevices = new InputDevice[0];
132 private final ArrayList<InputDevice>
133 mTempFullKeyboards = new ArrayList<InputDevice>(); // handler thread only
358 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
371 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
384 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
397 * @param sourceMask The input sources to consult, or {@link InputDevice#SOURCE_ANY} to
549 public InputDevice getInputDevice(int deviceId)
    [all...]
  /frameworks/base/cmds/media/src/com/android/commands/media/
Media.java 30 import android.view.InputDevice;
125 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD));
127 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD));
  /frameworks/base/services/java/com/android/server/accessibility/
AccessibilityInputFilter.java 25 import android.view.InputDevice;
149 && event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) {
153 && event.isFromSource(InputDevice.SOURCE_KEYBOARD)) {
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
EventHole.java 31 import android.view.InputDevice;
KeyButtonView.java 34 import android.view.InputDevice;
282 InputDevice.SOURCE_KEYBOARD);
  /frameworks/base/core/java/android/inputmethodservice/
IInputMethodSessionWrapper.java 32 import android.view.InputDevice;
216 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) {

Completed in 1693 milliseconds

1 2 3