Searched refs:RoundValueToPixelGrid (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_pattern.cpp | 1836 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect() 1837 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect() 1843 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect() 1844 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect() 1859 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect() 1860 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect() 1880 float XComponentPattern::RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forc… in RoundValueToPixelGrid() function in OHOS::Ace::NG::XComponentPattern
|
H A D | xcomponent_pattern.h | 314 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/video/ |
H A D | video_pattern.cpp | 179 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor) in RoundValueToPixelGrid() function 211 float nodeLeftI = RoundValueToPixelGrid(relativeLeft, isRound, false, false); in AdjustPaintRect() 212 float nodeTopI = RoundValueToPixelGrid(relativeTop, isRound, false, false); in AdjustPaintRect() 218 float nodeWidthI = RoundValueToPixelGrid(absoluteRight, isRound, false, false) - nodeLeftI; in AdjustPaintRect() 219 float nodeWidthTemp = RoundValueToPixelGrid(nodeWidth, isRound, false, false); in AdjustPaintRect() 234 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom, isRound, false, false) - nodeTopI; in AdjustPaintRect() 235 float nodeHeightTemp = RoundValueToPixelGrid(nodeHeight, isRound, false, false); in AdjustPaintRect()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_context.cpp | 3036 float RosenRenderContext::RoundValueToPixelGrid(float value) in RoundValueToPixelGrid() function in OHOS::Ace::NG::RosenRenderContext 3224 float nodeLeftI = RoundValueToPixelGrid(relativeLeft); in RoundToPixelGrid() 3225 float nodeTopI = RoundValueToPixelGrid(relativeTop); in RoundToPixelGrid() 3227 float nodeWidthI = RoundValueToPixelGrid(absoluteRight) - nodeLeftI; in RoundToPixelGrid() 3228 float nodeHeightI = RoundValueToPixelGrid(absoluteBottom) - nodeTopI; in RoundToPixelGrid() 3236 float innerWidthI = RoundValueToPixelGrid(innerRight) - RoundValueToPixelGrid(innerLeft); in RoundToPixelGrid() 3237 float innerHeightI = RoundValueToPixelGrid(innerBottom) - RoundValueToPixelGrid(innerTop); in RoundToPixelGrid() 3239 float borderLeftI = RoundValueToPixelGrid(borderWidth_[0]); in RoundToPixelGrid() 3240 float borderTopI = RoundValueToPixelGrid(borderWidth_[1]); in RoundToPixelGrid() 3286 RoundValueToPixelGrid(innerLeft, isRound, ceilLeft, floorLeft); in RoundToPixelGrid() [all …]
|
H A D | rosen_render_context.h | 616 float RoundValueToPixelGrid(float value); 617 float RoundValueToPixelGrid(float value, bool isRound, bool forceCeil, bool forceFloor);
|