/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | processing_pen_device.cpp | 94 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 D | input_parse.cpp | 146 GetJsonData(eventInfo, "pressure", event.pressure); in ParseEventsObj() 207 << ",pressure:" << pressure in ToString()
|
/foundation/multimodalinput/input/test/fuzztest/injectevent_fuzzer/ |
H A D | injectevent_fuzzer.cpp | 90 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 D | simulateinputevent_fuzzer.cpp | 94 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 D | tablet_tool_tranform_processor.cpp | 156 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 D | touch_transform_processor.cpp | 71 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 D | touchpad_transform_processor.cpp | 80 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 D | fingersense_manager.h | 30 float pressure { 0 };
|
/foundation/multimodalinput/input/tools/event_inject/include/ |
H A D | input_parse.h | 41 int32_t pressure { 0 };
|
H A D | processing_pen_device.h | 31 int32_t pressure { 0 };
|
/foundation/window/window_manager/wm/include/ |
H A D | gtx_input_event_sender.h | 37 double pressure = .0f; member
|
/foundation/barrierfree/accessibility/services/test/mock/multimodalinput/src/ |
H A D | mock_pointer_event.cpp | 121 void PointerEvent::PointerItem::SetPressure(double pressure) in SetPressure() argument 123 pressure_ = pressure; in SetPressure()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | event_convertor.h | 47 double pressure = 0.0; variable
|
/foundation/window/window_manager/wm/src/ |
H A D | gtx_input_event_sender.cpp | 62 dstTouchPoint.pressure = srcTouchPoint.GetPressure(); in SetTouchEvent()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_compatible.h | 113 that the pressure is not supported. */ 114 double pressure; member
|
H A D | event_converter.cpp | 87 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 D | struct_multimodal.h | 356 double pressure {}; 400 double pressure {};
|
/foundation/multimodalinput/input/test/facility/libinput_interface/include/ |
H A D | libinput_interface.h | 72 double pressure; member
|
/foundation/multimodalinput/input/frameworks/proxy/events/src/ |
H A D | pointer_event.cpp | 264 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 D | js_register_module.cpp | 476 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 D | node_gesture_modifier.cpp | 220 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 D | libinput_interface.cpp | 251 return (event != nullptr ? event->pressure : 0.0); in libinput_event_touchpad_get_pressure()
|
/foundation/arkui/ace_engine/interfaces/native/event/ |
H A D | ui_input_event.cpp | 764 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 D | pointer_event_test.cpp | 1508 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 D | pointer_event.h | 1043 * @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);
|