Home
last modified time | relevance | path

Searched refs:path_ (Results 1 - 25 of 137) sorted by relevance

123456

/foundation/arkui/ace_engine/frameworks/core/components/tip/
H A Drosen_render_tip.cpp97 path_.reset(); in PaintTopTip()
98 path_.moveTo(globalArrowPosition.GetX() + arrowOffset, globalArrowPosition.GetY()); in PaintTopTip()
99 path_.quadTo(globalArrowPosition.GetX() + NormalizeToPx(BEZIER_HORIZON_OFFSET_FIRST) + arrowOffset, in PaintTopTip()
103 path_.quadTo(globalArrowPosition.GetX() + NormalizeToPx(BEZIER_HORIZON_OFFSET_THIRD) + arrowOffset, in PaintTopTip()
107 path_.lineTo(globalArrowPosition.GetX() + (childHalfWidth - NormalizeToPx(border_.BottomRightRadius().GetX())), in PaintTopTip()
109 path_.arcTo(NormalizeToPx(border_.BottomRightRadius().GetX()), NormalizeToPx(border_.BottomRightRadius().GetY()), in PaintTopTip()
112 path_.lineTo(globalArrowPosition.GetX() + childHalfWidth, in PaintTopTip()
114 path_.arcTo(NormalizeToPx(border_.TopRightRadius().GetX()), NormalizeToPx(border_.TopRightRadius().GetY()), 0.0f, in PaintTopTip()
118 path_.lineTo(globalArrowPosition.GetX() - (childHalfWidth - NormalizeToPx(border_.TopLeftRadius().GetX())), in PaintTopTip()
120 path_ in PaintTopTip()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/src/
H A Dfile_path.cpp50 FilePath::FilePath(const FilePath &that) : path_(that.path_) in FilePath()
53 FilePath::FilePath(const std::string &path) : path_(path) in FilePath()
62 path_ = that.path_; in operator =()
69 return path_ == that.path_; in operator ==()
74 return path_ != that.path_; in operator !=()
79 return path_ < tha in operator <()
[all...]
/foundation/CastEngine/castengine_wifi_display/services/protocol/rtsp/include/
H A Drtsp_url.h55 path_ = sm.suffix().str(); in Parse()
56 if (username_.empty() && path_.find("?username") != std::string::npos) { in Parse()
57 auto ui = path_.find("?username"); in Parse()
58 auto pi = path_.find("&password"); in Parse()
60 username_ = path_.substr(ui + 10, pi - ui - 10); // 10:matching position in Parse()
61 password_ = path_.substr(pi + 10); // 10:matching position in Parse()
63 username_ = path_.substr(ui + 10); // 10:matching position in Parse()
65 path_ = path_.substr(0, path_ in Parse()
105 std::string path_; global() member in OHOS::Sharing::RtspUrl
[all...]
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/
H A Dtexgine_path.cpp23 return path_; in GetPath()
28 path_ = path; in SetPath()
33 if (path_ != nullptr && oval.GetRect() != nullptr) { in AddOval()
34 path_->AddOval(*oval.GetRect(), static_cast<Drawing::PathDirection>(dir)); in AddOval()
41 if (path_ != nullptr) { in MoveTo()
42 path_->MoveTo(p.fX, p.fY); in MoveTo()
51 if (path_ != nullptr) { in QuadTo()
52 path_->QuadTo(pointL, pointR); in QuadTo()
59 if (path_ != nullptr) { in LineTo()
60 path_ in LineTo()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_path.cpp35 SkiaPath::SkiaPath(const SkiaPath& other) noexcept : path_(other.path_) {} in path_() function
39 path_ = other.path_;
50 return SkParsePath::FromSVGString(str.c_str(), &path_); in InitWithSVGString()
56 SkParsePath::ToSVGString(path_, &skString); in ConvertToSVGString()
63 path_.moveTo(x, y); in MoveTo()
69 path_.lineTo(x, y); in LineTo()
75 path_.arcTo(SkRect::MakeLTRB(pt1X, pt1Y, pt2X, pt2Y), startAngle, sweepAngle, false); in ArcTo()
83 path_ in ArcTo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/bubble/
H A Drosen_render_bubble.cpp219 BuildCompletePath(path_); in PaintBubbleWithArrow()
220 RosenDecorationPainter::PaintShadow(path_, ShadowConfig::DefaultShadowM, skCanvas); in PaintBubbleWithArrow()
221 skCanvas->drawPath(path_, paint); in PaintBubbleWithArrow()
222 skCanvas->clipPath(path_, SkClipOp::kIntersect, true); in PaintBubbleWithArrow()
231 BuildCompletePath(path_); in PaintBubbleWithArrow()
232 RosenDecorationPainter::PaintShadow(path_, ShadowConfig::DefaultShadowM, canvas); in PaintBubbleWithArrow()
234 canvas->DrawPath(path_); in PaintBubbleWithArrow()
235 canvas->ClipPath(path_, RSClipOp::INTERSECT); in PaintBubbleWithArrow()
255 path_.reset(); in PaintTopBubbleInJs()
256 path_ in PaintTopBubbleInJs()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Drosen_render_shape.cpp40 path_.reset(); in CalcSize()
41 path_.moveTo(NormalizePercentToPx(start_.first, false), NormalizePercentToPx(start_.second, true)); in CalcSize()
42 path_.lineTo(NormalizePercentToPx(end_.first, false), NormalizePercentToPx(end_.second, true)); in CalcSize()
44 path_.Reset(); in CalcSize()
45 path_.MoveTo(NormalizePercentToPx(start_.first, false), NormalizePercentToPx(start_.second, true)); in CalcSize()
46 path_.LineTo(NormalizePercentToPx(end_.first, false), NormalizePercentToPx(end_.second, true)); in CalcSize()
60 auto skRect = path_.getBounds(); in CalcSize()
66 auto rect = path_.GetBounds(); in CalcSize()
97 path_.reset(); in CreateRect()
100 path_ in CreateRect()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_graphic.h55 skCanvas_->drawPath(path_, tmpFillPaint); in OnGraphicFill()
58 skCanvas_->drawPath(path_, fillPaint_); in OnGraphicFill()
66 path_.ConvertToSVGString().c_str(), smoothEdge); in OnGraphicFill()
68 if (!path_.IsValid()) { in OnGraphicFill()
79 rsCanvas_->DrawPath(path_); in OnGraphicFill()
83 rsCanvas_->DrawPath(path_); in OnGraphicFill()
99 skCanvas_->drawPath(path_, tmpStrokePaint); in OnGraphicStroke()
102 skCanvas_->drawPath(path_, strokePaint_); in OnGraphicStroke()
110 path_.ConvertToSVGString().c_str(), smoothEdge); in OnGraphicStroke()
112 if (!path_ in OnGraphicStroke()
158 SkPath path_; global() member in OHOS::Ace::NG::SvgGraphic
162 RSRecordingPath path_; global() member in OHOS::Ace::NG::SvgGraphic
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dmotion_path_option.h27 : path_(path), begin_(begin), end_(end), rotate_(rotate) in MotionPathOption()
33 path_ = path; in SetPath()
37 return path_; in GetPath()
72 return !path_.empty(); in IsValid()
77 return (path_ == other.path_ && in operator ==()
84 std::string path_; member in OHOS::Ace::final
H A Danimatable_path.h31 : path_(path), animationOption_(option) {} in AnimatablePath()
42 return path_; in GetValue()
47 path_ = path; in SetValue()
68 std::string path_; member in OHOS::Ace::final
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner.cpp111 path_ = path; in RingtoneScannerObj()
129 RINGTONE_DEBUG_LOG("scan file %{private}s", path_.c_str()); in ScanFile()
147 return callback_->OnScanFinished(err, uri_, path_); in InvokeCallback()
203 path_ = move(realPath); in BootScan()
377 path_ = path; in ScanFileInTraversal()
378 if (RingtoneScannerUtils::IsFileHidden(path_)) { in ScanFileInTraversal()
383 bool flag = (path_.find(ROOT_VIBRATE_PRELOAD_PATH_NOAH_PATH) != std::string::npos) ? true : false; in ScanFileInTraversal()
384 flag |= (path_.find(ROOT_VIBRATE_PRELOAD_PATH_CHINA_PATH) != std::string::npos); in ScanFileInTraversal()
385 flag |= (path_.find(ROOT_VIBRATE_PRELOAD_PATH_OVERSEA_PATH) != std::string::npos); in ScanFileInTraversal()
386 std::string extension = RingtoneScannerUtils::GetFileExtension(path_); in ScanFileInTraversal()
[all...]
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/process_group/src/
H A Dcgroup_controller.cpp36 path_ = path; in CgroupController()
63 : name_(std::move(controller.name_)), path_(std::move(controller.path_)), in CgroupController()
69 path_ = std::move(controller.path_); in operator =()
77 std::string filePath(path_ + "/tasks"); in IsEnabled()
142 filePath = StringPrintf("%s/tasks", path_.c_str()); in AddThreadSchedPolicy()
144 filePath = StringPrintf("%s/%s/tasks", path_.c_str(), subgroup.c_str()); in AddThreadSchedPolicy()
164 filePath = StringPrintf("%s/cgroup.procs", path_.c_str()); in AddThreadGroupSchedPolicy()
166 filePath = StringPrintf("%s/%s/cgroup.procs", path_ in AddThreadGroupSchedPolicy()
[all...]
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_session_name.h26 explicit SoftbusSessionName(std::string path) : path_(path) {} in SoftbusSessionName()
30 return prefix + path_; in ToString()
35 std::string path_; member in OHOS::Storage::DistributedFile::final
/foundation/filemanagement/storage_service/services/storage_manager/innerkits_impl/src/
H A Dvolume_external.cpp42 path_ = path; in SetPath()
76 return path_; in GetPath()
86 path_ = ""; in Reset()
107 if (!parcel.WriteString(path_)) { in Marshalling()
124 obj->path_ = parcel.ReadString(); in Unmarshalling()
/foundation/arkui/ace_engine/frameworks/core/components/svg/
H A Drosen_render_svg_text_path.cpp36 double length = RosenSvgPainter::GetPathLength(path_); in PaintTextPath()
38 PathOffset pathOffset = { offset, startOffset, startOffset, path_ }; in PaintTextPath()
41 return RosenSvgPainter::GetPathOffset(path_, pathOffset.current); in PaintTextPath()
46 double length = RosenSvgPainter::GetPathLength(path_); in MeasureTextPathBounds()
48 PathOffset pathOffset = { offset, startOffset, startOffset, path_ }; in MeasureTextPathBounds()
65 return RosenSvgPainter::GetPathOffset(path_, pathOffset.current); in MeasureTextPathBounds()
H A Drender_svg_text_path.h49 return path_; in GetPath()
54 path_ = path; in SetPath()
69 std::string path_; member in OHOS::Ace::RenderSvgTextPath
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_motion_path_option.h29 RSMotionPathOption(const std::string& path) : path_(path) {} in RSMotionPathOption()
35 return path_; in GetPath()
79 std::string path_; member in OHOS::Rosen::RSMotionPathOption
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp50 path_ = path; in MediaScannerObj()
88 MEDIA_DEBUG_LOG("scan file %{private}s", path_.c_str()); in ScanFile()
94 {KEY_OPT_FILE, path_}, {KEY_OPT_TYPE, OptType::SCAN}}; in ScanFile()
113 {KEY_OPT_FILE, path_}, {KEY_OPT_TYPE, OptType::SCAN}}; in ScanDir()
151 return callback_->OnScanFinished(err, uri_, path_); in InvokeCallback()
374 MEDIA_ERR_LOG("invaid path %{private}s, not managed by scanner", path_.c_str()); in GetParentDirInfo()
376 {KEY_OPT_FILE, path_}, {KEY_OPT_TYPE, OptType::SCAN}}; in GetParentDirInfo()
396 {KEY_OPT_FILE, path_}, {KEY_OPT_TYPE, OptType::SCAN}}; in GetParentDirInfo()
483 {KEY_OPT_FILE, path_}, {KEY_OPT_TYPE, OptType::SCAN}}; in BuildData()
490 {KEY_OPT_FILE, path_}, {KEY_OPT_TYP in BuildData()
[all...]
/foundation/arkui/ui_lite/frameworks/common/
H A Dimage.cpp31 Image::Image() : imageInfo_(nullptr), path_(nullptr), srcType_(IMG_SRC_UNKNOWN), mallocFlag_(false) {} in Image()
36 CacheManager::GetInstance().Close(path_); in ~Image()
41 if (path_ != nullptr) { in ~Image()
42 UIFree(reinterpret_cast<void*>(path_)); in ~Image()
43 path_ = nullptr; in ~Image()
52 } else if ((srcType_ == IMG_SRC_FILE) && (path_ != nullptr)) { in GetHeader()
53 CacheManager::GetInstance().GetImageHeader(path_, header); in GetHeader()
131 path_ = imagePath; in SetStandardSrc()
185 path_ = imagePath; in SetLiteSrc()
192 if (path_ ! in SetSrc()
[all...]
/foundation/multimedia/ringtone_library/services/utils/src/
H A Dringtone_privacy_manager.cpp28 RingtonePrivacyManager::RingtonePrivacyManager(const string &path, const string &mode) : path_(path), mode_(mode) in RingtonePrivacyManager()
58 if (!IsTargetExtension(path_)) { in Open()
61 return OpenOriginFd(path_, mode_); in Open()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dpage_info.h36 : pageId_(pageId), url_(std::move(url)), path_(std::move(path)) in PageInfo()
50 return path_; in GetPagePath()
96 std::string path_; member in OHOS::Ace::NG::PageInfo
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dmedia_sink.cpp27 return path_; in GetPath()
41 path_ = path; in SetPath()
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp59 if (path_ != nullptr && path_->strokeCount_ == 0) { in BeginPath()
60 delete path_; in BeginPath()
61 path_ = nullptr; in BeginPath()
64 path_ = new UICanvasPath(); in BeginPath()
65 if (path_ == nullptr) { in BeginPath()
80 if (path_ == nullptr) { in MoveTo()
84 path_->startPos_ = point; in MoveTo()
86 if ((path_->cmd_.Size() != 0) && (path_ in MoveTo()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/blank/
H A Dblank_paint_method.h43 RSPath path_; member
45 RSRecordingPath path_; member
/foundation/ability/idl_tool/util/
H A Dfile.h39 return path_; in GetPath()
88 String path_; member in OHOS::Idl::File

Completed in 11 milliseconds

123456