提交 7248725f 编写于 作者: O openharmony_ci 提交者: Gitee

!215 修复图形代码告警相关

Merge pull request !215 from guyuanzhang/code_clean
......@@ -1290,9 +1290,11 @@ void DrawUtils::DrawTriangleTrueColorBilinear8888(const TriangleScanInfo& in, co
{
DEBUG_PERFORMANCE_TRACE("DrawTriangleTrueColorBilinear8888");
#if ENABLE_FIXED_POINT
DrawFixedTriangleTrueColorBilinear8888Inner(in, screenBuffer, xMax - xMin + 1, bufferMode, in.init.verticalU, in.init.verticalV);
DrawFixedTriangleTrueColorBilinear8888Inner(in, screenBuffer, xMax - xMin + 1, bufferMode,
in.init.verticalU, in.init.verticalV);
#else
DrawTriangleTrueColorBilinear8888Inner(in, screenBuffer, xMax - xMin + 1, bufferMode, in.init.verticalU, in.init.verticalV);
DrawTriangleTrueColorBilinear8888Inner(in, screenBuffer, xMax - xMin + 1, bufferMode, in.init.verticalU,
in.init.verticalV);
#endif
}
#endif
......
......@@ -54,7 +54,7 @@ void UITestViewBounds::TearDown()
container_ = nullptr;
}
UIView* UITestViewBounds::GetTestView()
const UIView* UITestViewBounds::GetTestView()
{
UIKitViewBoundsSetState001();
UIKitViewBoundsMargin001();
......
......@@ -31,7 +31,7 @@ public:
~UITestViewBounds();
void SetUp() override;
void TearDown() override;
UIView* GetTestView() override;
const UIView* GetTestView() override;
/**
* @brief test show or hide view bounds
......
......@@ -42,11 +42,11 @@ public:
{
return radius_;
}
Style* GetBackStyle()
const Style* GetBackStyle()
{
return backgroundStyle_;
}
Style* GetForeStyle()
const Style* GetForeStyle()
{
return foregroundStyle_;
}
......@@ -70,11 +70,11 @@ public:
{
return backgroundRect_.GetHeight();
}
Style* GetBackStyle()
const Style* GetBackStyle()
{
return backgroundStyle_;
}
Style* GetForeStyle()
const Style* GetForeStyle()
{
return foregroundStyle_;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册