Home
last modified time | relevance | path

Searched refs:tiltY (Results 1 - 25 of 53) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/gestures/
H A Draw_recognizer.cpp125 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 Dpress_recognizer.cpp38 if (trackPoint_.tiltY.has_value()) { in OnAccepted()
39 info.SetTiltY(trackPoint_.tiltY.value()); in OnAccepted()
H A Dclick_recognizer.cpp85 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 Drotation_recognizer.cpp179 if (touchPoint.tiltY.has_value()) { in SendCallbackMsg()
180 info.SetTiltY(touchPoint.tiltY.value()); in SendCallbackMsg()
H A Dpinch_recognizer.cpp265 if (lastTouchEvent_.tiltY.has_value()) { in SendCallbackMsg()
266 info.SetTiltY(lastTouchEvent_.tiltY.value()); in SendCallbackMsg()
/foundation/multimodalinput/input/tools/event_inject/src/
H A Dprocessing_pen_device.cpp64 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 Dinput_parse.cpp145 GetJsonData(eventInfo, "tiltY", event.tiltY); in ParseEventsObj()
206 << ",tiltY:" << tiltY in ToString()
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/
H A Dtouch_event.cpp130 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 Drender_touch_listener.cpp155 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 Dtablet_tool_tranform_processor.cpp155 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 Dtouch_event.cpp90 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 Dmouse_event.cpp50 if (event.tiltY.has_value()) { in HandlePenHoverEvent()
51 hoverInfo.SetTiltY(event.tiltY.value_or(0.0f)); in HandlePenHoverEvent()
H A Dace_events.h148 void SetTiltY(float tiltY) in SetTiltY() argument
150 tiltY_ = tiltY; in SetTiltY()
H A Dtouch_event.h49 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 Dpointer_event.h55 std::optional<float> tiltY; member
77 std::optional<float> tiltY; member in OHOS::MMI::PointerEvent
/foundation/multimodalinput/input/tools/event_inject/include/
H A Dinput_parse.h40 int32_t tiltY { 0 };
H A Dprocessing_pen_device.h30 int32_t tiltY { 0 };
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/
H A Dclick_recognizer.cpp138 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 Dswipe_recognizer.cpp387 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 Drotation_recognizer.cpp350 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 Dlong_press_recognizer.cpp358 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 Dpinch_recognizer.cpp413 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 Dnative_interface_xcomponent.cpp83 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 Dnative_interface_xcomponent_impl.h38 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 Dnative_compatible.h126 double tiltY; member

Completed in 16 milliseconds

123