Home
last modified time | relevance | path

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

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_pattern.cpp1859 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect() local
1861 roundToPixelErrorY += nodeHeightI - nodeHeight; in AdjustPaintRect()
1863 nodeHeightI -= 1.0f; in AdjustPaintRect()
1867 nodeHeightI += 1.0f; in AdjustPaintRect()
1870 if (nodeHeightI < nodeHeightTemp) { in AdjustPaintRect()
1871 roundToPixelErrorY += nodeHeightTemp - nodeHeightI; in AdjustPaintRect()
1872 nodeHeightI = nodeHeightTemp; in AdjustPaintRect()
1876 rect.SetHeight(nodeHeightI); in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/
H A Dvideo_pattern.cpp234 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect() local
236 roundToPixelErrorY += nodeHeightI - nodeHeight; in AdjustPaintRect()
238 nodeHeightI -= 1.0f; in AdjustPaintRect()
242 nodeHeightI += 1.0f; in AdjustPaintRect()
245 if (nodeHeightI < nodeHeightTemp) { in AdjustPaintRect()
246 roundToPixelErrorY += nodeHeightTemp - nodeHeightI; in AdjustPaintRect()
247 nodeHeightI = nodeHeightTemp; in AdjustPaintRect()
251 rect.SetHeight(nodeHeightI); in AdjustPaintRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp3341 roundToPixelErrorY += nodeHeightI - nodeHeight; in OnePixelRounding()
3343 nodeHeightI -= 1.0f; in OnePixelRounding()
3347 nodeHeightI += 1.0f; in OnePixelRounding()
3350 if (nodeHeightI < nodeHeightTemp) { in OnePixelRounding()
3351 roundToPixelErrorY += nodeHeightTemp - nodeHeightI; in OnePixelRounding()
3352 nodeHeightI = nodeHeightTemp; in OnePixelRounding()
3407 roundToPixelErrorY += nodeHeightI - nodeHeight; in OnePixelRounding()
3409 nodeHeightI -= 1.0f; in OnePixelRounding()
3413 nodeHeightI += 1.0f; in OnePixelRounding()
3416 if (nodeHeightI < nodeHeightTemp) { in OnePixelRounding()
[all …]