Home
last modified time | relevance | path

Searched refs:pointIndex (Results 1 - 9 of 9) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
H A Dnative_interface_xcomponent_impl.h225 void SetToolType(size_t pointIndex, OH_NativeXComponent_TouchPointToolType toolType) in SetToolType() argument
227 if (pointIndex >= OH_MAX_TOUCH_POINTS_NUMBER || pointIndex >= touchPoints_.size()) { in SetToolType()
230 touchPoints_[pointIndex].sourceToolType = toolType; in SetToolType()
233 OH_NativeXComponent_TouchPointToolType GetToolType(size_t pointIndex) const in GetToolType()
235 if (pointIndex >= OH_MAX_TOUCH_POINTS_NUMBER || pointIndex >= touchPoints_.size()) { in GetToolType()
238 return touchPoints_[pointIndex].sourceToolType; in GetToolType()
241 float GetTiltX(size_t pointIndex) const in GetTiltX()
243 if (pointIndex > in GetTiltX()
[all...]
H A Dnative_interface_xcomponent_impl.cpp112 int32_t OH_NativeXComponent::GetToolType(size_t pointIndex, OH_NativeXComponent_TouchPointToolType* toolType) in GetToolType() argument
117 (*toolType) = xcomponentImpl_->GetToolType(pointIndex); in GetToolType()
121 int32_t OH_NativeXComponent::GetTiltX(size_t pointIndex, float* tiltX) in GetTiltX() argument
126 (*tiltX) = xcomponentImpl_->GetTiltX(pointIndex); in GetTiltX()
130 int32_t OH_NativeXComponent::GetTiltY(size_t pointIndex, float* tiltY) in GetTiltY() argument
135 (*tiltY) = xcomponentImpl_->GetTiltY(pointIndex); in GetTiltY()
139 int32_t OH_NativeXComponent::GetWindowX(size_t pointIndex, float* windowX) in GetWindowX() argument
144 (*windowX) = xcomponentImpl_->GetWindowX(pointIndex); in GetWindowX()
148 int32_t OH_NativeXComponent::GetWindowY(size_t pointIndex, float* windowY) in GetWindowY() argument
153 (*windowY) = xcomponentImpl_->GetWindowY(pointIndex); in GetWindowY()
157 GetDisplayX(size_t pointIndex, float* displayX) GetDisplayX() argument
166 GetDisplayY(size_t pointIndex, float* displayY) GetDisplayY() argument
[all...]
/foundation/arkui/ace_engine/interfaces/native/
H A Dnative_interface_xcomponent.cpp67 OH_NativeXComponent* component, uint32_t pointIndex, OH_NativeXComponent_TouchPointToolType* toolType) in OH_NativeXComponent_GetTouchPointToolType()
72 return component->GetToolType(pointIndex, toolType); in OH_NativeXComponent_GetTouchPointToolType()
75 int32_t OH_NativeXComponent_GetTouchPointTiltX(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltX) in OH_NativeXComponent_GetTouchPointTiltX() argument
80 return component->GetTiltX(pointIndex, tiltX); in OH_NativeXComponent_GetTouchPointTiltX()
83 int32_t OH_NativeXComponent_GetTouchPointTiltY(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltY) in OH_NativeXComponent_GetTouchPointTiltY() argument
88 return component->GetTiltY(pointIndex, tiltY); in OH_NativeXComponent_GetTouchPointTiltY()
91 int32_t OH_NativeXComponent_GetTouchPointWindowX(OH_NativeXComponent* component, uint32_t pointIndex, float* windowX) in OH_NativeXComponent_GetTouchPointWindowX() argument
96 return component->GetWindowX(pointIndex, windowX); in OH_NativeXComponent_GetTouchPointWindowX()
99 int32_t OH_NativeXComponent_GetTouchPointWindowY(OH_NativeXComponent* component, uint32_t pointIndex, float* windowY) in OH_NativeXComponent_GetTouchPointWindowY() argument
104 return component->GetWindowY(pointIndex, window in OH_NativeXComponent_GetTouchPointWindowY()
66 OH_NativeXComponent_GetTouchPointToolType( OH_NativeXComponent* component, uint32_t pointIndex, OH_NativeXComponent_TouchPointToolType* toolType) OH_NativeXComponent_GetTouchPointToolType() argument
107 OH_NativeXComponent_GetTouchPointDisplayX(OH_NativeXComponent* component, uint32_t pointIndex, float* displayX) OH_NativeXComponent_GetTouchPointDisplayX() argument
115 OH_NativeXComponent_GetTouchPointDisplayY(OH_NativeXComponent* component, uint32_t pointIndex, float* displayY) OH_NativeXComponent_GetTouchPointDisplayY() argument
[all...]
H A Dnative_interface_xcomponent.h408 * @param pointIndex Indicates the pointer index in the touchPoints.
415 OH_NativeXComponent* component, uint32_t pointIndex, OH_NativeXComponent_TouchPointToolType* toolType);
421 * @param pointIndex Indicates the pointer index in the touchPoints.
427 int32_t OH_NativeXComponent_GetTouchPointTiltX(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltX);
433 * @param pointIndex Indicates the pointer index in the touchPoints.
439 int32_t OH_NativeXComponent_GetTouchPointTiltY(OH_NativeXComponent* component, uint32_t pointIndex, float* tiltY);
446 * @param pointIndex Indicates the pointer index in the touchPoints.
456 int32_t OH_NativeXComponent_GetTouchPointWindowX(OH_NativeXComponent* component, uint32_t pointIndex, float* windowX);
463 * @param pointIndex Indicates the pointer index in the touchPoints.
473 int32_t OH_NativeXComponent_GetTouchPointWindowY(OH_NativeXComponent* component, uint32_t pointIndex, floa
[all...]
/foundation/window/window_manager/wm/src/
H A Dgtx_input_event_sender.cpp48 std::vector<int32_t> pointIndex = pointerEvent->GetPointerIds(); in SetTouchEvent() local
49 mEvent.numPoints = std::min(pointIndex.size(), static_cast<size_t>(GTX_MAX_TOUCH_POINTS_NUMBER)); in SetTouchEvent()
54 pointerEvent->GetPointerItem(pointIndex[i], srcTouchPoint); in SetTouchEvent()
56 dstTouchPoint.id = pointIndex[i]; in SetTouchEvent()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_pattern.h244 std::string GetPointAccessibilityTxt(uint32_t pointIndex, float stepRatio, float min, float max);
H A Dslider_pattern.cpp278 std::string SliderPattern::GetPointAccessibilityTxt(uint32_t pointIndex, float step, float min, float max) in GetPointAccessibilityTxt() argument
280 auto pointValue = min + pointIndex * step; in GetPointAccessibilityTxt()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_chart.h593 void RefreshInvalidateRect(uint16_t pointIndex, const PointStyle& style);
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_chart.cpp245 void UIChartDataSerial::RefreshInvalidateRect(uint16_t pointIndex, const PointStyle& style) in RefreshInvalidateRect() argument
248 if (GetPoint(pointIndex, point)) { in RefreshInvalidateRect()

Completed in 12 milliseconds