/foundation/arkui/ace_engine/frameworks/core/components/triangle/ |
H A D | rosen_render_triangle.cpp | 49 path.arcTo({ arc1.GetLeft(), arc1.GetTop(), arc1.GetRight(), arc1.GetBottom() }, in Paint() 52 path.arcTo({ arc2.GetLeft(), arc2.GetTop(), arc2.GetRight(), arc2.GetBottom() }, in Paint() 55 path.arcTo({ arc3.GetLeft(), arc3.GetTop(), arc3.GetRight(), arc3.GetBottom() }, in Paint() 69 path.ArcTo(arc1.GetLeft(), arc1.GetTop(), arc1.GetRight(), arc1.GetBottom(), in Paint() 72 path.ArcTo(arc2.GetLeft(), arc2.GetTop(), arc2.GetRight(), arc2.GetBottom(), in Paint() 75 path.ArcTo(arc3.GetLeft(), arc3.GetTop(), arc3.GetRight(), arc3.GetBottom(), in Paint()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | pen_test.cpp | 42 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenColor() 48 rect1.GetRight() - margin, rect1.GetBottom() - margin); in TestPenColor() 54 rect2.GetRight() - margin, rect2.GetBottom() - margin); in TestPenColor() 74 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenAlpha() 80 rect1.GetRight() - margin, rect1.GetBottom() - margin); in TestPenAlpha() 100 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenWidth() 168 Point e(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetBottom() - rect.GetHeight() / 4.0f); in TestPenCapStyle() 170 Point f(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetBottom() - rect.GetHeight() / 4.0f); in TestPenCapStyle() 190 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenJoinStyle() 195 rect1.GetRight() - margin, rect1.GetBottom() in TestPenJoinStyle() [all...] |
H A D | path_test.cpp | 112 path.LineTo(rect.GetRight(), rect.GetBottom()); in TestMoveTo() 114 path.LineTo(rect.GetLeft(), rect.GetBottom()); in TestMoveTo() 118 path.LineTo(rect.GetLeft() + rect.GetWidth() / 2.0f, rect.GetBottom()); in TestMoveTo() 137 linePoints.emplace_back(Point(rect.GetLeft() + rect.GetWidth() / 4.0f, rect.GetBottom())); in TestLineTo() 141 linePoints.emplace_back(Point(rect.GetRight() - rect.GetWidth() / 4.0f, rect.GetBottom())); in TestLineTo() 144 linePoints.emplace_back(Point(rect.GetLeft(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo() 145 linePoints.emplace_back(Point(rect.GetRight(), rect.GetBottom() - rect.GetHeight() / 4.0f)); in TestLineTo() 170 path.ArcTo(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom(), -90, 270); in TestArcTo() 188 path.CubicTo(rect.GetLeft(), rect.GetBottom(), rect.GetRight(), rect.GetTop(), rect.GetRight(), rect.GetBottom()); in TestCubicTo() [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/ |
H A D | rect_test.cpp | 53 EXPECT_EQ(0.0f, rectF->GetBottom()); in HWTEST_F() 99 EXPECT_EQ(4.0f, rectF->GetBottom()); in HWTEST_F() 115 EXPECT_EQ(1.0f, rectF->GetBottom()); in HWTEST_F() 239 EXPECT_EQ(1.0f, rectF->GetBottom()); in HWTEST_F() 253 EXPECT_EQ(2.0f, rectF->GetBottom()); in HWTEST_F() 270 EXPECT_EQ(6.0f, rectF->GetBottom()); in HWTEST_F() 287 EXPECT_EQ(5.0f, rectF->GetBottom()); in HWTEST_F() 304 EXPECT_EQ(6.0f, rectF->GetBottom()); in HWTEST_F() 321 EXPECT_EQ(5.0f, rectF->GetBottom()); in HWTEST_F() 474 EXPECT_EQ(0.0f, rectI->GetBottom()); in HWTEST_F() [all...] |
/foundation/graphic/graphic_utils_lite/test/ |
H A D | rect_unit_test.cpp | 86 EXPECT_EQ(rect_->GetBottom(), VERTICAL_RESOLUTION); in HWTEST_F() 108 EXPECT_EQ(rect_->GetBottom(), VERTICAL_RESOLUTION); in HWTEST_F() 223 * @tc.desc: Verify GetBottom function, equal. 234 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE); in HWTEST_F() 268 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE); in HWTEST_F() 287 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE); in HWTEST_F() 319 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE - 1); in HWTEST_F() 383 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE); in HWTEST_F() 403 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE - 1); in HWTEST_F() 480 EXPECT_EQ(rect1->GetBottom(), MAX_VALU in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_pixel_map_util.cpp | 154 dst.SetTop(dst.GetTop() - (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc() 156 dst.SetBottom(dst.GetBottom() + (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc() 159 src.SetBottom(src.GetBottom() / abs(transformData.scaleY)); in TransformDataSetForAstc() 163 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc() 165 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc() 168 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc() 172 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc() 179 float bottomMinus = src.GetBottom() - transformData.cropTop - transformData.cropHeight; in TransformDataSetForAstc() 183 src.SetBottom(src.GetBottom() in TransformDataSetForAstc() [all...] |
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/ |
H A D | geometry2d.h | 161 vertexes_[2].y_ = rect.GetBottom(); in Polygon() 164 vertexes_[3].y_ = rect.GetBottom(); in Polygon() 242 vertexes_[2].y_ = rect.GetBottom(); 245 vertexes_[3].y_ = rect.GetBottom();
|
/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/ |
H A D | common_clip_operate.h | 65 return ((y < clipBox.GetTop()) << 0x03) | ((y > clipBox.GetBottom()) << 0x01); in ClippingFlagsY() 92 (x > clipBox.GetRight()) | ((y > clipBox.GetBottom()) << 0x01); in ClippingFlags()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_border_test.cpp | 647 borderGeo.rrect.rect_.SetBottom(rect.GetBottom()); in HWTEST_F() 651 borderGeo.innerRRect.rect_.SetBottom(rect.GetBottom() + width[RSBorder::BOTTOM]); in HWTEST_F() 653 (borderGeo.innerRRect.rect_.GetTop() + borderGeo.innerRRect.rect_.GetBottom()) * 0.5 }; in HWTEST_F() 710 borderGeo.rrect.rect_.SetBottom(rect.GetBottom()); in HWTEST_F() 714 borderGeo.innerRRect.rect_.SetBottom(rect.GetBottom() + width[RSBorder::BOTTOM]); in HWTEST_F() 716 (borderGeo.innerRRect.rect_.GetTop() + borderGeo.innerRRect.rect_.GetBottom()) * 0.5 }; in HWTEST_F() 773 borderGeo.rrect.rect_.SetBottom(rect.GetBottom()); in HWTEST_F() 777 borderGeo.innerRRect.rect_.SetBottom(rect.GetBottom() + width[RSBorder::BOTTOM]); in HWTEST_F() 779 (borderGeo.innerRRect.rect_.GetTop() + borderGeo.innerRRect.rect_.GetBottom()) * 0.5 }; in HWTEST_F() 840 borderGeo.rrect.rect_.SetBottom(rect.GetBottom()); in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | focus_manager.cpp | 112 return ((rect1.GetBottom() < rect2.GetTop()) && (rect1.GetTop() > rect2.GetBottom())); in IsAtSameRow() 119 if (currentRect.GetBottom() >= focusedViewRect.GetBottom()) { in CompareCandidatesByUp() 125 return currentRect.GetBottom() > candidateRect.GetBottom(); in CompareCandidatesByUp()
|
/foundation/arkui/ui_lite/frameworks/render/ |
H A D | render_base.h | 94 x <= clipBox_.GetRight() && y <= clipBox_.GetBottom(); in Inbox() 135 return clipBox_.GetBottom(); in GetYMax()
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_rect.cpp | 106 int16_t row3Y = rect.GetBottom(); in DrawRectRadiusWithoutBorderCon1() 149 int16_t row3Y = rect.GetBottom() - radius + 1; in DrawRectRadiusWithoutBorderCon2() 211 int16_t row3Y = rect.GetBottom() - radius + 1; in DrawRectRadiusWithoutBorderCon4() 212 int16_t row4Y = rect.GetBottom(); in DrawRectRadiusWithoutBorderCon4() 272 int16_t row3Y = rect.GetBottom() - style.borderWidth_ + 1; in DrawRectBorderWithoutRadius() 273 int16_t row4Y = rect.GetBottom(); in DrawRectBorderWithoutRadius() 309 int16_t row3Y = rect.GetBottom() - style.borderRadius_ + 1; in DrawRectRadiusEqualBorder() 310 int16_t row4Y = rect.GetBottom(); in DrawRectRadiusEqualBorder() 379 int16_t radiusRow3Y = rect.GetBottom() - style.borderRadius_ + 1; in DrawRectRadiusSmallThanBorder() 380 int16_t radiusRow4Y = rect.GetBottom(); in DrawRectRadiusSmallThanBorder() [all...] |
H A D | draw_canvas.cpp | 69 invalidatedArea.GetBottom()); in DoRender() 120 invalidatedArea.GetBottom()); in DoDrawShadow() 130 bbox.SetBottom(bbox.GetBottom() + paint.GetShadowBlur()); in DoDrawShadow() 134 int16_t(bbox.GetBottom())}; in DoDrawShadow() 136 pixf2.Attach(pixFormat, shadowRect.GetLeft(), shadowRect.GetTop(), shadowRect.GetRight(), shadowRect.GetBottom()); in DoDrawShadow() 215 invalidatedArea.GetBottom()); in RenderGradient()
|
H A D | draw_image.cpp | 72 for (int16_t row = valid.GetTop(); row <= valid.GetBottom(); row++) { in DrawCommon() 81 line.SetBottom(line.GetBottom() + 1); in DrawCommon()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/ |
H A D | rect.h | 55 inline int32_t GetBottom() const; 126 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in bottom_() 165 inline int32_t RectI::GetBottom() const in GetBottom() function in OHOS::Rosen::Drawing::RectI 288 inline scalar GetBottom() const; 332 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in bottom_() 336 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in bottom_() 368 inline scalar RectF::GetBottom() const in GetBottom() function in OHOS::Rosen::Drawing::RectF
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/ |
H A D | rs_rect.h | 113 T GetBottom() const in GetBottom() function in OHOS::Rosen::RectT 155 return (x >= left_) && (x < GetRight()) && (y >= top_) && (y < GetBottom()); in Intersect() 160 GetBottom() <= rect.GetBottom() && GetRight() <= rect.GetRight()); in IsInsideOf() 173 T height = std::min(GetBottom(), rect.GetBottom()) - top; in IntersectRect() 187 T height = std::max(GetBottom(), rect.GetBottom()) - top; in JoinRect()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | root_view.cpp | 114 if (mask.GetBottom() == leftoverRect.GetBottom()) { in DivideInvalidateRect() 117 leftoverRect.SetTop(mask.GetBottom() + 1); in DivideInvalidateRect() 121 leftoverRect.SetTop(mask.GetBottom() + 1); in DivideInvalidateRect() 206 if (mask.GetBottom() != leftoverRect.GetBottom()) { in DivideInvalidateRect() 220 splitRects.Back().SetTop(mask.GetBottom() + 1); in DivideInvalidateRect() 221 leftoverRect.SetBottom(mask.GetBottom()); in DivideInvalidateRect() 242 ((curRect.GetTop() == rect.GetTop()) && (curRect.GetBottom() == rect.GetBottom()))) { in AddRenderedRects() [all...] |
H A D | ui_scroll_view.cpp | 116 if (childRect.GetTop() - scrollBlankSize_ >= 0 || childRect.GetBottom() + scrollBlankSize_ <= GetHeight()) { in OnRotateEvent() 156 if (childRect.GetTop() - scrollBlankSize_ >= 0 || childRect.GetBottom() + scrollBlankSize_ <= GetHeight()) { in SetIsEdge() 230 int16_t childBottom = childRect.GetBottom(); in DragYInner() 286 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_region.cpp | 41 auto skIRect = SkIRect::MakeLTRB(rectI.GetLeft(), rectI.GetTop(), rectI.GetRight(), rectI.GetBottom()); in SetRect() 117 auto skIRect = SkIRect::MakeLTRB(rectI.GetLeft(), rectI.GetTop(), rectI.GetRight(), rectI.GetBottom()); in QuickReject()
|
/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/ |
H A D | rasterizer_scanline_clip.cpp | 64 tx1 = x1 + RasterDepictInt::MultDiv(clipBox_.GetBottom() - y1, x2 - x1, y2 - y1); in LineClipY() 65 ty1 = clipBox_.GetBottom(); in LineClipY() 78 tx2 = x1 + RasterDepictInt::MultDiv(clipBox_.GetBottom() - y1, x2 - x1, y2 - y1); in LineClipY() 79 ty2 = clipBox_.GetBottom(); in LineClipY()
|
/foundation/graphic/graphic_utils_lite/frameworks/ |
H A D | geometry2d.cpp | 134 Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetBottom())); in SuthHodgClip() 135 Clip(newPolygon, Line(clipRect.GetRight(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetBottom())); in SuthHodgClip() 136 Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetTop())); in SuthHodgClip()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_rect.h | 51 virtual float GetBottom() const in GetBottom() function in OHOS::Ace::Testing::TestingRect
|
/foundation/arkui/ace_engine/frameworks/core/pipeline/base/ |
H A D | position_layout_utils.h | 44 deltaY = parentNode->GetLayoutSize().Height() - selfNode->NormalizePercentToPx(selfNode->GetBottom(), true) in GetAbsoluteOffset()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | pixelmap_image.cpp | 360 SkRect dst { dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom() }; in DrawRect() 371 RSRect dst = RSRect(dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom()); in DrawRect() 396 SkRect dst { dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom() }; in DrawRect() 405 RSRect dst = RSRect(dstRect.GetLeft(), dstRect.GetTop(), dstRect.GetRight(), dstRect.GetBottom()); in DrawRect() 410 RSRect src = RSRect(srcRect.GetLeft(), srcRect.GetTop(), srcRect.GetRight(), srcRect.GetBottom()); in DrawRect()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | path.cpp | 135 impl_->AddRect(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom(), dir); in AddRect() 150 impl_->AddOval(oval.GetLeft(), oval.GetTop(), oval.GetRight(), oval.GetBottom(), dir); in AddOval() 155 impl_->AddOval(oval.GetLeft(), oval.GetTop(), oval.GetRight(), oval.GetBottom(), start, dir); in AddOval() 160 impl_->AddArc(oval.GetLeft(), oval.GetTop(), oval.GetRight(), oval.GetBottom(), startAngle, sweepAngle); in AddArc() 175 impl_->AddRoundRect(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom(), xRadius, yRadius, dir); in AddRoundRect()
|