/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/svg/ |
H A D | render_svg_path.cpp | 67 auto svgPath = weak.Upgrade(); in PrepareSelfAnimation() local 68 if (!svgPath) { in PrepareSelfAnimation() 72 svgPath->SetWeight(value); in PrepareSelfAnimation() 73 svgPath->MarkNeedRender(true); in PrepareSelfAnimation()
|
H A D | render_svg_polygon.cpp | 70 auto svgPath = weak.Upgrade(); in PrepareSelfAnimation() local 71 if (!svgPath) { in PrepareSelfAnimation() 75 svgPath->SetWeight(value); in PrepareSelfAnimation() 76 svgPath->MarkNeedRender(true); in PrepareSelfAnimation()
|
/ohos5.0/foundation/window/window_manager/dmserver/test/unittest/ |
H A D | display_cutout_controller_test.cpp | 75 std::string svgPath = "m10"; variable 76 controller->SetCutoutSvgPath(displayId, svgPath); 77 controller->SetCutoutSvgPath(displayId, svgPath); 91 std::string svgPath = "m10"; variable 92 controller->SetCutoutSvgPath(displayId, svgPath); 168 std::string svgPath = "M 100,100 m -75,0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0 z"; variable 169 DMRect rect = controller->CalcCutoutBoundingRect(svgPath);
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | display_cutout_controller.cpp | 32 void DisplayCutoutController::SetBuiltInDisplayCutoutSvgPath(const std::string& svgPath) in SetBuiltInDisplayCutoutSvgPath() argument 34 SetCutoutSvgPath(0, svgPath); in SetBuiltInDisplayCutoutSvgPath() 57 void DisplayCutoutController::SetCutoutSvgPath(DisplayId displayId, const std::string& svgPath) in SetCutoutSvgPath() argument 59 WLOGFI("Set SvgPath: %{public}s", svgPath.c_str()); in SetCutoutSvgPath() 61 svgPaths_[displayId].emplace_back(svgPath); in SetCutoutSvgPath() 64 pathVec.emplace_back(svgPath); in SetCutoutSvgPath() 67 DMRect boundingRect = CalcCutoutBoundingRect(svgPath); in SetCutoutSvgPath() 118 DMRect DisplayCutoutController::CalcCutoutBoundingRect(std::string svgPath) in CalcCutoutBoundingRect() argument 122 if (!SkParsePath::FromSVGString(svgPath.c_str(), &skCutoutSvgPath)) { in CalcCutoutBoundingRect()
|
/ohos5.0/foundation/window/window_manager/dmserver/include/ |
H A D | display_cutout_controller.h | 41 void SetCutoutSvgPath(DisplayId displayId, const std::string& svgPath); 45 void SetBuiltInDisplayCutoutSvgPath(const std::string& svgPath); 56 DMRect CalcCutoutBoundingRect(std::string svgPath);
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/ |
H A D | screen_scene_config.h | 40 static void SetCutoutSvgPath(uint64_t displayId, const std::string& svgPath); 41 static void SetSubCutoutSvgPath(const std::string& svgPath); 75 static DMRect CalcCutoutBoundaryRect(const std::string svgPath);
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_scene_config.cpp | 400 void ScreenSceneConfig::SetCutoutSvgPath(uint64_t displayId, const std::string& svgPath) in SetCutoutSvgPath() argument 403 cutoutBoundaryRectMap_[displayId].emplace_back(CalcCutoutBoundaryRect(svgPath)); in SetCutoutSvgPath() 406 void ScreenSceneConfig::SetSubCutoutSvgPath(const std::string& svgPath) in SetSubCutoutSvgPath() argument 409 subCutoutBoundaryRect_.emplace_back(CalcCutoutBoundaryRect(svgPath)); in SetSubCutoutSvgPath() 412 DMRect ScreenSceneConfig::CalcCutoutBoundaryRect(std::string svgPath) in CalcCutoutBoundaryRect() argument 416 if (!SkParsePath::FromSVGString(svgPath.c_str(), &skCutoutSvgPath)) { in CalcCutoutBoundaryRect()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/ |
H A D | svg_image.cpp | 68 std::string svgPath = GetImagePath(); in LoadLocalImage() local 76 auto pos = svgPath.find_last_of('/'); in LoadLocalImage() 78 realPath = svgPath.substr(0, pos + 1) + uri; in LoadLocalImage()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/svg/ |
H A D | parse_testtwo_ng.cpp | 373 auto svgPath = AceType::DynamicCast<SvgPath>(svg->children_.at(0)); in ParsePath() local 374 EXPECT_NE(svgPath, nullptr); in ParsePath() 375 auto pathDeclaration = svgPath->d_; in ParsePath()
|
H A D | parse_test_ng.cpp | 403 auto svgPath = AceType::DynamicCast<SvgPath>(svg->children_.at(0)); in ParsePath() local 404 EXPECT_NE(svgPath, nullptr); in ParsePath() 405 auto pathDeclaration = svgPath->d_; in ParsePath() 584 auto svgPath = svgDom->svgContext_->GetSvgNodeById(HREF); variable 585 auto pathDeclaration = svgPath->attributes_;
|