/ohos5.0/foundation/multimodalinput/input/test/facility/libinput_interface/src/ |
H A D | libinput_interface.cpp | 149 uint64_t libinput_event_touch_get_time_usec(struct libinput_event_touch *event) in libinput_event_touch_get_time_usec() 154 int32_t libinput_event_touch_get_seat_slot(struct libinput_event_touch *event) in libinput_event_touch_get_seat_slot() 159 double libinput_event_touch_get_pressure(struct libinput_event_touch* event) in libinput_event_touch_get_pressure() 174 int32_t libinput_event_touch_get_tool_type(struct libinput_event_touch *event) in libinput_event_touch_get_tool_type() 229 int32_t libinput_event_touchpad_get_seat_slot(struct libinput_event_touch *event) in libinput_event_touchpad_get_seat_slot() 234 double libinput_event_touchpad_get_x(struct libinput_event_touch *event) in libinput_event_touchpad_get_x() 239 double libinput_event_touchpad_get_y(struct libinput_event_touch *event) in libinput_event_touchpad_get_y() 244 double libinput_event_touchpad_get_pressure(struct libinput_event_touch *event) in libinput_event_touchpad_get_pressure() 259 int32_t libinput_event_touchpad_get_tool_type(struct libinput_event_touch *event) in libinput_event_touchpad_get_tool_type() 269 double libinput_event_touchpad_get_tool_x(struct libinput_event_touch *event) in libinput_event_touchpad_get_tool_x() [all …]
|
/ohos5.0/foundation/multimodalinput/input/test/facility/mock/include/ |
H A D | libinput_mock.h | 33 MOCK_METHOD(struct libinput_event_touch *, GetTouchEvent, (struct libinput_event *)); 46 MOCK_METHOD(uint64_t, TouchEventGetTime, (struct libinput_event_touch *)); 47 MOCK_METHOD(int32_t, TouchEventGetSeatSlot, (struct libinput_event_touch *)); 48 MOCK_METHOD(double, TouchEventGetPressure, (struct libinput_event_touch *)); 49 MOCK_METHOD(int32_t, TouchEventGetContactLongAxis, (struct libinput_event_touch *)); 50 MOCK_METHOD(int32_t, TouchEventGetContactShortAxis, (struct libinput_event_touch *)); 51 MOCK_METHOD(int32_t, TouchEventGetToolType, (struct libinput_event_touch *)); 63 MOCK_METHOD(struct libinput_event_touch *, GetTouchpadEvent, (struct libinput_event *)); 64 MOCK_METHOD(int32_t, TouchpadGetTool, (struct libinput_event_touch *));
|
H A D | input_windows_manager_mock.h | 99 …MOCK_METHOD(bool, TouchPointToDisplayPoint, (int32_t, struct libinput_event_touch*, EventTouch&, i…
|
/ohos5.0/foundation/multimodalinput/input/test/facility/libinput_interface/include/ |
H A D | libinput_interface.h | 64 struct libinput_event_touch { struct 105 virtual struct libinput_event_touch* GetTouchEvent(struct libinput_event *event) = 0; 118 virtual uint64_t TouchEventGetTime(struct libinput_event_touch *event) = 0; 119 virtual int32_t TouchEventGetSeatSlot(struct libinput_event_touch *event) = 0; 120 virtual double TouchEventGetPressure(struct libinput_event_touch* event) = 0; 121 virtual int32_t TouchEventGetContactLongAxis(struct libinput_event_touch *event) = 0; 122 virtual int32_t TouchEventGetContactShortAxis(struct libinput_event_touch *event) = 0; 123 virtual int32_t TouchEventGetToolType(struct libinput_event_touch *event) = 0; 135 virtual struct libinput_event_touch* GetTouchpadEvent(struct libinput_event *event) = 0; 136 virtual int32_t TouchpadGetTool(struct libinput_event_touch *event) = 0;
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/include/ |
H A D | touchpad_transform_processor.h | 50 int32_t HandleMulFingersTap(struct libinput_event_touch *event, int32_t type); 54 bool CanAddToPointerMaps(struct libinput_event_touch *event); 55 bool CanUnsetPointerItem(struct libinput_event_touch *event); 108 int32_t GetTouchPadToolType(struct libinput_event_touch *data, struct libinput_device *device);
|
H A D | touch_transform_processor.h | 41 int32_t GetTouchToolType(struct libinput_event_touch *data, struct libinput_device *device);
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/test/ |
H A D | mock.cpp | 35 double libinput_event_touch_get_x_transformed(struct libinput_event_touch *event, uint32_t width) in libinput_event_touch_get_x_transformed() 40 double libinput_event_touch_get_y_transformed(struct libinput_event_touch *event, uint32_t height) in libinput_event_touch_get_y_transformed() 45 double libinput_event_touch_get_tool_x_transformed(struct libinput_event_touch *event, uint32_t wid… in libinput_event_touch_get_tool_x_transformed() 50 double libinput_event_touch_get_tool_y_transformed(struct libinput_event_touch *event, uint32_t hei… in libinput_event_touch_get_tool_y_transformed() 55 double libinput_event_touch_get_tool_width_transformed(struct libinput_event_touch *event, uint32_t… in libinput_event_touch_get_tool_width_transformed() 60 double libinput_event_touch_get_tool_height_transformed(struct libinput_event_touch *event, uint32_… in libinput_event_touch_get_tool_height_transformed()
|
H A D | input_windows_manager_ex_test.cpp | 2012 libinput_event_touch touch {}; 2227 libinput_event_touch touch {};
|
/ohos5.0/foundation/multimodalinput/input/service/event_handler/test/ |
H A D | event_normalize_handler_ex_test.cpp | 77 libinput_event_touch touchevent {}; 241 libinput_event_touch touchevent {}; 268 libinput_event_touch touchevent {};
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/test/src/ |
H A D | touch_transform_processor_test_with_mock.cpp | 58 libinput_event_touch event {};
|
H A D | touchpad_transform_processor_test.cpp | 294 libinput_event_touch *event = nullptr;
|
/ohos5.0/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | touchpad_transform_processor.cpp | 253 struct libinput_event_touch *touchpad, struct libinput_device *device) in GetTouchPadToolType() 626 int32_t MultiFingersTapHandler::HandleMulFingersTap(struct libinput_event_touch *event, int32_t typ… in HandleMulFingersTap() 698 bool MultiFingersTapHandler::CanAddToPointerMaps(struct libinput_event_touch *event) in CanAddToPointerMaps() 711 bool MultiFingersTapHandler::CanUnsetPointerItem(struct libinput_event_touch *event) in CanUnsetPointerItem()
|
H A D | touch_transform_processor.cpp | 295 int32_t TouchTransformProcessor::GetTouchToolType(struct libinput_event_touch *data, in GetTouchToolType()
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/include/ |
H A D | input_windows_manager.h | 130 bool TouchPointToDisplayPoint(int32_t deviceId, struct libinput_event_touch* touch, 288 void GetPhysicalDisplayCoord(struct libinput_event_touch* touch,
|
H A D | i_input_windows_manager.h | 131 virtual bool TouchPointToDisplayPoint(int32_t deviceId, struct libinput_event_touch* touch,
|
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 1675 void InputWindowsManager::GetPhysicalDisplayCoord(struct libinput_event_touch* touch, in UpdateDisplayInfo() 1711 bool InputWindowsManager::TouchPointToDisplayPoint(int32_t deviceId, struct libinput_event_touch* t… in UpdateDisplayInfo()
|