Home
last modified time | relevance | path

Searched refs:segments (Results 1 - 25 of 38) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/navigation/
H A Dsem_ver.cpp56 std::vector<std::string> segments; in SemVer() local
58 segments.push_back(segment); in SemVer()
60 if (!segments.empty()) { in SemVer()
61 major = segments[0]; in SemVer()
63 if (segments.size() > NUM_ONE) { in SemVer()
64 minor = segments[NUM_ONE]; in SemVer()
66 if (segments.size() > NUM_TWO) { in SemVer()
67 patch = segments[NUM_TWO]; in SemVer()
/foundation/multimedia/audio_framework/services/audio_policy/server/src/service/config/
H A Daudio_tone_parser.cpp152 ltoneDesc->segments[SegInx].waveFreq[i]=0; in ParseSegment()
159 ltoneDesc->segments[SegInx].duration = TONEINFO_INF; in ParseSegment()
161 ltoneDesc->segments[SegInx].duration = static_cast<uint32_t>(atoi(pValue)); in ParseSegment()
163 AUDIO_DEBUG_LOG("duration: %{public}d", ltoneDesc->segments[SegInx].duration); in ParseSegment()
167 ltoneDesc->segments[SegInx].loopCnt = atoi(pValue); in ParseSegment()
168 AUDIO_DEBUG_LOG("loopCnt: %{public}d", ltoneDesc->segments[SegInx].loopCnt); in ParseSegment()
172 ltoneDesc->segments[SegInx].loopIndx = atoi(pValue); in ParseSegment()
173 AUDIO_DEBUG_LOG("loopIndx: %{public}d", ltoneDesc->segments[SegInx].loopIndx); in ParseSegment()
177 ParseFrequency(pValue, ltoneDesc->segments[SegInx]); in ParseSegment()
/foundation/multimedia/audio_framework/frameworks/native/toneplayer/src/
H A Dtoneplayer_impl.cpp229 if (toneInfo_->segments[currSegment_].loopCnt) { in GetCurrentSegmentUpdated()
230 if (loopCounter_ < toneInfo_->segments[currSegment_].loopCnt) { in GetCurrentSegmentUpdated()
231 currSegment_ = toneInfo_->segments[currSegment_].loopIndx; in GetCurrentSegmentUpdated()
254 if (toneInfo_->segments[currSegment_].duration == 0) { in CheckToneContinuity()
277 if (toneInfo_->segments[currSegment_].duration != 0) { in ContinueToneplay()
278 GetSamples(toneInfo_->segments[currSegment_].waveFreq, audioBuffer, reqSample); in ContinueToneplay()
284 if (toneInfo_->segments[currSegment_].duration != 0) { in ContinueToneplay()
286 GetSamples(toneInfo_->segments[currSegment_].waveFreq, audioBuffer, reqSample); in ContinueToneplay()
289 nextSegSample_ += (toneInfo_->segments[currSegment_].duration * samplingRate_) / C1000MS; in ContinueToneplay()
338 if (toneInfo_->segments[currSegment in CheckToneStarted()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dshape_model_ng.cpp97 void ShapeModelNG::SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) in SetStrokeDashArray() argument
99 ShapeAbstractModelNG().SetStrokeDashArray(segments); in SetStrokeDashArray()
107 void ShapeModelNG::SetStrokeDashArray(FrameNode* frameNode, const std::vector<Ace::Dimension>& segments) in SetStrokeDashArray() argument
109 ACE_UPDATE_NODE_PAINT_PROPERTY(ShapePaintProperty, StrokeDashArray, segments, frameNode); in SetStrokeDashArray()
H A Dshape_model_ng.h42 void SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) override;
46 static void SetStrokeDashArray(FrameNode* frameNode, const std::vector<Ace::Dimension>& segments);
H A Dshape_abstract_model_ng.cpp87 void ShapeAbstractModelNG::SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument
89 ACE_UPDATE_PAINT_PROPERTY(ShapePaintProperty, StrokeDashArray, segments); in SetStrokeDashArray()
H A Dshape_abstract_model_ng.h38 void SetStrokeDashArray(const std::vector<Ace::Dimension>& segments) override;
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_mgr_client.cpp238 std::vector<std::string> segments; in IsValidUrl() local
239 uri.GetPathSegments(segments); in IsValidUrl()
240 if (segments.size() != 1) { in IsValidUrl()
244 if (!IsValidPath(segments[0])) { in IsValidUrl()
246 "short path:%{public}s must only contains number,alphabet or dash line!", segments[0].c_str()); in IsValidUrl()
/foundation/multimedia/ringtone_library/services/ringtone_data_extension/src/
H A Dringtone_data_manager.cpp373 vector<string> segments; in GetIdFromUri() local
374 uri.GetPathSegments(segments); in GetIdFromUri()
377 if (segments.size() != uriSegmentsCount || segments[1] != uriPath || in GetIdFromUri()
378 !IsNumber(segments[toneIdSegmentNumber])) { in GetIdFromUri()
381 return segments[toneIdSegmentNumber]; in GetIdFromUri()
/foundation/arkui/ace_engine/frameworks/core/components/data_panel/
H A Drosen_render_data_panel.cpp546 void PaintRainbowFilterMask(SkCanvas* canvas, double factor, const std::vector<Segment>& segments, ArcData arcData) in PaintRainbowFilterMask() argument
548 if (segments.empty()) { in PaintRainbowFilterMask()
570 startCirclePaint.setColor(segments[0].GetStartColor().ChangeAlpha(101).GetValue()); in PaintRainbowFilterMask()
581 for (const auto& segment : segments) { in PaintRainbowFilterMask()
601 endCirclePaint.setColor(segments[segments.size() - 1].GetEndColor().ChangeAlpha(101).GetValue()); in PaintRainbowFilterMask()
613 void PaintRainbowFilterMask(RSCanvas* canvas, double factor, const std::vector<Segment>& segments, ArcData arcData)
615 if (segments.empty()) {
641 startCirclePen.SetColor(segments[0].GetStartColor().ChangeAlpha(101).GetValue());
645 startCircleBrush.SetColor(segments[
1022 auto segments = GetSegments(); Paint() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/shape/
H A Dshape_component.h207 void SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument
209 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
H A Dshape_container_component.h219 void SetStrokeDashArray(const std::vector<Dimension>& segments) in SetStrokeDashArray() argument
221 strokeState_.SetStrokeDashArray(segments); in SetStrokeDashArray()
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Ddata_ability_helper_impl.cpp569 std::vector<std::string> segments; in CheckUriParam() local
582 uri_->GetPathSegments(segments); in CheckUriParam()
587 if (checkSegments.empty() || segments.empty() || checkSegments[0] != segments[0]) { in CheckUriParam()
604 std::vector<std::string> segments; in CheckOhosUri() local
605 uri.GetPathSegments(segments); in CheckOhosUri()
606 if (segments.empty()) { in CheckOhosUri()
607 TAG_LOGE(AAFwkTag::DATA_ABILITY, "no segments in uri: %{public}s", uri.ToString().c_str()); in CheckOhosUri()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.h197 void SetLineDashParam(const std::vector<double>& segments) in SetLineDashParam() argument
199 lineDash_.lineDash = segments; in SetLineDashParam()
202 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument
204 state_.strokeState.SetLineDash(segments); in SetLineDash()
H A Doffscreen_canvas_pattern.h98 void SetLineDash(const std::vector<double>& segments);
H A Dcanvas_paint_op.h371 explicit SetLineDashOp(const std::vector<double>& segments): segments(std::move(segments)) {} in SetLineDashOp()
372 std::vector<double> segments; member
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dsvg_paint_state.h260 void SetLineDash(const std::vector<double>& segments, bool isSelf = true) in SetLineDash() argument
262 lineDash_.lineDash = segments; in SetLineDash()
273 void SetStrokeDashArray(const std::vector<Dimension>& segments, bool isSelf = true) in SetStrokeDashArray() argument
275 strokeDashArray_ = segments; in SetStrokeDashArray()
H A Dpaint_state.h386 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument
388 lineDash_.lineDash = segments; in SetLineDash()
/foundation/ability/ability_base/interfaces/kits/native/uri/include/
H A Duri.h86 * Get the path segments.
88 * @param the path segments of Uri.
90 void GetPathSegments(std::vector<std::string>& segments);
/foundation/ability/ability_base/interfaces/kits/native/uri/src/
H A Duri.cpp318 void Uri::GetPathSegments(std::vector<std::string>& segments) in GetPathSegments() argument
331 segments.emplace_back(path_.substr(previous, current - previous)); in GetPathSegments()
337 segments.emplace_back(path_.substr(previous)); in GetPathSegments()
/foundation/bundlemanager/app_domain_verify/test/unittest/client/app_domain_verify_mgr_client_test/
H A Dapp_domain_verify_mgr_client_test.cpp406 std::vector<std::string> segments; in HWTEST_F() local
407 uri.GetPathSegments(segments); in HWTEST_F()
408 EXPECT_TRUE(AppDomainVerifyMgrClient::GetInstance()->IsValidPath(segments[0])); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/custom_paint/
H A Drender_custom_paint.h205 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument
207 strokeState_.SetLineDash(segments); in SetLineDash()
H A Doffscreen_canvas.h120 void SetLineDash(const std::vector<double>& segments) in SetLineDash() argument
122 strokeState_.SetLineDash(segments); in SetLineDash()
H A Dcustom_paint_component.cpp529 void CanvasTaskPool::UpdateLineDash(const std::vector<double>& segments) in UpdateLineDash() argument
531 auto task = [segments](RenderCustomPaint& interface, const Offset& offset) { interface.SetLineDash(segments); }; in UpdateLineDash()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_chart.h175 void SetChartAttrSegments(const std::vector<Segment>& segments);

Completed in 21 milliseconds

12