Home
last modified time | relevance | path

Searched refs:defaultWidthGap (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_paint_method.cpp92 …witchModifier::CalcActualWidth(float width, float height, double actualGap, double defaultWidthGap) in CalcActualWidth() argument
96 …lt = (pointRadius_ * NUM_TWO > height ? (width - (actualGap * NUM_TWO)) : width) + defaultWidthGap; in CalcActualWidth()
99 defaultWidthGap; in CalcActualWidth()
128 auto defaultWidthGap = in PaintSwitch() local
132 actualWidth_ = CalcActualWidth(width, height, actualGap, defaultWidthGap); in PaintSwitch()
H A Dswitch_modifier.h129 float CalcActualWidth(float width, float height, double actualGap, double defaultWidthGap);