/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#getSourceInfo
|
H A D | InputDevice.java | 44 public final class InputDevice implements Parcelable { class in inherits:Parcelable 315 public static final Parcelable.Creator<InputDevice> CREATOR = 316 new Parcelable.Creator<InputDevice>() { 317 public InputDevice createFromParcel(Parcel in) { 318 return new InputDevice(in); 320 public InputDevice[] newArray(int size) { 321 return new InputDevice[size]; 326 private InputDevice(int id, int generation, String name, String descriptor, method in class:InputDevice 340 private InputDevice(Parcel in) { method in class:InputDevice 366 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) {
|
H A D | IWindowManager.aidl | 38 import android.view.InputDevice;
|
/frameworks/base/core/jni/ |
H A D | 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/ |
H A D | IInputManager.aidl | 22 import android.view.InputDevice; 28 InputDevice getInputDevice(int deviceId);
|
H A D | InputManager.java | 36 import android.view.InputDevice; 64 private SparseArray<InputDevice> mInputDevices; 199 public InputDevice getInputDevice(int id) { 208 InputDevice inputDevice = mInputDevices.valueAt(index); 227 public InputDevice getInputDeviceByDescriptor(String descriptor) { 237 InputDevice inputDevice = mInputDevices.valueAt(i); 580 mIm.hasKeys(-1, InputDevice.SOURCE_ANY, keyCodes, ret); 645 mInputDevices = new SparseArray<InputDevice>(); 673 final InputDevice device = mInputDevices.valueAt(index); 743 * a fresh {@link InputDevice} objec [all...] |
/frameworks/base/cmds/input/src/com/android/commands/input/ |
H A D | 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]), 80 int inputSource = InputDevice.SOURCE_TOUCHSCREEN; 82 inputSource = InputDevice.SOURCE_TOUCHPAD; 107 sendTap(InputDevice.SOURCE_TRACKBALL, 0.0f, 0.0f); 111 sendMove(InputDevice.SOURCE_TRACKBALL, Float.parseFloat(args[2]), 164 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); 166 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); 190 * @param inputSource the InputDevice [all...] |
/frameworks/base/services/input/ |
H A D | 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 { class in namespace:android 510 InputDevice(InputReaderContext* context, int32_t id, int32_t generation, 512 ~InputDevice(); [all...] |
H A D | 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* devic 845 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, function in class:android::InputDevice [all...] |
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | InteractionController.java | 37 import android.view.InputDevice; 276 InputDevice.SOURCE_KEYBOARD, null); 280 InputDevice.SOURCE_KEYBOARD, null); 345 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 356 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 368 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 515 InputDevice.SOURCE_KEYBOARD, null); 519 InputDevice.SOURCE_KEYBOARD, null);
|
/frameworks/base/include/androidfw/ |
H A D | Keyboard.h | 21 #include <androidfw/InputDevice.h>
|
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | AccessibilityInputFilter.java | 22 import android.view.InputDevice; 105 if (event.getSource() != InputDevice.SOURCE_TOUCHSCREEN) {
|
/frameworks/base/services/java/com/android/server/input/ |
H A D | 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 getInputDevic [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | EventHole.java | 31 import android.view.InputDevice;
|
H A D | KeyButtonView.java | 34 import android.view.InputDevice; 282 InputDevice.SOURCE_KEYBOARD);
|
/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 40 import android.view.InputDevice; 876 if (source == InputDevice.SOURCE_UNKNOWN) { 877 source = InputDevice.SOURCE_KEYBOARD; 927 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) == 0) { 928 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 947 if ((event.getSource() & InputDevice.SOURCE_CLASS_TRACKBALL) == 0) { 948 event.setSource(InputDevice.SOURCE_TRACKBALL);
|
/frameworks/base/services/java/com/android/server/ |
H A D | WiredAccessoryManager.java | 32 import android.view.InputDevice; 111 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_HEADPHONE_INSERT) == 1) { 114 if (mInputManager.getSwitchState(-1, InputDevice.SOURCE_ANY, SW_MICROPHONE_INSERT) == 1) {
|
H A D | VibratorService.java | 40 import android.view.InputDevice; 376 InputDevice device = mIm.getInputDevice(ids[i]);
|
/frameworks/base/libs/androidfw/ |
H A D | InputDevice.cpp | 17 #define LOG_TAG "InputDevice" 23 #include <androidfw/InputDevice.h>
|
H A D | Android.mk | 32 InputDevice.cpp \
|
H A D | Keyboard.cpp | 27 #include <androidfw/InputDevice.h>
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PointerLocationView.java | 28 import android.view.InputDevice; 622 if ((source & InputDevice.SOURCE_CLASS_POINTER) != 0) { 624 } else if ((source & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) { 626 } else if ((source & InputDevice.SOURCE_CLASS_POSITION) != 0) { 708 int[] deviceIds = InputDevice.getDeviceIds(); 715 InputDevice device = mIm.getInputDevice(deviceId);
|
/frameworks/base/core/java/android/text/method/ |
H A D | BaseMovementMethod.java | 21 import android.view.InputDevice; 94 if ((event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) {
|