/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | raw_recognizer.cpp | 122 if (point.tiltX.has_value()) { in CreateTouchEventInfo() 123 changedTouchLocationInfo.SetTiltX(point.tiltX.value()); in CreateTouchEventInfo() 137 if (touchPoint.tiltX.has_value()) { in CreateTouchEventInfo() 138 touchLocationInfo.SetTiltX(touchPoint.tiltX.value()); in CreateTouchEventInfo() 149 if (point.tiltX.has_value()) { in CreateTouchEventInfo() 150 info.SetTiltX(point.tiltX.value()); in CreateTouchEventInfo() 165 if (lastPoint_.tiltX.has_value()) { in CreateTouchEventInfo() 166 lastTouchLocationInfo.SetTiltX(lastPoint_.tiltX.value()); in CreateTouchEventInfo() 175 if (point.tiltX.has_value()) { in CreateTouchEventInfo() 176 info.SetTiltX(point.tiltX in CreateTouchEventInfo() [all...] |
H A D | press_recognizer.cpp | 35 if (trackPoint_.tiltX.has_value()) { in OnAccepted() 36 info.SetTiltX(trackPoint_.tiltX.value()); in OnAccepted()
|
H A D | click_recognizer.cpp | 82 if (touchPoint.tiltX.has_value()) { in OnAccepted() 83 info.SetTiltX(touchPoint.tiltX.value()); in OnAccepted() 307 if (touchPoint.tiltX.has_value()) { in SendCallbackMsg() 308 info.SetTiltX(touchPoint.tiltX.value()); in SendCallbackMsg()
|
H A D | rotation_recognizer.cpp | 176 if (touchPoint.tiltX.has_value()) { in SendCallbackMsg() 177 info.SetTiltX(touchPoint.tiltX.value()); in SendCallbackMsg()
|
H A D | pinch_recognizer.cpp | 262 if (lastTouchEvent_.tiltX.has_value()) { in SendCallbackMsg() 263 info.SetTiltX(lastTouchEvent_.tiltX.value()); in SendCallbackMsg()
|
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | processing_pen_device.cpp | 63 SetAbsTiltX(inputEventArray, 0, penEvent.tiltX); in SetPenApproachPadEvent() 111 SetAbsTiltX(inputEventArray, 0, penEvent.tiltX); in SetPenSlidePadEvent() 169 penEvent.tiltX = event.tiltX; in AnalysisPenApproachPadEvent() 189 penEvent.tiltX = event.tiltX; in AnalysisPenSlidePadEvent() 212 penEvent.tiltX = event.tiltX; in AnalysisPenLeavePadEvent()
|
H A D | input_parse.cpp | 144 GetJsonData(eventInfo, "tiltX", event.tiltX); in ParseEventsObj() 205 << ",tiltX:" << tiltX in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | touch_event.cpp | 127 if (lastPoint.tiltX.has_value()) { in CreateTouchEventInfo() 128 eventInfo.SetTiltX(lastPoint.tiltX.value()); in CreateTouchEventInfo() 155 if (lastPoint.tiltX.has_value()) { in CreateChangedTouchInfo() 156 changedInfo.SetTiltX(lastPoint.tiltX.value()); in CreateChangedTouchInfo() 182 if (pointItem.tiltX.has_value()) { in CreateTouchItemInfo() 183 info.SetTiltX(pointItem.tiltX.value()); in CreateTouchItemInfo() 209 if (eventItem.tiltX.has_value()) { in CreateHistoryTouchItemInfo() 210 historyInfo.SetTiltX(eventItem.tiltX.value()); in CreateHistoryTouchItemInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | render_touch_listener.cpp | 152 if (changedPoint.tiltX.has_value()) { in TriggerTouchCallBack() 153 changedInfo.SetTiltX(changedPoint.tiltX.value()); in TriggerTouchCallBack() 175 if (pointPair.second.tiltX.has_value()) { in TriggerTouchCallBack() 176 info.SetTiltX(pointPair.second.tiltX.value()); in TriggerTouchCallBack() 186 if (changedPoint.tiltX.has_value()) { in TriggerTouchCallBack() 187 event->SetTiltX(changedPoint.tiltX.value()); in TriggerTouchCallBack()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | tablet_tool_tranform_processor.cpp | 154 double tiltX = libinput_event_tablet_tool_get_tilt_x(event); in OnTipDown() local 177 item.SetTiltX(tiltX); in OnTipDown() 205 double tiltX = libinput_event_tablet_tool_get_tilt_x(tabletEvent); in OnTipMotion() local 228 item.SetTiltX(tiltX); in OnTipMotion() 277 double tiltX = libinput_event_tablet_tool_get_tilt_x(tabletEvent); in OnTipProximity() local 301 item.SetTiltX(tiltX); in OnTipProximity()
|
/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | pointer_event.h | 54 std::optional<float> tiltX; member 76 std::optional<float> tiltX; member in OHOS::MMI::PointerEvent
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | mouse_event.cpp | 47 if (event.tiltX.has_value()) { in HandlePenHoverEvent() 48 hoverInfo.SetTiltX(event.tiltX.value_or(0.0f)); in HandlePenHoverEvent()
|
H A D | touch_event.cpp | 84 TouchEvent& TouchEvent::SetTiltX(std::optional<float> tiltX) in SetTiltX() argument 86 this->tiltX = tiltX; in SetTiltX() 192 event.tiltX = tiltX; in CloneWith() 223 int32_t hasTiltX = tiltX.has_value() ? 1 : 0; in ToJsonValue() 226 json->Put("tx", tiltX.value()); in ToJsonValue() 253 tiltX = json->GetDouble("tx"); in FromJson() 743 touchEvent.tiltX = changedTouches_.front().GetTiltX(); in ConvertToTouchEvent()
|
H A D | ace_events.h | 139 void SetTiltX(float tiltX) in SetTiltX() argument 141 tiltX_ = tiltX; in SetTiltX()
|
H A D | touch_event.h | 48 std::optional<float> tiltX; member 73 std::optional<float> tiltX; member 112 TouchEvent& SetTiltX(std::optional<float> tiltX);
|
/foundation/multimodalinput/input/tools/event_inject/include/ |
H A D | input_parse.h | 39 int32_t tiltX { 0 };
|
H A D | processing_pen_device.h | 29 int32_t tiltX { 0 };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | click_recognizer.cpp | 135 if (touchPoint.tiltX.has_value()) { in GetClickInfo() 136 info.SetTiltX(touchPoint.tiltX.value()); in GetClickInfo() 464 if (touchPoint.tiltX.has_value()) { in GetGestureEventInfo() 465 info.SetTiltX(touchPoint.tiltX.value()); in GetGestureEventInfo() 517 if (touchPoint.tiltX.has_value()) { in TriggerGestureJudgeCallback() 518 info->SetTiltX(touchPoint.tiltX.value()); in TriggerGestureJudgeCallback()
|
H A D | swipe_recognizer.cpp | 384 if (lastTouchEvent_.tiltX.has_value()) { in SendCallbackMsg() 385 info.SetTiltX(lastTouchEvent_.tiltX.value()); in SendCallbackMsg() 435 if (lastTouchEvent_.tiltX.has_value()) { in TriggerGestureJudgeCallback() 436 info->SetTiltX(lastTouchEvent_.tiltX.value()); in TriggerGestureJudgeCallback()
|
H A D | rotation_recognizer.cpp | 347 if (touchPoint.tiltX.has_value()) { in SendCallbackMsg() 348 info.SetTiltX(touchPoint.tiltX.value()); in SendCallbackMsg() 395 if (touchPoint.tiltX.has_value()) { in TriggerGestureJudgeCallback() 396 info->SetTiltX(touchPoint.tiltX.value()); in TriggerGestureJudgeCallback()
|
H A D | long_press_recognizer.cpp | 355 if (lastTouchEvent_.tiltX.has_value()) { in SendCallbackMsg() 356 info.SetTiltX(lastTouchEvent_.tiltX.value()); in SendCallbackMsg() 467 if (trackPoint.tiltX.has_value()) { in TriggerGestureJudgeCallback() 468 info->SetTiltX(trackPoint.tiltX.value()); in TriggerGestureJudgeCallback()
|
H A D | pinch_recognizer.cpp | 410 if (lastTouchEvent_.tiltX.has_value()) { in SendCallbackMsg() 411 info.SetTiltX(lastTouchEvent_.tiltX.value()); in SendCallbackMsg() 455 if (lastTouchEvent_.tiltX.has_value()) { in TriggerGestureJudgeCallback() 456 info->SetTiltX(lastTouchEvent_.tiltX.value()); in TriggerGestureJudgeCallback()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_xcomponent.cpp | 75 int32_t OH_NativeXComponent_GetTouchPointTiltX(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltX) in OH_NativeXComponent_GetTouchPointTiltX() argument 77 if ((component == nullptr) || (tiltX == nullptr)) { in OH_NativeXComponent_GetTouchPointTiltX() 80 return component->GetTiltX(pointIndex, tiltX); in OH_NativeXComponent_GetTouchPointTiltX()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | native_interface_xcomponent_impl.h | 37 float tiltX = 0.0f; member 246 return touchPoints_[pointIndex].tiltX; in GetTiltX() 485 int32_t GetTiltX(size_t pointIndex, float* tiltX);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_compatible.h | 123 double tiltX; member
|