Home
last modified time | relevance | path

Searched refs:strokeWidthDimension (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_progress.cpp211 CalcDimension strokeWidthDimension; in JsSetProgressStyleOptions() local
214 strokeWidthDimension = theme->GetTrackThickness(); in JsSetProgressStyleOptions()
217 …if (strokeWidthDimension.Value() <= 0.0 || strokeWidthDimension.Unit() == DimensionUnit::PERCENT) { in JsSetProgressStyleOptions()
218 strokeWidthDimension = theme->GetTrackThickness(); in JsSetProgressStyleOptions()
260 CalcDimension strokeWidthDimension; in JsSetRingStyleOptions() local
266 strokeWidthDimension = theme->GetTrackThickness(); in JsSetRingStyleOptions()
269 …if (LessOrEqual(strokeWidthDimension.Value(), 0.0f) || strokeWidthDimension.Unit() == DimensionUni… in JsSetRingStyleOptions()
270 strokeWidthDimension = theme->GetTrackThickness(); in JsSetRingStyleOptions()
505 CalcDimension strokeWidthDimension; in JsSetLinearStyleOptions() local
511 strokeWidthDimension = theme->GetTrackThickness(); in JsSetLinearStyleOptions()
[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()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Ddivider_modifier.cpp35 CalcDimension strokeWidthDimension(value, static_cast<DimensionUnit>(unit)); in SetDividerStrokeWidth() local
36 DividerModelNG::StrokeWidth(frameNode, strokeWidthDimension); in SetDividerStrokeWidth()