Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1843 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect() local
1845 roundToPixelErrorX += nodeWidthI - nodeWidth; in AdjustPaintRect()
1847 nodeWidthI -= 1.0f; in AdjustPaintRect()
1851 nodeWidthI += 1.0f; in AdjustPaintRect()
1854 if (nodeWidthI < nodeWidthTemp) { in AdjustPaintRect()
1855 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in AdjustPaintRect()
1856 nodeWidthI = nodeWidthTemp; in AdjustPaintRect()
1875 rect.SetWidth(nodeWidthI); in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp218 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect() local
220 roundToPixelErrorX += nodeWidthI - nodeWidth; in AdjustPaintRect()
222 nodeWidthI -= 1.0f; in AdjustPaintRect()
226 nodeWidthI += 1.0f; in AdjustPaintRect()
229 if (nodeWidthI < nodeWidthTemp) { in AdjustPaintRect()
230 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in AdjustPaintRect()
231 nodeWidthI = nodeWidthTemp; in AdjustPaintRect()
250 rect.SetWidth(nodeWidthI); in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3325 roundToPixelErrorX += nodeWidthI - nodeWidth; in OnePixelRounding()
3327 nodeWidthI -= 1.0f; in OnePixelRounding()
3331 nodeWidthI += 1.0f; in OnePixelRounding()
3334 if (nodeWidthI < nodeWidthTemp) { in OnePixelRounding()
3335 roundToPixelErrorX += nodeWidthTemp - nodeWidthI; in OnePixelRounding()
3336 nodeWidthI = nodeWidthTemp; in OnePixelRounding()
3391 roundToPixelErrorX += nodeWidthI - nodeWidth; in OnePixelRounding()
3393 nodeWidthI -= 1.0f; in OnePixelRounding()
3397 nodeWidthI += 1.0f; in OnePixelRounding()
3400 if (nodeWidthI < nodeWidthTemp) { in OnePixelRounding()
[all …]