Home
last modified time | relevance | path

Searched refs:leftSlice_ (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Dborder_image_painter.cpp45 imageCenterWidth_ = std::ceil(imageWidth_ - leftSlice_ - rightSlice_); in InitPainter()
50 srcRectTop_ = RSRect(leftSlice_, 0, leftSlice_ + imageCenterWidth_, topSlice_); in InitPainter()
52 …srcRectBottom_ = RSRect(leftSlice_, imageHeight_ - bottomSlice_, leftSlice_ + imageCenterWidth_, i… in InitPainter()
63 leftSlice_ = imageWidth_; in InitBorderImageSlice()
83 if (GreatNotEqual(leftSlice_, imageWidth_)) { in InitBorderImageSlice()
84 leftSlice_ = imageWidth_; in InitBorderImageSlice()
96 ParseNegativeNumberToZeroOrCeil(leftSlice_); in InitBorderImageSlice()
239 … RSRect(leftSlice_, topSlice_, leftSlice_ + imageCenterWidth_, topSlice_ + imageCenterHeight_); in FillBorderImageCenter()
254 RSRect srcRectLeftTop = RSRect(0, 0, leftSlice_, topSlice_); in PaintBorderImageCorners()
451 …RSRect srcRectTopRight = RSRect(leftSlice_, 0, leftSlice_ + halfSurplusHorizontalLength, topSlice_… in PaintBorderImageRepeat()
[all …]
H A Dborder_image_painter.h77 double leftSlice_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/
H A Dborder_image_painter.cpp65 srcRectTop_ = RSRect(leftSlice_, 0, imageCenterWidth_ + leftSlice_, topSlice_); in InitPainter()
67 …srcRectBottom_ = RSRect(leftSlice_, imageHeight_ - bottomSlice_, imageCenterWidth_ + leftSlice_, i… in InitPainter()
130 leftSlice_ = imageWidth_; in InitBorderImageSlice()
150 if (GreatNotEqual(leftSlice_, imageWidth_)) { in InitBorderImageSlice()
151 leftSlice_ = imageWidth_; in InitBorderImageSlice()
162 ParseNegativeNumberToZeroOrCeil(leftSlice_); in InitBorderImageSlice()
291 … RSRect(leftSlice_, topSlice_, imageCenterWidth_ + leftSlice_, imageCenterHeight_ + topSlice_); in FillBorderImageCenter()
351 RSRect srcRectLeftTop = RSRect(0, 0, leftSlice_, topSlice_); in PaintBorderImageCorners()
850 …RSRect srcRectTopRight = RSRect(leftSlice_, 0, halfSurplusHorizontalLength + leftSlice_, topSlice_… in PaintBorderImageRepeat()
863 …RSRect(leftSlice_, imageHeight_ - bottomSlice_, halfSurplusHorizontalLength + leftSlice_, imageHei… in PaintBorderImageRepeat()
[all …]
H A Dborder_image_painter.h101 double leftSlice_ = 0.0; variable
H A Drosen_decoration_painter.h257 double leftSlice_ = 0.0; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/
H A Dborder_image_painter_test_ng.cpp152 borderImagePainter.leftSlice_ = 10.0;
164 EXPECT_EQ(borderImagePainter.leftSlice_, 10);
201 borderImagePainter.leftSlice_ = 120.0;
212 EXPECT_EQ(borderImagePainter.leftSlice_, 100);