Searched refs:prePoint (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/base/powermgr/display_manager/brightness_manager/src/ |
H A D | calculation_curve.cpp | 67 …for (auto point = linePointsList.begin(), prePoint = point; point != linePointsList.end(); point++… in GetBrightnessCurveLevel() local 69 if (point->x < prePoint->x || IsEqualF(point->x, prePoint->x)) { in GetBrightnessCurveLevel() 72 … brightnessLevel = ((point->y - prePoint->y) / (point->x - prePoint->x) * (lux - prePoint->x)) in GetBrightnessCurveLevel() 73 + prePoint->y; in GetBrightnessCurveLevel() 77 prePoint = point; in GetBrightnessCurveLevel() 78 brightnessLevel = prePoint->y; in GetBrightnessCurveLevel()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_curve.cpp | 29 Point prePoint = start; in DrawCubicBezier() local 34 if ((prePoint.x == point.x) && (prePoint.y == point.y)) { in DrawCubicBezier() 37 …BaseGfxEngine::GetInstance()->DrawLine(gfxDstBuffer, prePoint, point, mask, width, color, opacity); in DrawCubicBezier() 38 prePoint = point; in DrawCubicBezier()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/box/ |
H A D | drag_drop_event.cpp | 136 Point DragDropEvent::UpdatePoint(const RefPtr<PipelineContext>& context, const Point& prePoint) in UpdatePoint() argument 139 return prePoint; in UpdatePoint() 146 …newPoint.SetX(prePoint.GetX() - CONTAINER_BORDER_WIDTH.ConvertToPx() - CONTENT_PADDING.ConvertToPx… in UpdatePoint() 147 newPoint.SetY(prePoint.GetY() - CONTAINER_TITLE_HEIGHT.ConvertToPx()); in UpdatePoint() 149 newPoint = prePoint; in UpdatePoint()
|
H A D | drag_drop_event.h | 119 Point UpdatePoint(const RefPtr<PipelineContext>& context, const Point& prePoint);
|
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_multifinger_multitap.cpp | 388 for (auto prePoint : prePoints) { in IsDoubelTapSlopConditionMatch() local 389 int32_t pId = prePoint.GetPointerId(); in IsDoubelTapSlopConditionMatch() 393 int32_t preX = prePoint.GetDisplayX(); in IsDoubelTapSlopConditionMatch() 394 int32_t preY = prePoint.GetDisplayY(); in IsDoubelTapSlopConditionMatch()
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_canvas.h | 658 …static void GetAbsolutePosition(const Point& prePoint, const Rect& rect, const Style& style, Point…
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_canvas.cpp | 1034 void UICanvas::GetAbsolutePosition(const Point& prePoint, const Rect& rect, const Style& style, Poi… in GetAbsolutePosition() argument 1036 point.x = prePoint.x + rect.GetLeft() + style.paddingLeft_ + style.borderWidth_; in GetAbsolutePosition() 1037 point.y = prePoint.y + rect.GetTop() + style.paddingTop_ + style.borderWidth_; in GetAbsolutePosition()
|