/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 | SearchEvent.java | 19 import android.view.InputDevice; 26 private InputDevice mInputDevice; 29 public SearchEvent(InputDevice inputDevice) { 34 * Returns the {@link InputDevice} that triggered the search. 35 * @return InputDevice the InputDevice that triggered the search. 37 public InputDevice getInputDevice() {
|
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 377 public static final Parcelable.Creator<InputDevice> CREATOR = 378 new Parcelable.Creator<InputDevice>() { 379 public InputDevice createFromParcel(Parcel in) { 380 return new InputDevice(in); 382 public InputDevice[] newArray(int size) { 383 return new InputDevice[size]; 388 private InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, method in class:InputDevice 409 private InputDevice(Parcel in) { method in class:InputDevice 441 public static InputDevice getDevic [all...] |
H A D | InputEventConsistencyVerifier.java | 180 } else if ((motionEvent.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { 269 if ((source & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) { 358 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) { 475 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) { 555 } else if ((source & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) { 604 } 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 | 37 import android.view.InputDevice; 65 private SparseArray<InputDevice> mInputDevices; 200 public InputDevice getInputDevice(int id) { 209 InputDevice inputDevice = mInputDevices.valueAt(index); 230 public InputDevice getInputDeviceByDescriptor(String descriptor) { 240 InputDevice inputDevice = mInputDevices.valueAt(i); 639 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); 705 mInputDevices = new SparseArray<InputDevice>(); 733 final InputDevice device = mInputDevices.valueAt(index); 803 * 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; 416 InputDevice* device, int32_t keyCode, int32_t scanCode) = 0; 475 virtual InputDevice* createDeviceLocked(int32_t deviceId, int32_t controllerNumber, 488 InputDevice* device, int32_t keyCode, int32_t scanCode); 516 KeyedVector<int32_t, InputDevice*> mDevices; 546 InputDevice* device, int32_t keyCode, int32_t scanCode); 555 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code); 577 class InputDevice { class in namespace:android 579 InputDevice(InputReaderContext* context, int32_t id, int32_t generation, int32_t 581 ~InputDevice(); [all...] |
H A D | InputReader.cpp | 385 InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes); 406 InputDevice* device = NULL; 433 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber, 435 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(), 511 InputDevice* device = mDevices.valueAt(deviceIndex); 522 InputDevice* device = mDevices.valueAt(i); 550 InputDevice* device = mDevices.valueAt(i); 561 InputDevice* device = mDevices.valueAt(i); 576 InputDevice* devic 920 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 | 36 import android.view.InputDevice; 169 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); 171 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 | 29 import android.view.InputDevice; 105 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { 108 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) { 111 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 | 28 import android.view.InputDevice; 202 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 | 43 import android.view.InputDevice; 889 if (source == InputDevice.SOURCE_UNKNOWN) { 890 source = InputDevice.SOURCE_KEYBOARD; 940 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 0) { 941 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 960 if ((event.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) == 0) { 961 event.setSource(InputDevice.SOURCE_TRACKBALL);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
H A D | TaskStackViewTouchHandler.java | 20 import android.view.InputDevice; 392 if ((ev.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 393 InputDevice.SOURCE_CLASS_POINTER) {
|