Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1844 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect() local
1854 if (nodeWidthI < nodeWidthTemp) { in AdjustPaintRect()
1855 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in AdjustPaintRect()
1856 nodeWidthI = nodeWidthTemp; in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp219 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect() local
229 if (nodeWidthI < nodeWidthTemp) { in AdjustPaintRect()
230 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in AdjustPaintRect()
231 nodeWidthI = nodeWidthTemp; in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3324 float nodeWidthTemp = OnePixelValueRounding(nodeWidth); in OnePixelRounding() local
3334 if (nodeWidthI < nodeWidthTemp) { in OnePixelRounding()
3335 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in OnePixelRounding()
3336 nodeWidthI = nodeWidthTemp; in OnePixelRounding()
3390 float nodeWidthTemp = OnePixelValueRounding(nodeWidth, !noRoundRight, ceilRight, floorRight); in OnePixelRounding() local
3400 if (nodeWidthI < nodeWidthTemp) { in OnePixelRounding()
3401 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in OnePixelRounding()
3402 nodeWidthI = nodeWidthTemp; in OnePixelRounding()