Home
last modified time | relevance | path

Searched refs:vertexOffsetFromBlock (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/slider/
H A Dslider_tip_modifier.h128 void PaintHorizontalBubble(float vertexOffsetFromBlock, RSPath& path);
129 void PaintVerticalBubble(float vertexOffsetFromBlock, RSPath& path);
130 void PaintHorizontalBubbleSuitableAging(float vertexOffsetFromBlock, RSPath& path);
131 void PaintVerticalBubbleSuitableAging(float vertexOffsetFromBlock, RSPath& path);
H A Dslider_tip_modifier.cpp136 void SliderTipModifier::PaintHorizontalBubble(float vertexOffsetFromBlock, RSPath& path) in PaintHorizontalBubble() argument
145 vertex_.AddY(vertexOffsetFromBlock / HALF); in PaintHorizontalBubble()
173 void SliderTipModifier::PaintVerticalBubble(float vertexOffsetFromBlock, RSPath& path) in PaintVerticalBubble() argument
184 vertex_.AddX(vertexOffsetFromBlock / HALF); in PaintVerticalBubble()
231 vertex_.AddY(vertexOffsetFromBlock / HALF); in PaintHorizontalBubbleSuitableAging()
293 vertex_.AddX(vertexOffsetFromBlock / HALF); in PaintVerticalBubbleSuitableAging()
346 auto vertexOffsetFromBlock = vertexPair.second; in PaintBubble() local
352 PaintHorizontalBubbleSuitableAging(vertexOffsetFromBlock, path); in PaintBubble()
354 PaintHorizontalBubble(vertexOffsetFromBlock, path); in PaintBubble()
358 PaintVerticalBubbleSuitableAging(vertexOffsetFromBlock, path); in PaintBubble()
[all …]
H A Dslider_pattern.cpp1673 float vertexOffsetFromBlock = 0; in GetBubbleVertexPosition() local
1680vertexOffsetFromBlock = blockSize.Height() * HALF + BUBBLE_TO_SLIDER_DISTANCE.ConvertToPx(); in GetBubbleVertexPosition()
1681 bubbleVertex.AddY(0 - vertexOffsetFromBlock); in GetBubbleVertexPosition()
1683vertexOffsetFromBlock = blockSize.Width() * HALF + BUBBLE_TO_SLIDER_DISTANCE.ConvertToPx(); in GetBubbleVertexPosition()
1684 bubbleVertex.AddX(0 - vertexOffsetFromBlock); in GetBubbleVertexPosition()
1687 vertexOffsetFromBlock = trackThickness * HALF + BUBBLE_TO_SLIDER_DISTANCE.ConvertToPx(); in GetBubbleVertexPosition()
1689 bubbleVertex.AddY(0 - vertexOffsetFromBlock); in GetBubbleVertexPosition()
1691 bubbleVertex.AddX(0 - vertexOffsetFromBlock); in GetBubbleVertexPosition()
1694 return std::pair<OffsetF, float>(bubbleVertex, vertexOffsetFromBlock); in GetBubbleVertexPosition()