Home
last modified time | relevance | path

Searched refs:DEFAULT_STROKE_WIDTH (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/shape/
H A Dline_layout_algorithm.cpp23 const Dimension DEFAULT_STROKE_WIDTH(1, DimensionUnit::PX); variable
38 …auto strokewidth = static_cast<float>(paintProperty->GetStrokeWidthValue(DEFAULT_STROKE_WIDTH).Con… in MeasureContent()
H A Dpath_layout_algorithm.cpp29 const Dimension DEFAULT_STROKE_WIDTH(1, DimensionUnit::PX); variable
67 …auto lineWidth = static_cast<float>(paintProperty->GetStrokeWidthValue(DEFAULT_STROKE_WIDTH).Conve… in MeasureContent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dprogress_modifier.cpp45 constexpr double DEFAULT_STROKE_WIDTH = 4; variable
190 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetLinearStyleOptions()
209 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetRingStyleOptions()
223 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetProgressStyleOptions()
298 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetLinearStyleOptions()
305 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetRingStyleOptions()
313 ProgressModelNG::SetStrokeWidth(node, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in SetProgressStyleOptions()
H A Ddata_panel_modifier.cpp26 constexpr double DEFAULT_STROKE_WIDTH = 24.0; variable
72 DataPanelModelNG::SetStrokeWidth(frameNode, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in ResetDataPanelStrokeWidth()
H A Dcommon_shape_modifier.cpp29 constexpr double DEFAULT_STROKE_WIDTH = 1.0f; variable
89 ShapeModelNG::SetStrokeWidth(frameNode, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in ResetStrokeWidth()
H A Dgauge_modifier.cpp25 constexpr int32_t DEFAULT_STROKE_WIDTH = 4; variable
81 … GaugeModelNG::SetGaugeStrokeWidth(frameNode, Dimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP)); in ResetGaugeStrokeWidth()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Dpattern_lock_component.h28 constexpr int32_t DEFAULT_STROKE_WIDTH = 34; variable
87 Dimension strokeWidth_ { DEFAULT_STROKE_WIDTH, DimensionUnit::VP };
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_data_panel_ffi.cpp31 constexpr double DEFAULT_STROKE_WIDTH = 24.0; variable
125 strokeWidth = DEFAULT_STROKE_WIDTH; in FfiOHOSAceFrameworkDataPanelSetStrokeWidth()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/shape/
H A Dpath_pattern_test_ng.cpp34 const Dimension DEFAULT_STROKE_WIDTH(1, DimensionUnit::PX); variable
144 …auto lineWidth = static_cast<float>(paintProperty->GetStrokeWidthValue(DEFAULT_STROKE_WIDTH).Conve…
/ohos5.0/foundation/graphic/graphic_utils_lite/interfaces/kits/gfx_utils/diagram/common/
H A Dpaint.h33 const uint16_t DEFAULT_STROKE_WIDTH = 2; variable
46 strokeWidth_(DEFAULT_STROKE_WIDTH), in Paint()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcircle_progress_component.h28 constexpr int16_t DEFAULT_STROKE_WIDTH = 32; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_test_ng.h99 constexpr Dimension DEFAULT_STROKE_WIDTH = 2.0_vp; variable
H A Dprogress_test_ng.cpp160 EXPECT_EQ(progressLayoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
161 EXPECT_EQ(size->Height(), DEFAULT_STROKE_WIDTH.ConvertToPx());
951 EXPECT_EQ(layoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
993 EXPECT_EQ(layoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
1002 EXPECT_EQ(layoutAlgorithm->GetStrokeWidth(), DEFAULT_STROKE_WIDTH.ConvertToPx());
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_progress_bridge.cpp53 constexpr double DEFAULT_STROKE_WIDTH = 4; variable
201 CalcDimension strokeWidth = CalcDimension(DEFAULT_STROKE_WIDTH, DimensionUnit::VP); in ParseStrokeWidth()
206 …rokeWidth = StringUtils::StringToDimensionWithUnit(value, DimensionUnit::VP, DEFAULT_STROKE_WIDTH); in ParseStrokeWidth()
215 progressStyle.strokeWidthValue = DEFAULT_STROKE_WIDTH; in ParseStrokeWidth()
523 … ArkUIProgressStyle progressStyle = { DEFAULT_STROKE_WIDTH, static_cast<int8_t>(DimensionUnit::VP), in SetProgressStyle()