Home
last modified time | relevance | path

Searched refs:pressure (Results 1 - 25 of 27) sorted by relevance

12

/foundation/multimodalinput/input/tools/event_inject/src/
H A Dprocessing_pen_device.cpp94 if (penEvent.pressure > 0) { in SetPenSlidePadEvent()
96 SetAbsPressure(inputEventArray, 0, penEvent.pressure); in SetPenSlidePadEvent()
99 SetAbsPressure(inputEventArray, 0, penEvent.pressure); in SetPenSlidePadEvent()
103 } else if ((penEvent.pressure == 0) && (previousPressure > 0)) { in SetPenSlidePadEvent()
104 SetAbsPressure(inputEventArray, 0, penEvent.pressure); in SetPenSlidePadEvent()
107 MMI_HILOGW("Unknown pressure type"); in SetPenSlidePadEvent()
109 previousPressure = penEvent.pressure; in SetPenSlidePadEvent()
171 penEvent.pressure = event.pressure; in AnalysisPenApproachPadEvent()
191 penEvent.pressure in AnalysisPenSlidePadEvent()
[all...]
H A Dinput_parse.cpp146 GetJsonData(eventInfo, "pressure", event.pressure); in ParseEventsObj()
207 << ",pressure:" << pressure in ToString()
/foundation/multimodalinput/input/test/fuzztest/injectevent_fuzzer/
H A Dinjectevent_fuzzer.cpp90 int32_t pressure; in InjectTouchEvent() local
92 startPos += GetObject<int32_t>(pressure, data + startPos, size - startPos); in InjectTouchEvent()
93 downitem.SetPressure(pressure); in InjectTouchEvent()
109 upitem.SetPressure(pressure); in InjectTouchEvent()
135 int32_t pressure; in InjectMouseEvent() local
137 startPos += GetObject<int32_t>(pressure, data + startPos, size - startPos); in InjectMouseEvent()
138 downitem.SetPressure(pressure); in InjectMouseEvent()
154 upitem.SetPressure(pressure); in InjectMouseEvent()
/foundation/multimodalinput/input/test/fuzztest/simulateinputevent_fuzzer/
H A Dsimulateinputevent_fuzzer.cpp94 int32_t pressure; in SimulatePointerEvent() local
96 startPos += GetObject<int32_t>(pressure, data + startPos, size - startPos); in SimulatePointerEvent()
97 downitem.SetPressure(pressure); in SimulatePointerEvent()
113 upitem.SetPressure(pressure); in SimulatePointerEvent()
/foundation/multimodalinput/input/service/touch_event_normalize/src/
H A Dtablet_tool_tranform_processor.cpp156 double pressure = libinput_event_tablet_tool_get_pressure(event); in OnTipDown() local
180 item.SetPressure(pressure); in OnTipDown()
207 double pressure = libinput_event_tablet_tool_get_pressure(tabletEvent); in OnTipMotion() local
230 item.SetPressure(pressure); in OnTipMotion()
279 double pressure = libinput_event_tablet_tool_get_pressure(tabletEvent); in OnTipProximity() local
303 item.SetPressure(pressure); in OnTipProximity()
H A Dtouch_transform_processor.cpp71 double pressure = libinput_event_touch_get_pressure(touch); in OnEventTouchDown() local
82 item.SetPressure(pressure); in OnEventTouchDown()
140 rawTouch.pressure = pointerItem.GetPressure(); in TransformTouchProperties()
167 double pressure = libinput_event_touch_get_pressure(touch); in OnEventTouchMotion() local
175 item.SetPressure(pressure); in OnEventTouchMotion()
H A Dtouchpad_transform_processor.cpp80 double pressure = libinput_event_touchpad_get_pressure(touchpad); in OnEventTouchPadDown() local
95 item.SetPressure(pressure); in OnEventTouchPadDown()
135 double pressure = libinput_event_touchpad_get_pressure(touchpad); in OnEventTouchPadMotion() local
151 item.SetPressure(pressure); in OnEventTouchPadMotion()
/foundation/multimodalinput/input/service/fingersense_wrapper/include/
H A Dfingersense_manager.h30 float pressure { 0 };
/foundation/multimodalinput/input/tools/event_inject/include/
H A Dinput_parse.h41 int32_t pressure { 0 };
H A Dprocessing_pen_device.h31 int32_t pressure { 0 };
/foundation/window/window_manager/wm/include/
H A Dgtx_input_event_sender.h37 double pressure = .0f; member
/foundation/barrierfree/accessibility/services/test/mock/multimodalinput/src/
H A Dmock_pointer_event.cpp121 void PointerEvent::PointerItem::SetPressure(double pressure) in SetPressure() argument
123 pressure_ = pressure; in SetPressure()
/foundation/arkui/ace_engine/frameworks/core/event/
H A Devent_convertor.h47 double pressure = 0.0; variable
/foundation/window/window_manager/wm/src/
H A Dgtx_input_event_sender.cpp62 dstTouchPoint.pressure = srcTouchPoint.GetPressure(); in SetTouchEvent()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dnative_compatible.h113 that the pressure is not supported. */
114 double pressure; member
H A Devent_converter.cpp87 event.actionTouch.pressure = origin.actionTouchPoint.pressure; in ConvertToTouchEvent()
112 (*points)[index].pressure = touchPoints[index].pressure; in ConvertToTouchEvent()
/foundation/multimodalinput/input/util/common/include/
H A Dstruct_multimodal.h356 double pressure {};
400 double pressure {};
/foundation/multimodalinput/input/test/facility/libinput_interface/include/
H A Dlibinput_interface.h72 double pressure; member
/foundation/multimodalinput/input/frameworks/proxy/events/src/
H A Dpointer_event.cpp264 void PointerEvent::PointerItem::SetPressure(double pressure) in SetPressure() argument
266 if (pressure < 0.0) { in SetPressure()
269 pressure_ = pressure >= MAX_PRESSURE ? MAX_PRESSURE : pressure; in SetPressure()
271 pressure_ = pressure; in SetPressure()
/foundation/multimodalinput/input/frameworks/napi/input_event_client/src/
H A Djs_register_module.cpp476 double pressure; in HandleTouchPropertyInt32() local
477 if (GetNamedPropertyDouble(env, touchProperty, "pressure", pressure) != RET_OK) { in HandleTouchPropertyInt32()
478 MMI_HILOGE("Get pressure failed"); in HandleTouchPropertyInt32()
484 item.SetPressure(pressure); in HandleTouchPropertyInt32()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_gesture_modifier.cpp220 points[i].pressure = touchPoint.force; in ConvertTouchPointsToPoints()
238 touchEvent.actionTouchPoint.pressure = tempTouchEvent.force; in ConvertIMMEventToTouchEvent()
291 rawInputEvent.actionTouchPoint.pressure = info->GetForce();
384 mouseEvent.actionTouchPoint.pressure = 0.0f; in ConvertIMMEventToMouseEvent()
/foundation/multimodalinput/input/test/facility/libinput_interface/src/
H A Dlibinput_interface.cpp251 return (event != nullptr ? event->pressure : 0.0); in libinput_event_touchpad_get_pressure()
/foundation/arkui/ace_engine/interfaces/native/event/
H A Dui_input_event.cpp764 return touchEvent->touchPointes[touchEvent->touchPointSize-1].pressure; in OH_ArkUI_PointerEvent_GetPressure()
1057 return touchEvent->historyEvents[historyIndex].touchPointes[pointerIndex].pressure; in OH_ArkUI_PointerEvent_GetHistoryPressure()
/foundation/multimodalinput/input/frameworks/proxy/events/test/
H A Dpointer_event_test.cpp1508 double pressure = -1.0; in HWTEST_F() local
1510 ASSERT_NO_FATAL_FAILURE(item.SetPressure(pressure)); in HWTEST_F()
1511 pressure = 1.0; in HWTEST_F()
1512 ASSERT_NO_FATAL_FAILURE(item.SetPressure(pressure)); in HWTEST_F()
/foundation/multimodalinput/input/interfaces/native/innerkits/event/include/
H A Dpointer_event.h1043 * @brief Obtains the pressure in this event.
1044 * @return Returns the pressure.
1050 * @brief Sets the pressure for this event.
1051 * @param pressure Indicates the pressure to set.
1055 void SetPressure(double pressure);

Completed in 20 milliseconds

12