/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 25 InputDevice::InputDevice(InputReaderContext* context, int32_t id, int32_t generation, in InputDevice() function in android::InputDevice 39 InputDevice::~InputDevice() { in ~InputDevice() 47 bool InputDevice::isEnabled() { in isEnabled() 51 void InputDevice::setEnabled(bool enabled, nsecs_t when) { in setEnabled() 67 void InputDevice::dump(std::string& dump) { in dump() 113 void InputDevice::addMapper(InputMapper* mapper) { in addMapper() 117 void InputDevice::configure(nsecs_t when, const InputReaderConfiguration* config, in configure() 173 void InputDevice::reset(nsecs_t when) { in reset() 183 void InputDevice::process(const RawEvent* rawEvents, size_t count) { in process() 219 void InputDevice::timeoutExpired(nsecs_t when) { in timeoutExpired() [all …]
|
D | InputReader.cpp | 192 InputDevice* device = createDeviceLocked(deviceId, controllerNumber, identifier, classes); in addDeviceLocked() 213 InputDevice* device = nullptr; in removeDeviceLocked() 240 InputDevice* InputReader::createDeviceLocked(int32_t deviceId, int32_t controllerNumber, in createDeviceLocked() 243 InputDevice* device = new InputDevice(&mContext, deviceId, bumpGenerationLocked(), in createDeviceLocked() 324 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked() 335 InputDevice* device = mDevices.valueAt(i); in timeoutExpiredLocked() 363 InputDevice* device = mDevices.valueAt(i); in refreshConfigurationLocked() 374 InputDevice* device = mDevices.valueAt(i); in updateGlobalMetaStateLocked() 389 InputDevice* device = mDevices.valueAt(i); in getExternalStylusDevicesLocked() 400 InputDevice* device = mDevices.valueAt(i); in dispatchExternalStylusState() [all …]
|
/frameworks/base/cmds/input/src/com/android/commands/input/ |
D | Input.java | 24 import android.view.InputDevice; 51 put("keyboard", InputDevice.SOURCE_KEYBOARD); 52 put("dpad", InputDevice.SOURCE_DPAD); 53 put("gamepad", InputDevice.SOURCE_GAMEPAD); 54 put("touchscreen", InputDevice.SOURCE_TOUCHSCREEN); 55 put("mouse", InputDevice.SOURCE_MOUSE); 56 put("stylus", InputDevice.SOURCE_STYLUS); 57 put("trackball", InputDevice.SOURCE_TRACKBALL); 58 put("touchpad", InputDevice.SOURCE_TOUCHPAD); 59 put("touchnavigation", InputDevice.SOURCE_TOUCH_NAVIGATION); [all …]
|
/frameworks/base/core/java/android/view/ |
D | SearchEvent.java | 24 private InputDevice mInputDevice; 27 public SearchEvent(InputDevice inputDevice) { in SearchEvent() 35 public InputDevice getInputDevice() { in getInputDevice()
|
D | InputDevice.java | 49 public final class InputDevice implements Parcelable { class 400 public static final @android.annotation.NonNull Parcelable.Creator<InputDevice> CREATOR = 401 new Parcelable.Creator<InputDevice>() { 402 public InputDevice createFromParcel(Parcel in) { 403 return new InputDevice(in); 405 public InputDevice[] newArray(int size) { 406 return new InputDevice[size]; 412 private InputDevice(int id, int generation, int controllerNumber, String name, int vendorId, in InputDevice() method in InputDevice 433 private InputDevice(Parcel in) { in InputDevice() method in InputDevice 466 public static InputDevice getDevice(int id) { in getDevice()
|
D | InputEvent.java | 66 public final InputDevice getDevice() { in getDevice() 67 return InputDevice.getDevice(getDeviceId()); in getDevice()
|
/frameworks/native/services/inputflinger/reader/mapper/accumulator/ |
D | TouchButtonAccumulator.h | 24 class InputDevice; variable 31 void configure(InputDevice* device); 32 void reset(InputDevice* device);
|
D | CursorScrollAccumulator.h | 24 class InputDevice; variable 32 void configure(InputDevice* device); 33 void reset(InputDevice* device);
|
D | CursorButtonAccumulator.h | 24 class InputDevice; variable 31 void reset(InputDevice* device);
|
D | CursorScrollAccumulator.cpp | 28 void CursorScrollAccumulator::configure(InputDevice* device) { in configure() 33 void CursorScrollAccumulator::reset(InputDevice* device) { in reset()
|
D | SingleTouchMotionAccumulator.h | 24 class InputDevice; variable 33 void reset(InputDevice* device);
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputReader.h | 35 class InputDevice; variable 83 virtual InputDevice* createDeviceLocked(int32_t deviceId, int32_t controllerNumber, 96 virtual bool shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode, 129 KeyedVector<int32_t, InputDevice*> mDevices; 158 bool shouldDropVirtualKeyLocked(nsecs_t now, InputDevice* device, int32_t keyCode, 168 typedef int32_t (InputDevice::*GetStateFunc)(uint32_t sourceMask, int32_t code);
|
D | InputReaderContext.h | 27 class InputDevice; variable 45 virtual bool shouldDropVirtualKey(nsecs_t now, InputDevice* device, int32_t keyCode,
|
D | InputDevice.h | 37 class InputDevice { 39 InputDevice(InputReaderContext* context, int32_t id, int32_t generation, 42 ~InputDevice();
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 26 import android.view.InputDevice; 192 InputDevice.SOURCE_KEYBOARD); in sendKeyAndWaitForEvent() 196 InputDevice.SOURCE_KEYBOARD); in sendKeyAndWaitForEvent() 309 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 320 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 332 event.setSource(InputDevice.SOURCE_TOUCHSCREEN); 549 InputDevice.SOURCE_KEYBOARD); 553 InputDevice.SOURCE_KEYBOARD); 712 properties, pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); 718 pointerCoords, 0, 0, 1, 1, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityInputFilterTest.java | 42 import android.view.InputDevice; 215 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 216 send(downEvent(SECOND_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldDispatchToCorrespondingEventHandlers() 232 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers() 233 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_TOUCHSCREEN)); in testInputEvent_shouldClearEventsForAllEventHandlers() 238 send(downEvent(DEFAULT_DISPLAY, InputDevice.SOURCE_MOUSE)); in testInputEvent_shouldClearEventsForAllEventHandlers()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MotionEventTest.java | 57 0, 0, 0, 0, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, displayId, 0); in testObtainWithDisplayId() 62 0 /* deviceId */, 0 /* edgeFlags */, InputDevice.SOURCE_TOUCHSCREEN, displayId); in testObtainWithDisplayId() 77 0, 0, 0, 0, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, displayId, 0); in testObtainWithDisplayId()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | MultiTouchInputMapper.h | 73 void configure(InputDevice* device, size_t slotCount, bool usingSlotsProtocol); 74 void reset(InputDevice* device); 96 explicit MultiTouchInputMapper(InputDevice* device);
|
D | InputMapper.h | 42 explicit InputMapper(InputDevice* device); 45 inline InputDevice* getDevice() { return mDevice; } in getDevice() 79 InputDevice* mDevice;
|
D | ExternalStylusInputMapper.cpp | 26 ExternalStylusInputMapper::ExternalStylusInputMapper(InputDevice* device) : InputMapper(device) {} in ExternalStylusInputMapper() 53 InputDevice* device = getDevice(); in reset()
|
D | CursorInputMapper.h | 39 void reset(InputDevice* device); 56 explicit CursorInputMapper(InputDevice* device);
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputManager.java | 42 import android.view.InputDevice; 74 private SparseArray<InputDevice> mInputDevices; 250 public InputDevice getInputDevice(int id) { in getInputDevice() 259 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice() 280 public InputDevice getInputDeviceByDescriptor(String descriptor) { in getInputDeviceByDescriptor() 290 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor() 861 mIm.hasKeys(id, InputDevice.SOURCE_ANY, keyCodes, ret); in deviceHasKeys() 985 mInputDevices = new SparseArray<InputDevice>(); in populateInputDevicesLocked() 1013 final InputDevice device = mInputDevices.valueAt(index); in onInputDevicesChanged()
|
/frameworks/base/cmds/media/src/com/android/commands/media/ |
D | Media.java | 36 import android.view.InputDevice; 184 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch() 186 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD)); in runDispatch() 312 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode() 314 KeyCharacterMap.VIRTUAL_KEYBOARD, 0, 0, InputDevice.SOURCE_KEYBOARD); in dispatchKeyCode()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | PointerEventDispatcher.java | 20 import android.view.InputDevice; 44 && (event.getSource() & InputDevice.SOURCE_CLASS_POINTER) != 0) { in onInputEvent()
|
/frameworks/rs/tests/java_api/RsNbody/src/com/example/android/rs/nbody_gl/ |
D | BasicGLSurfaceView.java | 7 import android.view.InputDevice; 64 if (event.isFromSource(InputDevice.SOURCE_CLASS_JOYSTICK)) { in onGenericMotionEvent()
|