Home
last modified time | relevance | path

Searched refs:transform (Results 1 - 25 of 391) sorted by relevance

12345678910>>...16

/foundation/arkui/ace_engine/frameworks/core/components/transform/
H A Drosen_render_transform.cpp16 #include "core/components/transform/rosen_render_transform.h"
42 UpdateTransform(); // Update transform param to Matrix. in UpdateTransformLayer()
46 auto transform = UpdateWithEffectMatrix(transform_); in UpdateTransformLayer() local
47 if (transform == previousTransformMatrix_ && !firstUpdateTransform_) { in UpdateTransformLayer()
51 SyncTransformToRsNode(rsNode, transform); in UpdateTransformLayer()
52 previousTransformMatrix_ = transform; in UpdateTransformLayer()
61 DecomposedTransform transform; in SyncTransformToRsNode() local
62 if (!TransformUtil::DecomposeTransform(transform, transformMatrix)) { in SyncTransformToRsNode()
70 rsNode->SetTranslate(transform.translate[0], transform in SyncTransformToRsNode()
127 Matrix4 transform = GetEffectiveTransform(GetPosition()); GetTransformPoint() local
133 Matrix4 transform = GetEffectiveTransform(GetTransitionPaintRect().GetOffset()); GetTransformRect() local
147 Matrix4 transform = GetTransformByOffset(UpdateWithEffectMatrix(transform_), origin_); GetEffectiveTransform() local
[all...]
H A Dtransform_element.cpp16 #include "core/components/transform/transform_element.h"
32 RefPtr<TransformComponent> transform = AceType::DynamicCast<TransformComponent>(component_); in PerformBuild() local
34 const auto& newComponent = transform ? transform->GetChild() : nullptr; in PerformBuild()
36 if (transform) { in PerformBuild()
37 AddCardTransform(transform->GetTransitionEffect()); in PerformBuild()
H A Drender_transform.cpp16 #include "core/components/transform/render_transform.h"
19 #include "core/components/transform/transform_component.h"
267 const std::vector<AnimatableTransformOperation>& transformEffects, Matrix4& transform) in ParseTransformEffects()
270 transform = transform * ParseTransformEffect(effect); in ParseTransformEffects()
308 LOGE("unknown transform operation type %{public}d", static_cast<int32_t>(effect.type_)); in ParseTransformEffect()
349 LOGE("Update transform failed. context is null."); in UpdateTransform()
360 // transform from appearing Transform to identity matrix in UpdateTransform()
373 auto transform = AceType::DynamicCast<TransformComponent>(component); in Update() local
374 if (transform in Update()
266 ParseTransformEffects( const std::vector<AnimatableTransformOperation>& transformEffects, Matrix4& transform) ParseTransformEffects() argument
609 Matrix4 transform = GetTransformByOffset() local
[all...]
H A Drender_transform.h28 #include "core/components/transform/click_spring_effect.h"
153 Matrix4 transform = GetTransformByOffset(UpdateWithEffectMatrix(transform_), origin_); in GetTransformMatrix() local
155 transform = GetTransformByOffset(transform, offset); in GetTransformMatrix()
157 return transform; in GetTransformMatrix()
169 void ParseTransformEffects(const std::vector<AnimatableTransformOperation>& transformEffects, Matrix4& transform);
H A Dclick_spring_effect.cpp97 auto transform = AceType::DynamicCast<RenderTransform>(node); in MarkRender() local
98 if (transform == nullptr) { in MarkRender()
101 transform->SetPendingUpdateTransformLayer(); in MarkRender()
/foundation/graphic/graphic_utils_lite/test/
H A Dtransform_unit_test.cpp16 #include "gfx_utils/transform.h"
121 TransformMap* transform = new TransformMap(Rect(1, 1, 1, 1)); in HWTEST_F() local
122 if (transform == nullptr) { in HWTEST_F()
126 EXPECT_EQ(transform->IsInvalid(), false); in HWTEST_F()
127 delete transform; in HWTEST_F()
138 TransformMap* transform = new TransformMap(Rect(1, 1, 1, 1)); in HWTEST_F() local
139 if (transform == nullptr) { in HWTEST_F()
143 EXPECT_EQ(transform->GetTransMapRect().GetLeft(), 1); in HWTEST_F()
144 EXPECT_EQ(transform->GetTransMapRect().GetTop(), 1); in HWTEST_F()
145 EXPECT_EQ(transform in HWTEST_F()
[all...]
/foundation/window/window_manager/utils/test/unittest/
H A Dwindow_helper_test.cpp147 Transform transform; in HWTEST_F() local
148 transform.scaleX_ = 0.66f; in HWTEST_F()
149 transform.scaleY_ = 1.5f; in HWTEST_F()
150 transform.rotationY_ = 30; in HWTEST_F()
151 transform.translateX_ = 100; in HWTEST_F()
152 transform.translateY_ = 200; in HWTEST_F()
153 transform.translateZ_ = 50; in HWTEST_F()
155 TransformHelper::Vector3 pivotPos = { rect.posX_ + transform.pivotX_ * rect.width_, in HWTEST_F()
156 rect.posY_ + transform.pivotY_ * rect.height_, 0 }; in HWTEST_F()
158 mat *= WindowHelper::ComputeWorldTransformMat4(transform); in HWTEST_F()
177 Transform transform; HWTEST_F() local
197 Transform transform; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/animation/
H A Dcard_transition_controller.cpp19 #include "core/components/transform/transform_element.h"
146 auto transform = weakTransform.Upgrade(); in CreateCardTranslateAnimation()
147 if (transform) { in CreateCardTranslateAnimation()
148 transform->Translate(Dimension(offset.GetX()), Dimension(offset.GetY())); in CreateCardTranslateAnimation()
162 auto transform = weakTransform.Upgrade(); in CreateCardScaleAnimation() local
163 if (!transform) { in CreateCardScaleAnimation()
164 LOGE("create card scale animation failed. transform is null."); in CreateCardScaleAnimation()
172 transform->SetDisableClickEffect(true); in CreateCardScaleAnimation()
173 transform->ResetTransform(); in CreateCardScaleAnimation()
174 transform in CreateCardScaleAnimation()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Dsvg_transform.h38 static Matrix4 CreateMatrix4(const std::string& transform);
39 static TransformInfo CreateInfoFromString(const std::string& transform);
44 static std::map<std::string, std::vector<float>> CreateMap(const std::string& transform);
46 static Matrix4 CreateMatrixFromMap(const std::map<std::string, std::vector<float>>& transform);
47 static TransformInfo CreateInfoFromMap(const std::map<std::string, std::vector<float>>& transform);
H A Drender_svg.cpp19 #include "frameworks/core/components/transform/render_transform.h"
225 RefPtr<RenderTransform> transform = nullptr; in UpdateTransform() local
228 transform = AceType::DynamicCast<RenderTransform>(parent); in UpdateTransform()
229 if (transform) { in UpdateTransform()
234 if (!transform) { in UpdateTransform()
238 transform->Translate(Dimension(ConvertDimensionToPx(x_, LengthType::VERTICAL)), in UpdateTransform()
242 transform->RotateZ(rootRotate_); in UpdateTransform()
247 transform->Translate(Dimension(values[0]), Dimension(values[1])); in UpdateTransform()
249 transform->Scale(values[0], values[1]); in UpdateTransform()
251 transform in UpdateTransform()
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_canvas.cpp52 TransAffine transform; in DoRender() local
54 InitRenderAndTransform(gfxDstBuffer, renderBuffer, rect, transform, style, paint); in DoRender()
61 SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoRender()
78 RenderGradient(paint, rasterizer, transform, renBase, renderBuffer, allocator, invalidatedArea); in DoRender()
101 TransAffine transform; in DoDrawShadow() local
103 DrawCanvas::InitRenderAndTransform(gfxDstBuffer, renderBuffer, rect, transform, style, paint); in DoDrawShadow()
105 transform.Translate(paint.GetShadowOffsetX(), paint.GetShadowOffsetY()); in DoDrawShadow()
111 DrawCanvas::SetRasterizer(*pathParam->vertices, paint, rasterizer, transform, isStroke); in DoDrawShadow()
149 TransAffine& transform, in InitRenderAndTransform()
155 transform in InitRenderAndTransform()
146 InitRenderAndTransform(BufferInfo& gfxDstBuffer, RenderBuffer& renderBuffer, const Rect& rect, TransAffine& transform, const Style& style, const Paint& paint) InitRenderAndTransform() argument
162 SetRasterizer(UICanvasVertices& vertices, const Paint& paint, RasterizerScanlineAntialias& rasterizer, TransAffine& transform, const bool& isStroke) SetRasterizer() argument
200 RenderGradient(const Paint& paint, RasterizerScanlineAntialias& rasterizer, TransAffine& transform, RenderBase& renBase, RenderBuffer& renderBuffer, FillBase& allocator, const Rect& invalidatedArea) RenderGradient() argument
255 BuildRadialGradientMatrix(const Paint& paint, TransAffine& gradientMatrix, TransAffine& transform, float& startRadius, float& endRadius) BuildRadialGradientMatrix() argument
[all...]
H A Ddraw_canvas.h71 TransAffine& transform,
78 TransAffine& transform,
87 TransAffine& transform,
97 TransAffine& transform, in BuildLineGradientMatrix()
105 gradientMatrix *= transform; in BuildLineGradientMatrix()
113 TransAffine& transform,
95 BuildLineGradientMatrix(const Paint& paint, TransAffine& gradientMatrix, TransAffine& transform, float& distance) BuildLineGradientMatrix() argument
/foundation/arkui/ace_engine/interfaces/napi/kits/componentutils/
H A Djs_component_utils.cpp56 napi_value transform = nullptr; in JSGetRectangleById() local
107 napi_create_array(env, &transform); in JSGetRectangleById()
149 napi_set_element(env, transform, m00, matrix4[m00]); in JSGetRectangleById()
150 napi_set_element(env, transform, m01, matrix4[m10]); in JSGetRectangleById()
151 napi_set_element(env, transform, m02, matrix4[m20]); in JSGetRectangleById()
152 napi_set_element(env, transform, m03, matrix4[m30]); in JSGetRectangleById()
153 napi_set_element(env, transform, m10, matrix4[m01]); in JSGetRectangleById()
154 napi_set_element(env, transform, m11, matrix4[m11]); in JSGetRectangleById()
155 napi_set_element(env, transform, m12, matrix4[m21]); in JSGetRectangleById()
156 napi_set_element(env, transform, m1 in JSGetRectangleById()
[all...]
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_dirty_manager.cpp148 void SceneSessionDirtyManager::CalNotRotateTransform(const sptr<SceneSession>& sceneSession, Matrix3f& transform, in CalNotRotateTransform() argument
176 transform = transform.Translate(translate).Rotate(rotate).Scale(scale, sceneSession->GetPivotX(), in CalNotRotateTransform()
178 transform = transform.Inverse(); in CalNotRotateTransform()
181 void SceneSessionDirtyManager::CalTransform(const sptr<SceneSession>& sceneSession, Matrix3f& transform, in CalTransform() argument
188 transform = Matrix3f::IDENTITY; in CalTransform()
197 transform = transform.Translate(translate); in CalTransform()
198 transform in CalTransform()
486 Matrix3f transform; AddModalExtensionWindowInfo() local
656 Matrix3f transform; GetWindowInfo() local
793 Matrix3f transform = Matrix3f::IDENTITY; CoordinateSystemHostWindowToScreen() local
802 CalRectInScreen(const Matrix3f& transform, const SecRectInfo& secRectInfo) CalRectInScreen() argument
865 auto transform = CoordinateSystemHostWindowToScreen(hostTransform, secRectInfo); GetSecComponentWindowInfo() local
[all...]
H A Dscene_input_manager.cpp53 a.transform != b.transform) { in operator ==()
95 a.pointerChangeAreas.size() != b.pointerChangeAreas.size() || a.transform.size() != b.transform.size()) { in operator ==()
118 if (a.transform != b.transform) { in operator ==()
149 std::string DumpTransformInDisplayInfo(const std::vector<float>& transform) in DumpTransformInDisplayInfo() argument
152 for (float transformItem : transform) { in DumpTransformInDisplayInfo()
167 " transform: " + DumpTransformInDisplayInfo(info.transform); in DumpDisplayInfo()
206 auto transform = Matrix3f::IDENTITY; ConstructDisplayInfos() local
[all...]
/foundation/graphic/graphic_surface/interfaces/inner_api/surface/
H A Dsurface_utils.h34 // Compute transform matrix
36 sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop);
38 sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop);
49 void ComputeTransformByMatrix(GraphicTransformType& transform,
51 void ComputeTransformByMatrixV2(GraphicTransformType& transform,
/foundation/arkui/ace_engine/test/unittest/base/
H A Dtransform_util_test.cpp331 Matrix4 transform = Matrix4::CreateIdentity(); in HWTEST_F() local
332 transform.Set(3, 3, 0.000001f); in HWTEST_F()
333 TransformUtil::DecomposeTransform(out, transform); in HWTEST_F()
334 EXPECT_EQ(transform.Get(3, 3) == 0.000001f, true); in HWTEST_F()
336 transform.Set(3, 3, 1.0f); in HWTEST_F()
338 transform.Set(3, 0, 1.0f); in HWTEST_F()
339 transform.Set(3, 1, 1.0f); in HWTEST_F()
340 transform.Set(3, 2, 1.0f); in HWTEST_F()
341 TransformUtil::DecomposeTransform(out, transform); in HWTEST_F()
344 transform in HWTEST_F()
[all...]
/foundation/window/window_manager/utils/include/
H A Dwindow_helper.h393 // This method is used to update transform when rect changed, but world transform matrix should not change.
395 Transform& transform) in GetTransformFromWorldMat4()
397 TransformHelper::Vector3 pivotPos = { rect.posX_ + transform.pivotX_ * rect.width_, in GetTransformFromWorldMat4()
398 rect.posY_ + transform.pivotY_ * rect.height_, 0 }; in GetTransformFromWorldMat4()
403 transform.scaleX_ = scale.x_; in GetTransformFromWorldMat4()
404 transform.scaleY_ = scale.y_; in GetTransformFromWorldMat4()
405 transform.scaleZ_ = scale.z_; in GetTransformFromWorldMat4()
406 transform.translateX_ = translation.x_; in GetTransformFromWorldMat4()
407 transform in GetTransformFromWorldMat4()
394 GetTransformFromWorldMat4(const TransformHelper::Matrix4& inWorldMat, const Rect& rect, Transform& transform) GetTransformFromWorldMat4() argument
411 ComputeWorldTransformMat4(const Transform& transform) ComputeWorldTransformMat4() argument
[all...]
/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dsurface_utils_test.cpp215 GraphicTransformType transform = GraphicTransformType::GRAPHIC_FLIP_H; in HWTEST_F() local
219 utils->ComputeTransformMatrix(matrix, TRANSFORM_MATRIX_SIZE, tmpBuffer, transform, crop); in HWTEST_F()
221 utils->ComputeTransformMatrixV2(matrix, TRANSFORM_MATRIX_SIZE, tmpBuffer, transform, crop); in HWTEST_F()
225 utils->ComputeTransformMatrix(matrix, 16, buffer, transform, crop); in HWTEST_F()
227 utils->ComputeTransformMatrixV2(matrix, 16, buffer, transform, crop); in HWTEST_F()
254 GraphicTransformType transform = GraphicTransformType::GRAPHIC_FLIP_H; in HWTEST_F() local
258 utils->ComputeTransformMatrix(matrix, 16, buffer, transform, crop); in HWTEST_F()
260 utils->ComputeTransformMatrixV2(matrix, 16, buffer, transform, crop); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/pipeline/
H A Drs_render_thread_visitor_test.cpp1206 GraphicTransformType transform = GraphicTransformType::GRAPHIC_FLIP_H_ROT90; in HWTEST_F() local
1207 visitor.CacRotationFromTransformType(transform, bounds); in HWTEST_F()
1210 transform = GraphicTransformType::GRAPHIC_FLIP_V_ROT90; in HWTEST_F()
1211 visitor.CacRotationFromTransformType(transform, bounds); in HWTEST_F()
1214 transform = GraphicTransformType::GRAPHIC_FLIP_H_ROT180; in HWTEST_F()
1215 visitor.CacRotationFromTransformType(transform, bounds); in HWTEST_F()
1218 transform = GraphicTransformType::GRAPHIC_FLIP_V_ROT180; in HWTEST_F()
1219 visitor.CacRotationFromTransformType(transform, bounds); in HWTEST_F()
1222 transform = GraphicTransformType::GRAPHIC_FLIP_H_ROT270; in HWTEST_F()
1223 visitor.CacRotationFromTransformType(transform, bound in HWTEST_F()
1329 GraphicTransformType transform = GraphicTransformType::GRAPHIC_FLIP_H_ROT90; HWTEST_F() local
1367 GraphicTransformType transform = GraphicTransformType::GRAPHIC_ROTATE_NONE; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_hwc_prevalidate_util.cpp101 RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) in CreateSurfaceNodeLayerInfo()
117 info.transform = static_cast<int>(transform); in CreateSurfaceNodeLayerInfo()
131 " usage: %{public}" PRIu64 ", format: %{public}d, transform: %{public}d, fps: %{public}d", in CreateSurfaceNodeLayerInfo()
134 zorder, info.usage, info.format, info.transform, fps); in CreateSurfaceNodeLayerInfo()
178 " usage: %{public}" PRIu64 ", format: %{public}d, transform: %{public}d, fps: %{public}d", in CreateDisplayNodeLayerInfo()
181 zorder, info.usage, info.format, info.transform, fps); in CreateDisplayNodeLayerInfo()
186 RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) in CreateUIFirstLayerInfo()
200 info.transform = static_cast<int>(transform); in CreateUIFirstLayerInfo()
100 CreateSurfaceNodeLayerInfo(uint32_t zorder, RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) CreateSurfaceNodeLayerInfo() argument
185 CreateUIFirstLayerInfo( RSSurfaceRenderNode::SharedPtr node, GraphicTransformType transform, uint32_t fps, RequestLayerInfo &info) CreateUIFirstLayerInfo() argument
273 auto transform = RSUniRenderUtil::GetLayerTransform(*node, screenInfo); EmplaceSurfaceNodeLayer() local
307 auto transform = RSUniRenderUtil::GetLayerTransform(*iter.second, screenInfo); CollectUIFirstLayerInfo() local
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_base_render_util_test.cpp883 auto transform = RSBaseRenderUtil::GetRotateTransform(surface->GetTransform()); in HWTEST_F() local
884 ASSERT_EQ(transform, GraphicTransformType::GRAPHIC_ROTATE_NONE); in HWTEST_F()
899 auto transform = RSBaseRenderUtil::GetRotateTransform(surface->GetTransform()); in HWTEST_F() local
900 ASSERT_EQ(transform, GraphicTransformType::GRAPHIC_ROTATE_90); in HWTEST_F()
915 auto transform = RSBaseRenderUtil::GetRotateTransform(surface->GetTransform()); in HWTEST_F() local
916 ASSERT_EQ(transform, GraphicTransformType::GRAPHIC_ROTATE_180); in HWTEST_F()
930 auto transform = RSBaseRenderUtil::GetFlipTransform(surface->GetTransform()); in HWTEST_F() local
931 ASSERT_EQ(transform, GraphicTransformType::GRAPHIC_ROTATE_NONE); in HWTEST_F()
946 auto transform = RSBaseRenderUtil::GetFlipTransform(surface->GetTransform()); in HWTEST_F() local
947 ASSERT_EQ(transform, GraphicTransformTyp in HWTEST_F()
958 auto transform = RSBaseRenderUtil::GetFlipTransform(GraphicTransformType::GRAPHIC_FLIP_H_ROT180); HWTEST_F() local
970 auto transform = RSBaseRenderUtil::GetFlipTransform(GraphicTransformType::GRAPHIC_FLIP_H_ROT270); HWTEST_F() local
982 auto transform = RSBaseRenderUtil::GetFlipTransform(GraphicTransformType::GRAPHIC_FLIP_V_ROT180); HWTEST_F() local
994 auto transform = RSBaseRenderUtil::GetFlipTransform(GraphicTransformType::GRAPHIC_FLIP_V_ROT270); HWTEST_F() local
1006 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_ROTATE_90); HWTEST_F() local
1018 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_ROTATE_270); HWTEST_F() local
1030 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_FLIP_H_ROT90); HWTEST_F() local
1042 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_FLIP_H_ROT270); HWTEST_F() local
1054 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_FLIP_V_ROT90); HWTEST_F() local
1066 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_FLIP_V_ROT270); HWTEST_F() local
1078 auto transform = RSBaseRenderUtil::ClockwiseToAntiClockwiseTransform(GraphicTransformType::GRAPHIC_ROTATE_NONE); HWTEST_F() local
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test.cpp234 Matrix3f transform; in HWTEST_F() local
237 manager_->CalNotRotateTransform(nullptr, transform); in HWTEST_F()
240 manager_->CalNotRotateTransform(sceneSession, transform); in HWTEST_F()
250 manager_->CalNotRotateTransform(sceneSession, transform); in HWTEST_F()
254 manager_->CalNotRotateTransform(sceneSession, transform); in HWTEST_F()
258 manager_->CalNotRotateTransform(sceneSession, transform); in HWTEST_F()
262 manager_->CalNotRotateTransform(sceneSession, transform); in HWTEST_F()
267 manager_->CalNotRotateTransform(sceneSessionWithNullProperty, transform); in HWTEST_F()
286 Matrix3f transform; in HWTEST_F() local
287 manager_->CalTransform(nullptr, transform); in HWTEST_F()
649 Matrix3f transform; HWTEST_F() local
675 Matrix3f transform; HWTEST_F() local
710 Matrix3f transform; HWTEST_F() local
[all...]
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/
H A Dtexture_layer.cpp103 GraphicTransformType transform = GraphicTransformType::GRAPHIC_ROTATE_BUTT; in RotationToTransform() local
106 transform = GraphicTransformType::GRAPHIC_ROTATE_NONE; in RotationToTransform()
109 transform = GraphicTransformType::GRAPHIC_ROTATE_90; in RotationToTransform()
112 transform = GraphicTransformType::GRAPHIC_ROTATE_180; in RotationToTransform()
115 transform = GraphicTransformType::GRAPHIC_ROTATE_270; in RotationToTransform()
118 transform = GraphicTransformType::GRAPHIC_ROTATE_NONE; in RotationToTransform()
121 return transform; in RotationToTransform()
163 auto transform = RotationToTransform(transform_); in CreateNativeWindow() local
164 producerSurface_->SetTransformHint(transform); in CreateNativeWindow()
/foundation/graphic/graphic_surface/surface/src/
H A Dsurface_utils.cpp112 void SurfaceUtils::ComputeTransformByMatrix(GraphicTransformType& transform, in ComputeTransformByMatrix() argument
121 switch (transform) { in ComputeTransformByMatrix()
163 sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop) in ComputeTransformMatrix()
173 ComputeTransformByMatrix(transform, &transformMatrix); in ComputeTransformMatrix()
200 void SurfaceUtils::ComputeTransformByMatrixV2(GraphicTransformType& transform, in ComputeTransformByMatrixV2() argument
209 switch (transform) { in ComputeTransformByMatrixV2()
251 sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop) in ComputeTransformMatrixV2()
260 switch (transform) { in ComputeTransformMatrixV2()
262 transform = GraphicTransformType::GRAPHIC_ROTATE_270; in ComputeTransformMatrixV2()
265 transform in ComputeTransformMatrixV2()
162 ComputeTransformMatrix(float matrix[MATRIX_ARRAY_SIZE], uint32_t matrixSize, sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop) ComputeTransformMatrix() argument
250 ComputeTransformMatrixV2(float matrix[MATRIX_ARRAY_SIZE], uint32_t matrixSize, sptr<SurfaceBuffer>& buffer, GraphicTransformType& transform, Rect& crop) ComputeTransformMatrixV2() argument
[all...]

Completed in 19 milliseconds

12345678910>>...16