提交 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 ...@@ -1290,9 +1290,11 @@ void DrawUtils::DrawTriangleTrueColorBilinear8888(const TriangleScanInfo& in, co
{ {
DEBUG_PERFORMANCE_TRACE("DrawTriangleTrueColorBilinear8888"); DEBUG_PERFORMANCE_TRACE("DrawTriangleTrueColorBilinear8888");
#if ENABLE_FIXED_POINT #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 #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
} }
#endif #endif
......
...@@ -54,7 +54,7 @@ void UITestViewBounds::TearDown() ...@@ -54,7 +54,7 @@ void UITestViewBounds::TearDown()
container_ = nullptr; container_ = nullptr;
} }
UIView* UITestViewBounds::GetTestView() const UIView* UITestViewBounds::GetTestView()
{ {
UIKitViewBoundsSetState001(); UIKitViewBoundsSetState001();
UIKitViewBoundsMargin001(); UIKitViewBoundsMargin001();
......
...@@ -31,7 +31,7 @@ public: ...@@ -31,7 +31,7 @@ public:
~UITestViewBounds(); ~UITestViewBounds();
void SetUp() override; void SetUp() override;
void TearDown() override; void TearDown() override;
UIView* GetTestView() override; const UIView* GetTestView() override;
/** /**
* @brief test show or hide view bounds * @brief test show or hide view bounds
......
...@@ -42,11 +42,11 @@ public: ...@@ -42,11 +42,11 @@ public:
{ {
return radius_; return radius_;
} }
Style* GetBackStyle() const Style* GetBackStyle()
{ {
return backgroundStyle_; return backgroundStyle_;
} }
Style* GetForeStyle() const Style* GetForeStyle()
{ {
return foregroundStyle_; return foregroundStyle_;
} }
...@@ -70,11 +70,11 @@ public: ...@@ -70,11 +70,11 @@ public:
{ {
return backgroundRect_.GetHeight(); return backgroundRect_.GetHeight();
} }
Style* GetBackStyle() const Style* GetBackStyle()
{ {
return backgroundStyle_; return backgroundStyle_;
} }
Style* GetForeStyle() const Style* GetForeStyle()
{ {
return foregroundStyle_; return foregroundStyle_;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册