/frameworks/base/core/java/android/view/ |
H A D | InputDevice.aidl | 1 /* //device/java/android/android.view.InputDevice.aidl 20 parcelable InputDevice;
|
H A D | 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. 73 * @see InputDevice#getSources 89 * {@link InputDevice#SOURCE_TOUCH_NAVIGATION}, or a more generic device class, such as 90 * {@link InputDevice#SOURCE_CLASS_POINTER}.
|
H A D | InputDevice.java | 45 public final class InputDevice implements Parcelable { class in inherits:Parcelable 347 public static final Parcelable.Creator<InputDevice> CREATOR = 348 new Parcelable.Creator<InputDevice>() { 349 public InputDevice createFromParcel(Parcel in) { 350 return new InputDevice(in); 352 public InputDevice[] newArray(int size) { 353 return new InputDevice[size]; 358 private InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, method in class:InputDevice 377 private InputDevice(Parcel in) { method in class:InputDevice 408 public static InputDevice getDevic [all...] |
H A D | 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) {
|
/frameworks/base/core/jni/ |
H A D | android_view_InputDevice.h | 22 #include <input/InputDevice.h> 26 /* Creates an InputDevice object from the given information. */
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | Input.java | 22 import android.view.InputDevice; 40 put("keyboard", InputDevice.SOURCE_KEYBOARD); 41 put("dpad", InputDevice.SOURCE_DPAD); 42 put("gamepad", InputDevice.SOURCE_GAMEPAD); 43 put("touchscreen", InputDevice.SOURCE_TOUCHSCREEN); 44 put("mouse", InputDevice.SOURCE_MOUSE); 45 put("stylus", InputDevice.SOURCE_STYLUS); 46 put("trackball", InputDevice.SOURCE_TRACKBALL); 47 put("touchpad", InputDevice.SOURCE_TOUCHPAD); 48 put("touchnavigation", InputDevice [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 24 import android.view.InputDevice; 30 InputDevice getInputDevice(int deviceId);
|
H A D | InputManager.java | 39 import android.view.InputDevice; 67 private SparseArray<InputDevice> mInputDevices; 202 public InputDevice getInputDevice(int id) { 211 InputDevice inputDevice = mInputDevices.valueAt(index); 232 public InputDevice getInputDeviceByDescriptor(String descriptor) { 242 InputDevice inputDevice = mInputDevices.valueAt(i); 641 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); 707 mInputDevices = new SparseArray<InputDevice>(); 735 final InputDevice device = mInputDevices.valueAt(index); 805 * a fresh {@link InputDevice} objec [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | PointerEventDispatcher.java | 20 import android.view.InputDevice; 42 && (event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) {
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | 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 [all...] |
/frameworks/native/services/inputflinger/ |
H A D | InputReader.h | 48 class InputDevice; 388 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; 444 virtual InputDevice* createDeviceLocked(int32_t deviceId, int32_t controllerNumber, 457 InputDevice* device, int32_t keyCode, int32_t scanCode); 483 KeyedVector<int32_t, InputDevice*> mDevices; 509 InputDevice* device, int32_t keyCode, int32_t scanCode); 518 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code); 540 class InputDevice { class in namespace:android 542 InputDevice(InputReaderContext* context, int32_t id, int32_t generation, int32_t 544 ~InputDevice(); [all...] |
H A D | InputReader.cpp | 370 InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes); 387 InputDevice* device = NULL; 410 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber, 412 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(), 478 InputDevice* device = mDevices.valueAt(deviceIndex); 489 InputDevice* device = mDevices.valueAt(i); 517 InputDevice* device = mDevices.valueAt(i); 528 InputDevice* device = mDevices.valueAt(i); 542 InputDevice* devic 857 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, function in class:android::InputDevice [all...] |
/frameworks/native/include/input/ |
H A D | Keyboard.h | 21 #include <input/InputDevice.h>
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
H A D | Media.java | 37 import android.view.InputDevice; 170 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); 172 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD));
|
/frameworks/base/services/core/java/com/android/server/input/ |
H A D | 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 getInputDevic [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityInputFilter.java | 25 import android.view.InputDevice; 149 && event.isFromSource(InputDevice.SOURCE_TOUCHSCREEN)) { 153 && event.isFromSource(InputDevice.SOURCE_KEYBOARD)) {
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 32 import android.view.InputDevice; 108 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { 111 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) { 114 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_LINEOUT_INSERT) == 1) {
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | IInputMethodSessionWrapper.java | 31 import android.view.InputDevice; 235 if (motionEvent.isFromSource(InputDevice.SOURCE_CLASS_TRACKBALL)) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 28 import android.view.InputDevice; 568 InputDevice device = InputDevice.getDevice(event.getDeviceId()); 665 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) { 667 } else if ((source & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) { 669 } else if ((source & InputDevice.SOURCE_CLASS_POSITION) != 0) { 751 int[] deviceIds = InputDevice.getDeviceIds(); 758 InputDevice device = mIm.getInputDevice(deviceId);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | KeyButtonView.java | 31 import android.view.InputDevice; 247 InputDevice.SOURCE_KEYBOARD);
|
/frameworks/native/libs/input/ |
H A D | Android.mk | 22 InputDevice.cpp \
|
H A D | InputDevice.cpp | 17 #define LOG_TAG "InputDevice" 23 #include <input/InputDevice.h>
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 42 import android.view.InputDevice; 888 if (source == InputDevice.SOURCE_UNKNOWN) { 889 source = InputDevice.SOURCE_KEYBOARD; 939 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 0) { 940 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 959 if ((event.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) == 0) { 960 event.setSource(InputDevice.SOURCE_TRACKBALL);
|
H A D | ActivityView.java | 30 import android.view.InputDevice; 142 if (event.isFromSource(InputDevice.SOURCE_CLASS_POINTER)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewTouchHandler.java | 20 import android.view.InputDevice; 335 if ((ev.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 336 InputDevice.SOURCE_CLASS_POINTER) {
|