Home
last modified time | relevance | path

Searched refs:strokeWidthDimension (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_progress.cpp211 CalcDimension strokeWidthDimension; in JsSetProgressStyleOptions() local
213 if (!CheckLength(jsStrokeWidth, strokeWidthDimension, V2::PROGRESS_ETS_TAG, attrsProgressStrokeWidth)) { in JsSetProgressStyleOptions()
214 strokeWidthDimension = theme->GetTrackThickness(); in JsSetProgressStyleOptions()
217 if (strokeWidthDimension.Value() <= 0.0 || strokeWidthDimension.Unit() == DimensionUnit::PERCENT) { in JsSetProgressStyleOptions()
218 strokeWidthDimension = theme->GetTrackThickness(); in JsSetProgressStyleOptions()
221 ProgressModel::GetInstance()->SetStrokeWidth(strokeWidthDimension); in JsSetProgressStyleOptions()
237 if ((scaleWidthDimension.Value() <= 0.0) || (scaleWidthDimension.Value() > strokeWidthDimension.Value()) || in JsSetProgressStyleOptions()
260 CalcDimension strokeWidthDimension; in JsSetRingStyleOptions() local
264 (versionTenOrLarger ? !ParseJsDimensionVpNG(strokeWidth, strokeWidthDimension) in JsSetRingStyleOptions()
515 CalcDimension strokeWidthDimension; JsSetLinearStyleOptions() local
[all...]
H A Djs_data_panel.cpp196 CalcDimension strokeWidthDimension; in StrokeWidth() local
197 if (!ParseJsDimensionVp(info[0], strokeWidthDimension)) { in StrokeWidth()
198 strokeWidthDimension = theme->GetThickness(); in StrokeWidth()
204 info[0]->ToString(), strokeWidthDimension))) { in StrokeWidth()
205 strokeWidthDimension = theme->GetThickness(); in StrokeWidth()
208 if (strokeWidthDimension.IsNegative() || strokeWidthDimension.Unit() == DimensionUnit::PERCENT) { in StrokeWidth()
209 strokeWidthDimension = theme->GetThickness(); in StrokeWidth()
211 DataPanelModel::GetInstance()->SetStrokeWidth(strokeWidthDimension); in StrokeWidth()
H A Djs_linear_indicator.cpp167 CalcDimension strokeWidthDimension; in SetStrokeWidth() local
172 !ParseLengthMetricsToDimension(strokeWidth, strokeWidthDimension)) { in SetStrokeWidth()
173 strokeWidthDimension = defaultStrokeWidth; in SetStrokeWidth()
175 if (LessNotEqual(strokeWidthDimension.Value(), 0.0f) || strokeWidthDimension.Unit() == DimensionUnit::PERCENT) { in SetStrokeWidth()
176 strokeWidthDimension = defaultStrokeWidth; in SetStrokeWidth()
178 if (strokeWidthDimension.ConvertToVp() < defaultStrokeWidthMin.ConvertToVp()) { in SetStrokeWidth()
179 strokeWidthDimension = defaultStrokeWidthMin; in SetStrokeWidth()
181 LinearIndicatorModel::GetInstance()->SetStrokeWidth(strokeWidthDimension); in SetStrokeWidth()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Ddivider_modifier.cpp29 CalcDimension strokeWidthDimension(value, static_cast<DimensionUnit>(unit)); in SetDividerStrokeWidth()
30 DividerModelNG::StrokeWidth(frameNode, strokeWidthDimension); in SetDividerStrokeWidth()

Completed in 3 milliseconds