Home
last modified time | relevance | path

Searched refs:GetBottom (Results 1 – 25 of 162) sorted by relevance

1234567

/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/
H A Dpen_test.cpp42 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()
190 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenJoinStyle()
195 rect1.GetRight() - margin, rect1.GetBottom() - margin); in TestPenJoinStyle()
265 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenPathEffect()
295 rect.GetRight() - margin, rect.GetBottom() - margin); in TestPenFilter()
[all …]
H A Dpath_test.cpp112 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()
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(), re… in TestCubicTo()
192 path2.LineTo(rect.GetLeft(), rect.GetBottom()); in TestCubicTo()
194 path2.LineTo(rect.GetRight(), rect.GetBottom()); in TestCubicTo()
218 path2.LineTo(rect.GetLeft() + rect.GetWidth() / 2.0f, rect.GetBottom()); in TestQuadTo()
498 rect.GetBottom() - rect.GetHeight() / 4.0f); in TestOffset()
690 path2.LineTo(rect.GetLeft(), rect.GetBottom()); in TestClose()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/utils/
H A Drect_test.cpp53 EXPECT_EQ(0.0f, rectF->GetBottom());
99 EXPECT_EQ(4.0f, rectF->GetBottom());
115 EXPECT_EQ(1.0f, rectF->GetBottom());
239 EXPECT_EQ(1.0f, rectF->GetBottom());
253 EXPECT_EQ(2.0f, rectF->GetBottom());
270 EXPECT_EQ(6.0f, rectF->GetBottom());
287 EXPECT_EQ(5.0f, rectF->GetBottom());
304 EXPECT_EQ(6.0f, rectF->GetBottom());
321 EXPECT_EQ(5.0f, rectF->GetBottom());
474 EXPECT_EQ(0.0f, rectI->GetBottom());
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/triangle/
H A Drosen_render_triangle.cpp49 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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_pixel_map_util.cpp155 dst.SetTop(dst.GetTop() - (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc()
157 dst.SetBottom(dst.GetBottom() + (realSize.height - src.GetBottom()) / HALF_F); in TransformDataSetForAstc()
160 src.SetBottom(src.GetBottom() / abs(transformData.scaleY)); in TransformDataSetForAstc()
164 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc()
166 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc()
169 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc()
173 dst.GetTop() / HALF_F + dst.GetBottom() / HALF_F); in TransformDataSetForAstc()
180 float bottomMinus = src.GetBottom() - transformData.cropTop - transformData.cropHeight; in TransformDataSetForAstc()
184 src.SetBottom(src.GetBottom() - bottomMinus); in TransformDataSetForAstc()
188 dst.SetBottom(dst.GetBottom() - (realSize.height - transformData.cropHeight) / HALF_F); in TransformDataSetForAstc()
[all …]
H A Drs_border.cpp385 rect.GetBottom() - addLen * borderBottomWidth), in PaintFourLine()
634 … topBorder.ArcTo(rs.GetLeft(), rs.GetTop(), rs.GetRight(), rs.GetBottom(), TOP_START, SWEEP_ANGLE); in DrawTopBorder()
635 topBorder.ArcTo(re.GetLeft(), re.GetTop(), re.GetRight(), re.GetBottom(), TOP_END, SWEEP_ANGLE); in DrawTopBorder()
661 …rightBorder.ArcTo(rs.GetLeft(), rs.GetTop(), rs.GetRight(), rs.GetBottom(), RIGHT_START, SWEEP_ANG… in DrawRightBorder()
662 …rightBorder.ArcTo(re.GetLeft(), re.GetTop(), re.GetRight(), re.GetBottom(), RIGHT_END, SWEEP_ANGLE… in DrawRightBorder()
717 …leftBorder.ArcTo(rs.GetLeft(), rs.GetTop(), rs.GetRight(), rs.GetBottom(), LEFT_START, SWEEP_ANGLE… in DrawLeftBorder()
718 … leftBorder.ArcTo(re.GetLeft(), re.GetTop(), re.GetRight(), re.GetBottom(), LEFT_END, SWEEP_ANGLE); in DrawLeftBorder()
845 y = rrect.GetRect().GetBottom() - (x - rrect.GetRect().GetLeft()) * k; in GetBLIP()
852 x = rrect.GetRect().GetLeft() + (rrect.GetRect().GetBottom() - y) / k; in GetBLIP()
892 y = rrect.GetRect().GetBottom() - (rrect.GetRect().GetRight() - x) * k; in GetBRIP()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_border_test.cpp648 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
711 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
774 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
841 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
892 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
949 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
1013 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
1061 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
1111 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
1161 borderGeo.rrect.rect_.SetBottom(rect.GetBottom());
[all …]
/ohos5.0/foundation/graphic/graphic_utils_lite/test/
H A Drect_unit_test.cpp86 EXPECT_EQ(rect_->GetBottom(), VERTICAL_RESOLUTION);
108 EXPECT_EQ(rect_->GetBottom(), VERTICAL_RESOLUTION);
234 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE);
268 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE);
287 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE);
319 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE - 1);
383 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE);
403 EXPECT_EQ(rect_->GetBottom(), TEST_VALUE - 1);
480 EXPECT_EQ(rect1->GetBottom(), MAX_VALUE);
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/
H A Dgeometry2d.h161 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();
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp112 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()
/ohos5.0/foundation/window/window_manager_lite/services/wms/
H A Dlite_wm.cpp24 #define EXPAND_RECT(x) x.GetLeft(), x.GetTop(), x.GetRight(), x.GetBottom()
264 int16_t y2 = mask.GetBottom(); in Resize()
267 rectBefore.GetBottom()}); in Resize()
269 if (y2 != rectBefore.GetBottom()) { in Resize()
270 … UpdateWindowRegion(window, {x1, static_cast<int16_t>(y2 + 1), x2, rectBefore.GetBottom()}); in Resize()
443 if (y2 != mask.GetBottom()) { in CalculateUpdateRegion()
444 … CalculateUpdateRegion(winNode->prev_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2); in CalculateUpdateRegion()
560 if (y2 != mask.GetBottom()) { in DrawRegion()
561 DrawRegion(winNode->next_, mask.GetLeft(), mask.GetBottom() + 1, mask.GetRight(), y2); in DrawRegion()
576 y2 = rect.GetBottom(); in DrawBackground()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/utils/
H A Drect.h55 inline int32_t GetBottom() const;
124 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in RectI()
163 inline int32_t RectI::GetBottom() const in GetBottom() function
277 inline scalar GetBottom() const;
319 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in RectF()
323 : left_(r.GetLeft()), top_(r.GetTop()), right_(r.GetRight()), bottom_(r.GetBottom()) in RectF()
355 inline scalar RectF::GetBottom() const in GetBottom() function
/ohos5.0/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_rect.cpp106 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()
273 int16_t row4Y = rect.GetBottom(); in DrawRectBorderWithoutRadius()
310 int16_t row4Y = rect.GetBottom(); in DrawRectRadiusEqualBorder()
380 int16_t radiusRow4Y = rect.GetBottom(); in DrawRectRadiusSmallThanBorder()
479 int16_t row5Y = rect.GetBottom(); in DrawRectRadiusBiggerThanBorderCon1()
548 int16_t row3Y = rect.GetBottom() - radius + 1; in DrawRectRadiusBiggerThanBorderCon2()
654 int16_t row4Y = rect.GetBottom() - radius + 1; in DrawRectRadiusBiggerThanBorderCon4()
[all …]
H A Ddraw_canvas.cpp69 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 …xFormat, shadowRect.GetLeft(), shadowRect.GetTop(), shadowRect.GetRight(), shadowRect.GetBottom()); in DoDrawShadow()
215 invalidatedArea.GetBottom()); in RenderGradient()
H A Ddraw_image.cpp72 for (int16_t row = valid.GetTop(); row <= valid.GetBottom(); row++) { in DrawCommon()
81 line.SetBottom(line.GetBottom() + 1); in DrawCommon()
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dcommon_clip_operate.h65 return ((y < clipBox.GetTop()) << 0x03) | ((y > clipBox.GetBottom()) << 0x01); in ClippingFlagsY()
92 (x > clipBox.GetRight()) | ((y > clipBox.GetBottom()) << 0x01); in ClippingFlags()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/common/
H A Drs_rect.h113 T GetBottom() const in GetBottom() function
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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_render_node.cpp1843 absRect.GetBottom()}; in SetUnfocusedWindowOpaqueRegion()
1847 absRect.GetBottom() - containerConfig_.outR}; in SetUnfocusedWindowOpaqueRegion()
1857 absRect.GetBottom() - containerConfig_.bp}; in SetUnfocusedWindowOpaqueRegion()
1866 absRect.GetBottom() - containerConfig_.bp}; in SetUnfocusedWindowOpaqueRegion()
1875 absRect.GetBottom() - containerConfig_.bt}; in SetUnfocusedWindowOpaqueRegion()
1884 absRect.GetBottom() - containerConfig_.bp}; in SetUnfocusedWindowOpaqueRegion()
1893 absRect.GetBottom() - containerConfig_.bp}; in SetUnfocusedWindowOpaqueRegion()
1923 absRect.GetBottom() - containerConfig_.bp}; in SetFocusedWindowOpaqueRegion()
1934 absRect.GetBottom() - containerConfig_.bp}; in SetFocusedWindowOpaqueRegion()
2001 absRect.GetRight(), absRect.GetBottom()}; in SetCornerRadiusOpaqueRegion()
[all …]
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/
H A Droot_view.cpp114 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()
H A Dui_scroll_view.cpp116 …if (childRect.GetTop() - scrollBlankSize_ >= 0 || childRect.GetBottom() + scrollBlankSize_ <= GetH… in OnRotateEvent()
156 …if (childRect.GetTop() - scrollBlankSize_ >= 0 || childRect.GetBottom() + scrollBlankSize_ <= GetH… in SetIsEdge()
230 int16_t childBottom = childRect.GetBottom(); in DragYInner()
286 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance()
H A Dui_list.cpp328 … if (childrenTail_->GetRelativeRect().GetBottom() + childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM) < in DragYInner()
331 …} else if ((childrenTail_->GetRelativeRect().GetBottom() + childrenTail_->GetStyle(STYLE_MARGIN_BO… in DragYInner()
333 …ance = listHeight - scrollBlankSize_ - reboundSize - childrenTail_->GetRelativeRect().GetBottom() - in DragYInner()
364 … (childrenTail_->GetRelativeRect().GetBottom() <= GetContentRect().GetHeight() - 1) && in MoveOffset()
365 … (childrenTail_->GetRelativeRect().GetBottom() - y > GetContentRect().GetHeight() - 1)) { in MoveOffset()
460 …if (childrenTail_ == nullptr || (childrenTail_->GetRelativeRect().GetBottom() + distance < GetHeig… in MoveChildStepVertical()
468 if (childrenHead_ && (childrenHead_->GetRelativeRect().GetBottom() + distance < 0)) { in MoveChildStepVertical()
834 int16_t bottom = rect.GetBottom(); in CalculateReboundDistance()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/diagram/rasterizer/
H A Drasterizer_scanline_clip.cpp64 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()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/
H A Dpath.cpp135 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, sweepA… in AddArc()
175 …impl_->AddRoundRect(rect.GetLeft(), rect.GetTop(), rect.GetRight(), rect.GetBottom(), xRadius, yRa… in AddRoundRect()
/ohos5.0/foundation/graphic/graphic_utils_lite/frameworks/
H A Dgeometry2d.cpp134 …wPolygon, Line(clipRect.GetRight(), clipRect.GetTop(), clipRect.GetRight(), clipRect.GetBottom())); in SuthHodgClip()
135 …lip(newPolygon, Line(clipRect.GetRight(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetBo… in SuthHodgClip()
136 …Clip(newPolygon, Line(clipRect.GetLeft(), clipRect.GetBottom(), clipRect.GetLeft(), clipRect.GetTo… in SuthHodgClip()
/ohos5.0/foundation/arkui/ui_lite/frameworks/render/
H A Drender_base.h94 x <= clipBox_.GetRight() && y <= clipBox_.GetBottom(); in Inbox()
135 return clipBox_.GetBottom(); in GetYMax()

1234567