/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/draw/ |
H A D | path.cpp | 23 Path::Path() noexcept : impl_(ImplFactory::CreatePathImpl()) {} in Path() function in OHOS::Rosen::Drawing::Path 25 Path::Path(const Path& other) noexcept in Path() function in OHOS::Rosen::Drawing::Path 30 Path& Path::operator=(const Path &other) noexcept in operator =() 36 Path::~Path() {} in ~Path() 188 void Path::AddPath(const Path& src, PathAddMode mode) in AddPath() 203 void Path::ReverseAddPath(const Path& src) in ReverseAddPath() 218 bool Path::Interpolate(const Path& ending, scalar weight, Path& out) in Interpolate() 223 bool Path::BuildFromInterpolate(const Path& src, const Path& ending, scalar weight) in BuildFromInterpolate() 243 void Path::Offset(Path* dst, scalar dx, scalar dy) in Offset() 248 bool Path::Op(const Path& path1, Path& path2, PathOp op) in Op() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/ |
H A D | path_test.cpp | 213 Path path; 685 Path path1; 701 Path path1; 716 Path path1; 730 Path path2; 789 Path out; 805 Path out; 863 Path path1; 864 Path path2; 879 Path path1; [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_path.cpp | 73 Path* path = CastToPath(cPath); in OH_Drawing_PathCopy() 91 Path* path = CastToPath(cPath); in OH_Drawing_PathMoveTo() 101 Path* path = CastToPath(cPath); in OH_Drawing_PathRMoveTo() 111 Path* path = CastToPath(cPath); in OH_Drawing_PathLineTo() 121 Path* path = CastToPath(cPath); in OH_Drawing_PathRLineTo() 132 Path* path = CastToPath(cPath); in OH_Drawing_PathArcTo() 142 Path* path = CastToPath(cPath); in OH_Drawing_PathQuadTo() 152 Path* path = CastToPath(cPath); in OH_Drawing_PathRQuadTo() 162 Path* path = CastToPath(cPath); in OH_Drawing_PathConicTo() 172 Path* path = CastToPath(cPath); in OH_Drawing_PathRConicTo() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ets/ets/testcase/interface/ |
H A D | pathtest.ts | 32 let path:drawing.Path = new drawing.Path(); 51 let path:drawing.Path = new drawing.Path(); 72 let path:drawing.Path = new drawing.Path(); 93 let path:drawing.Path = new drawing.Path(); 116 let path: drawing.Path = new drawing.Path(); 140 let path: drawing.Path = new drawing.Path(); 162 let path: drawing.Path = new drawing.Path(); 173 let path: drawing.Path = new drawing.Path(); 192 let path: drawing.Path = new drawing.Path(); 201 let path: drawing.Path = new drawing.Path(); [all …]
|
H A D | pentest.ts | 34 let pathDst: drawing.Path = new drawing.Path(); 37 let pathSrc: drawing.Path = new drawing.Path(); 57 let pathSrc: drawing.Path = new drawing.Path(); 58 let pathDst: drawing.Path = new drawing.Path();
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_path_test.cpp | 76 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetWidth(), 21.0)); 77 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path1)->GetBounds().GetHeight(), 1.5)); 94 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetWidth(), 100.0)); 95 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path2)->GetBounds().GetHeight(), 40.0)); 112 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetWidth(), 0.0)); 113 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path3)->GetBounds().GetHeight(), 0.0)); 130 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetWidth(), 0.0)); 131 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path4)->GetBounds().GetHeight(), 0.0)); 148 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path5)->GetBounds().GetWidth(), 50.5)); 184 EXPECT_TRUE(IsScalarAlmostEqual(reinterpret_cast<Path*>(path)->GetBounds().GetWidth(), 50.0)); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/draw/ |
H A D | path.h | 72 class DRAWING_API Path { 74 Path() noexcept; 75 Path(const Path& p) noexcept; 76 Path &operator=(const Path& p) noexcept; 77 virtual ~Path(); 368 virtual void AddPath(const Path& src, PathAddMode mode = PathAddMode::APPEND_PATH_ADD_MODE); 385 virtual void ReverseAddPath(const Path& src); 412 bool Interpolate(const Path& ending, scalar weight, Path& out); 421 virtual bool BuildFromInterpolate(const Path& src, const Path& ending, scalar weight); 456 virtual void Offset(Path* dst, scalar dx, scalar dy); [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/ |
H A D | skia_hm_symbol_test.cpp | 49 Path path; 50 Path path1; 51 Path path2; 52 std::vector<Path> paths { path1, path2 }; 66 Path path1; 67 Path path2; 68 std::vector<Path> paths { path1, path2 }; 69 std::vector<Path> multPaths;
|
H A D | skia_path_test.cpp | 68 Path path; 75 Path path2; 108 Path path; 109 Path path2; 123 Path path; 138 Path path; 139 Path path2; 166 Path path;
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
H A D | sdv_async_http_on_tcp.rs | 40 Path: "/data", in sdv_async_client_send_request() 58 Path: "/data", in sdv_async_client_send_request() 75 Path: "/data", in sdv_async_client_send_request() 93 Path: "/data", in sdv_async_client_send_request() 111 Path: "/data", in sdv_async_client_send_request() 139 Path: "/data", in sdv_client_send_request_repeatedly() 152 Path: "/data", in sdv_client_send_request_repeatedly() 181 Path: "/data", in sdv_client_making_multiple_connections()
|
/ohos5.0/docs/en/application-dev/tools/ |
H A D | packing-tool.md | 55 | --hnp-path | No| NA | Path of the native software package to be packed into the HAP file.| NA | 78 | --js-path | No | NA | Path of the JS file. … 79 | --ets-path | No | NA | Path of the ETS file. … 114 | --pack-res-path | No | NA | Path of the **pack.res** file. … 144 | --out-path | Yes | NA | Path of the target file. The file name extension must be .hqf.| 165 | --json-path | Yes | NA | Path of the JSON file. The file name must be **patch.json**.… 166 | --lib-path | No | NA | Path of the library file. | 167 | --ets-path | No | NA | Path of the ETS file. | 168 | --resources-path | No | NA | Path of the resources file. | 244 | --entrycard-path | Yes | NA | Path of the **pack.res** file. … [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/hmsymbol_fuzzer/ |
H A D | hm_symbol_fuzzer.cpp | 38 Path path; in HmSymbolFuzzTest() 39 Path path1; in HmSymbolFuzzTest() 40 Path path2; in HmSymbolFuzzTest() 41 std::vector<Path> paths { path1, path2 }; in HmSymbolFuzzTest() 49 Path path3; in HmSymbolFuzzTest() 50 Path path4; in HmSymbolFuzzTest() 51 std::vector<Path> multPaths {path3, path4}; in HmSymbolFuzzTest()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_hm_symbol.cpp | 26 void SkiaHMSymbol::PathOutlineDecompose(const Path& path, std::vector<Path>& paths) in PathOutlineDecompose() 38 Path pathTmp; in PathOutlineDecompose() 45 const std::vector<Path>& paths, std::vector<Path>& multPaths) in MultilayerPath() 50 for (const Path& pathTmp : paths) { in MultilayerPath() 60 Path pathTmp; in MultilayerPath()
|
H A D | skia_path.h | 48 bool InitWithInterpolate(const Path& srcPath, const Path& endingPath, scalar weight) override; 78 void AddPath(const Path& src, scalar dx, scalar dy, PathAddMode mode) override; 79 void AddPath(const Path& src, PathAddMode mode) override; 81 void AddPath(const Path& src, const Matrix& matrix, PathAddMode mode) override; 82 void ReverseAddPath(const Path& src) override; 87 bool Interpolate(const Path& ending, scalar weight, Path& out) override; 89 …void TransformWithPerspectiveClip(const Matrix& matrix, Path* dst, bool applyPerspectiveClip) over… 91 void Offset(Path* dst, scalar dx, scalar dy) override; 92 bool OpWith(const Path& path1, const Path& path2, PathOp op) override;
|
H A D | skia_hm_symbol.h | 31 static void PathOutlineDecompose(const Path& path, std::vector<Path>& paths); 34 const std::vector<Path>& paths, std::vector<Path>& multPaths);
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | path_impl.h | 33 class Path; variable 50 … virtual bool InitWithInterpolate(const Path& srcPath, const Path& endingPath, scalar weight) = 0; 79 virtual void AddPath(const Path& src, scalar dx, scalar dy, PathAddMode mode) = 0; 80 virtual void AddPath(const Path& src, PathAddMode mode) = 0; 82 virtual void AddPath(const Path& src, const Matrix& matrix, PathAddMode mode) = 0; 83 virtual void ReverseAddPath(const Path& src) = 0; 88 virtual bool Interpolate(const Path& ending, scalar weight, Path& out) = 0; 90 …virtual void TransformWithPerspectiveClip(const Matrix& matrix, Path* dst, bool applyPerspectiveCl… 92 virtual void Offset(Path* dst, scalar dx, scalar dy) = 0; 93 virtual bool OpWith(const Path& path1, const Path& path2, PathOp op) = 0;
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/src/ |
H A D | path_test.cpp | 49 Path path; in TestDrawStar() 109 Path path; in TestMoveTo() 147 Path path; in TestLineTo() 165 Path path; in TestArcTo() 186 Path path; in TestCubicTo() 210 Path path; in TestQuadTo() 235 Path path; in TestAddRect() 264 Path path; in TestAddOval() 292 Path path; in TestAddArc() 316 Path path; in TestAddPoly() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/overdraw/ |
H A D | rs_cpu_overdraw_canvas_listener.cpp | 60 Drawing::Path path; in DrawLine() 68 Drawing::Path path; in DrawRect() 75 Drawing::Path path; in DrawRoundRect() 82 Drawing::Path path; in DrawNestedRoundRect() 91 Drawing::Path path; in DrawArc() 99 Drawing::Path path; in DrawPie() 106 Drawing::Path path; in DrawOval() 113 Drawing::Path path; in DrawCircle() 118 void RSCPUOverdrawCanvasListener::DrawPath(const Drawing::Path& path) in DrawPath() 120 Drawing::Path tPath = path; in DrawPath() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/ |
H A D | rs_path.cpp | 31 std::shared_ptr<RSPath> RSPath::CreateRSPath(const Drawing::Path& path) in CreateRSPath() 40 Drawing::Path drAnimationPath; in CreateRSPath() 47 drPath_ = new Drawing::Path(); in RSPath() 57 const Drawing::Path& RSPath::GetDrawingPath() const in GetDrawingPath() 62 void RSPath::SetDrawingPath(const Drawing::Path& path) in SetDrawingPath() 67 drPath_ = new Drawing::Path(path); in SetDrawingPath() 72 Drawing::Path path; in Reverse()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/path_fuzzer/ |
H A D | path_fuzzer.cpp | 46 Path path; in PathAddFuzzTest() 66 Path path1; in PathOpFuzzTest() 67 Path ending; in PathOpFuzzTest() 68 Path out; in PathOpFuzzTest() 76 Path op; in PathOpFuzzTest() 79 Path path2; in PathOpFuzzTest() 97 Path path; in PathFuzzTest001() 98 Path pathTwo = Path(path); in PathFuzzTest001() 116 Path path; in PathFuzzTest002() 160 Path path; in PathFuzzTest003() [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | async_dir.rs | 20 use std::path::{Path, PathBuf}; 59 pub async fn create_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in create_dir() 88 pub async fn create_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { in create_dir_all() 118 pub async fn remove_dir<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_dir() 144 pub async fn remove_dir_all<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_dir_all() 171 pub async fn read_dir<P: AsRef<Path>>(path: P) -> io::Result<ReadDir> { in read_dir() 206 pub async fn remove_file<P: AsRef<Path>>(path: P) -> io::Result<()> { in remove_file() 237 pub async fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<()> { in rename() argument 273 pub async fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> io::Result<u64> { in copy() argument 322 pub async fn read<P: AsRef<Path>>(path: P) -> io::Result<Vec<u8>> { in read() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/ |
H A D | rs_path_test.cpp | 43 static Drawing::Path CreateDrawingPath() in CreateDrawingPath() 45 Drawing::Path path; in CreateDrawingPath() 68 Drawing::Path path1 = CreateDrawingPath(); 92 Drawing::Path path = CreateDrawingPath(); 105 Drawing::Path path = CreateDrawingPath(); 117 Drawing::Path path = CreateDrawingPath();
|
/ohos5.0/base/security/asset/frameworks/os_dependency/file/src/ |
H A D | de_operator.rs | 20 use std::{fs, path::Path}; 41 let path: &Path = Path::new(&path_str); in create_user_de_dir() 62 let path: &Path = Path::new(&path_str); in delete_user_de_dir()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | hm_symbol.cpp | 23 void DrawingHMSymbol::PathOutlineDecompose(const Path& path, std::vector<Path>& paths) in PathOutlineDecompose() 29 const std::vector<Path>& paths, std::vector<Path>& multPaths) in MultilayerPath()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/recording/ |
H A D | mask_cmd_list.h | 37 MaskPlayer(std::shared_ptr<Path>& path, Brush& brush, const CmdList& cmdList); 38 MaskPlayer(std::shared_ptr<Path>& path, Brush& brush, Pen& pen, const CmdList& cmdList); 47 std::shared_ptr<Path>& path_; 77 bool Playback(std::shared_ptr<Path>& path, Brush& brush) const; 79 bool Playback(std::shared_ptr<Path>& path, Pen& pen, Brush& brush) const; 129 void Playback(std::shared_ptr<Path>& path, const CmdList& cmdList) const;
|