Searched refs:imageCenterHeight_ (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | border_image_painter.cpp | 46 imageCenterHeight_ = std::ceil(imageHeight_ - topSlice_ - bottomSlice_); in InitPainter() 49 srcRectLeft_ = RSRect(0, topSlice_, leftSlice_, topSlice_ + imageCenterHeight_); in InitPainter() 319 auto roundVerticalCount = static_cast<int32_t>(borderCenterHeight_ / imageCenterHeight_); in PaintBorderImageRound() 326 if (fmod(borderCenterHeight_, imageCenterHeight_) != 0) { in PaintBorderImageRound() 370 if (NearZero(imageCenterWidth_) || NearZero(imageCenterHeight_)) { in PaintBorderImageSpace() 413 roundStartVertical += imageCenterHeight_ + blankVerticalSize; in PaintBorderImageSpace() 489 if (GreatNotEqual(imageCenterHeight_, 0.0)) { in PaintBorderImageRepeat() 490 heightFactor = borderCenterHeight_ / imageCenterHeight_; in PaintBorderImageRepeat() 535 repeatVerticalStart + imageCenterHeight_); in PaintBorderImageRepeat() 540 repeatVerticalStart + imageCenterHeight_); in PaintBorderImageRepeat() [all …]
|
H A D | border_image_painter.h | 66 double imageCenterHeight_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/painter/ |
H A D | border_image_painter.cpp | 464 if (fmod(borderCenterHeight_, imageCenterHeight_) != 0) { in PaintBorderImageRound() 525 if (fmod(borderCenterHeight_, imageCenterHeight_) != 0) { in PaintBorderImageRound() 647 roundStartVertical += imageCenterHeight_ + blankVerticalSize; in PaintBorderImageSpace() 741 if (GreatNotEqual(imageCenterHeight_, 0.0)) { in PaintBorderImageRepeat() 742 heightFactor = borderCenterHeight_ / imageCenterHeight_; in PaintBorderImageRepeat() 807 repeatVerticalStart += imageCenterHeight_; in PaintBorderImageRepeat() 888 if (GreatNotEqual(imageCenterHeight_, 0.0)) { in PaintBorderImageRepeat() 889 heightFactor = borderCenterHeight_ / imageCenterHeight_; in PaintBorderImageRepeat() 934 imageCenterHeight_ + repeatVerticalStart); in PaintBorderImageRepeat() 939 imageCenterHeight_ + repeatVerticalStart); in PaintBorderImageRepeat() [all …]
|
H A D | border_image_painter.h | 91 double imageCenterHeight_ = 0.0; variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/render/ |
H A D | border_image_painter_test_ng.cpp | 124 EXPECT_EQ(borderImagePainter.imageCenterHeight_, -1080); 461 borderImagePainter.imageCenterHeight_ = ONE; 471 … heightCount = fmod(borderImagePainter.borderCenterHeight_, borderImagePainter.imageCenterHeight_); 504 borderImagePainter.imageCenterHeight_ = FIVE; 512 … heightCount = fmod(borderImagePainter.borderCenterHeight_, borderImagePainter.imageCenterHeight_); 546 borderImagePainter.imageCenterHeight_ = TWO; 554 … heightCount = fmod(borderImagePainter.borderCenterHeight_, borderImagePainter.imageCenterHeight_);
|