/foundation/arkui/ace_engine/frameworks/core/gestures/ |
H A D | raw_recognizer.cpp | 125 if (point.tiltY.has_value()) { in CreateTouchEventInfo() 126 changedTouchLocationInfo.SetTiltY(point.tiltY.value()); in CreateTouchEventInfo() 140 if (touchPoint.tiltY.has_value()) { in CreateTouchEventInfo() 141 touchLocationInfo.SetTiltY(touchPoint.tiltY.value()); in CreateTouchEventInfo() 152 if (point.tiltY.has_value()) { in CreateTouchEventInfo() 153 info.SetTiltY(point.tiltY.value()); in CreateTouchEventInfo() 168 if (lastPoint_.tiltY.has_value()) { in CreateTouchEventInfo() 169 lastTouchLocationInfo.SetTiltY(lastPoint_.tiltY.value()); in CreateTouchEventInfo() 178 if (point.tiltY.has_value()) { in CreateTouchEventInfo() 179 info.SetTiltY(point.tiltY in CreateTouchEventInfo() [all...] |
H A D | press_recognizer.cpp | 38 if (trackPoint_.tiltY.has_value()) { in OnAccepted() 39 info.SetTiltY(trackPoint_.tiltY.value()); in OnAccepted()
|
H A D | click_recognizer.cpp | 85 if (touchPoint.tiltY.has_value()) { in OnAccepted() 86 info.SetTiltY(touchPoint.tiltY.value()); in OnAccepted() 310 if (touchPoint.tiltY.has_value()) { in SendCallbackMsg() 311 info.SetTiltY(touchPoint.tiltY.value()); in SendCallbackMsg()
|
H A D | rotation_recognizer.cpp | 179 if (touchPoint.tiltY.has_value()) { in SendCallbackMsg() 180 info.SetTiltY(touchPoint.tiltY.value()); in SendCallbackMsg()
|
H A D | pinch_recognizer.cpp | 265 if (lastTouchEvent_.tiltY.has_value()) { in SendCallbackMsg() 266 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg()
|
/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | processing_pen_device.cpp | 64 SetAbsTiltY(inputEventArray, 0, penEvent.tiltY); in SetPenApproachPadEvent() 112 SetAbsTiltY(inputEventArray, 0, penEvent.tiltY); in SetPenSlidePadEvent() 170 penEvent.tiltY = event.tiltY; in AnalysisPenApproachPadEvent() 188 penEvent.tiltY = event.tiltY; in AnalysisPenSlidePadEvent() 210 penEvent.tiltY = event.tiltY; in AnalysisPenLeavePadEvent()
|
H A D | input_parse.cpp | 145 GetJsonData(eventInfo, "tiltY", event.tiltY); in ParseEventsObj() 206 << ",tiltY:" << tiltY in ToString()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | touch_event.cpp | 130 if (lastPoint.tiltY.has_value()) { in CreateTouchEventInfo() 131 eventInfo.SetTiltY(lastPoint.tiltY.value()); in CreateTouchEventInfo() 158 if (lastPoint.tiltY.has_value()) { in CreateChangedTouchInfo() 159 changedInfo.SetTiltY(lastPoint.tiltY.value()); in CreateChangedTouchInfo() 185 if (pointItem.tiltY.has_value()) { in CreateTouchItemInfo() 186 info.SetTiltY(pointItem.tiltY.value()); in CreateTouchItemInfo() 212 if (eventItem.tiltY.has_value()) { in CreateHistoryTouchItemInfo() 213 historyInfo.SetTiltY(eventItem.tiltY.value()); in CreateHistoryTouchItemInfo()
|
/foundation/arkui/ace_engine/frameworks/core/components/touch_listener/ |
H A D | render_touch_listener.cpp | 155 if (changedPoint.tiltY.has_value()) { in TriggerTouchCallBack() 156 changedInfo.SetTiltY(changedPoint.tiltY.value()); in TriggerTouchCallBack() 178 if (pointPair.second.tiltY.has_value()) { in TriggerTouchCallBack() 179 info.SetTiltY(pointPair.second.tiltY.value()); in TriggerTouchCallBack() 189 if (changedPoint.tiltY.has_value()) { in TriggerTouchCallBack() 190 event->SetTiltY(changedPoint.tiltY.value()); in TriggerTouchCallBack()
|
/foundation/multimodalinput/input/service/touch_event_normalize/src/ |
H A D | tablet_tool_tranform_processor.cpp | 155 double tiltY = libinput_event_tablet_tool_get_tilt_y(event); in OnTipDown() local 178 item.SetTiltY(tiltY); in OnTipDown() 206 double tiltY = libinput_event_tablet_tool_get_tilt_y(tabletEvent); in OnTipMotion() local 229 item.SetTiltY(tiltY); in OnTipMotion() 278 double tiltY = libinput_event_tablet_tool_get_tilt_y(tabletEvent); in OnTipProximity() local 302 item.SetTiltY(tiltY); in OnTipProximity()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.cpp | 90 TouchEvent& TouchEvent::SetTiltY(std::optional<float> tiltY) in SetTiltY() argument 92 this->tiltY = tiltY; in SetTiltY() 193 event.tiltY = tiltY; in CloneWith() 228 int32_t hasTiltY = tiltY.has_value() ? 1 : 0; in ToJsonValue() 230 if (tiltY.has_value()) { in ToJsonValue() 231 json->Put("ty", tiltY.value()); in ToJsonValue() 256 tiltY = json->GetDouble("ty"); in FromJson() 744 touchEvent.tiltY in ConvertToTouchEvent() [all...] |
H A D | mouse_event.cpp | 50 if (event.tiltY.has_value()) { in HandlePenHoverEvent() 51 hoverInfo.SetTiltY(event.tiltY.value_or(0.0f)); in HandlePenHoverEvent()
|
H A D | ace_events.h | 148 void SetTiltY(float tiltY) in SetTiltY() argument 150 tiltY_ = tiltY; in SetTiltY()
|
H A D | touch_event.h | 49 std::optional<float> tiltY; member 74 std::optional<float> tiltY; member 113 TouchEvent& SetTiltY(std::optional<float> tiltY);
|
/foundation/arkui/ace_engine/adapter/preview/external/multimodalinput/ |
H A D | pointer_event.h | 55 std::optional<float> tiltY; member 77 std::optional<float> tiltY; member in OHOS::MMI::PointerEvent
|
/foundation/multimodalinput/input/tools/event_inject/include/ |
H A D | input_parse.h | 40 int32_t tiltY { 0 };
|
H A D | processing_pen_device.h | 30 int32_t tiltY { 0 };
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | click_recognizer.cpp | 138 if (touchPoint.tiltY.has_value()) { in GetClickInfo() 139 info.SetTiltY(touchPoint.tiltY.value()); in GetClickInfo() 467 if (touchPoint.tiltY.has_value()) { in GetGestureEventInfo() 468 info.SetTiltY(touchPoint.tiltY.value()); in GetGestureEventInfo() 520 if (touchPoint.tiltY.has_value()) { in TriggerGestureJudgeCallback() 521 info->SetTiltY(touchPoint.tiltY.value()); in TriggerGestureJudgeCallback()
|
H A D | swipe_recognizer.cpp | 387 if (lastTouchEvent_.tiltY.has_value()) { in SendCallbackMsg() 388 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg() 438 if (lastTouchEvent_.tiltY.has_value()) { in TriggerGestureJudgeCallback() 439 info->SetTiltY(lastTouchEvent_.tiltY.value()); in TriggerGestureJudgeCallback()
|
H A D | rotation_recognizer.cpp | 350 if (touchPoint.tiltY.has_value()) { in SendCallbackMsg() 351 info.SetTiltY(touchPoint.tiltY.value()); in SendCallbackMsg() 398 if (touchPoint.tiltY.has_value()) { in TriggerGestureJudgeCallback() 399 info->SetTiltY(touchPoint.tiltY.value()); in TriggerGestureJudgeCallback()
|
H A D | long_press_recognizer.cpp | 358 if (lastTouchEvent_.tiltY.has_value()) { in SendCallbackMsg() 359 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg() 470 if (trackPoint.tiltY.has_value()) { in TriggerGestureJudgeCallback() 471 info->SetTiltY(trackPoint.tiltY.value()); in TriggerGestureJudgeCallback()
|
H A D | pinch_recognizer.cpp | 413 if (lastTouchEvent_.tiltY.has_value()) { in SendCallbackMsg() 414 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg() 458 if (lastTouchEvent_.tiltY.has_value()) { in TriggerGestureJudgeCallback() 459 info->SetTiltY(lastTouchEvent_.tiltY.value()); in TriggerGestureJudgeCallback()
|
/foundation/arkui/ace_engine/interfaces/native/ |
H A D | native_interface_xcomponent.cpp | 83 int32_t OH_NativeXComponent_GetTouchPointTiltY(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltY) in OH_NativeXComponent_GetTouchPointTiltY() argument 85 if ((component == nullptr) || (tiltY == nullptr)) { in OH_NativeXComponent_GetTouchPointTiltY() 88 return component->GetTiltY(pointIndex, tiltY); in OH_NativeXComponent_GetTouchPointTiltY()
|
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | native_interface_xcomponent_impl.h | 38 float tiltY = 0.0f; member 254 return touchPoints_[pointIndex].tiltY; in GetTiltY() 486 int32_t GetTiltY(size_t pointIndex, float* tiltY);
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | native_compatible.h | 126 double tiltY; member
|