Home
last modified time | relevance | path

Searched refs:GetHotZoneVerticalPadding (Results 1 – 25 of 30) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_paint_method.cpp117 … (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2).ConvertToPx(); in PaintSwitch()
131 …defaultHeight - (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2).ConvertT… in PaintSwitch()
184 … (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2).ConvertToPx(); in GetSwitchWidth()
H A Dswitch_paint_property.h48 … auto defaultHeight = (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2); in ToJsonValue()
H A Dswitch_pattern.cpp124 margin.top = CalcLength(switchTheme->GetHotZoneVerticalPadding().Value()); in UpdateSwitchLayoutProperty()
125 margin.bottom = CalcLength(switchTheme->GetHotZoneVerticalPadding().Value()); in UpdateSwitchLayoutProperty()
148 hotZoneVerticalPadding_ = switchTheme->GetHotZoneVerticalPadding(); in UpdateSwitchLayoutProperty()
H A Dswitch_layout_algorithm.cpp59 …auto height = (switchTheme->GetHeight() - switchTheme->GetHotZoneVerticalPadding() * 2).ConvertToP… in MeasureContent()
H A Dswitch_paint_method.h69 auto verticalPadding = switchTheme->GetHotZoneVerticalPadding().ConvertToPx(); in UpdateBoundsRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtoggle_model_impl.cpp43 auto verticalPadding = checkBoxTheme->GetHotZoneVerticalPadding(); in Create()
56 auto verticalPadding = switchTheme->GetHotZoneVerticalPadding(); in Create()
167 padding = checkableComponent->GetHotZoneVerticalPadding(); in SetHeight()
H A Dcheckbox_model_impl.cpp60 auto verticalPadding = checkBoxTheme->GetHotZoneVerticalPadding(); in Create()
109 padding = checkboxComponent->GetHotZoneVerticalPadding(); in SetHeight()
H A Dcheckboxgroup_model_impl.cpp58 auto verticalPadding = checkBoxTheme->GetHotZoneVerticalPadding(); in Create()
108 padding = checkboxComponent->GetHotZoneVerticalPadding(); in SetHeight()
H A Dradio_model_impl.cpp52 auto verticalPadding = radioTheme->GetHotZoneVerticalPadding(); in Create()
95 auto padding = radioComponent->GetHotZoneVerticalPadding(); in SetHeight()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_layout_algorithm.cpp87 verticalPadding_ = checkBoxTheme->GetHotZoneVerticalPadding().ConvertToPx(); in InitializeParam()
H A Dcheckboxgroup_pattern.cpp65 margin.top = CalcLength(checkBoxTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
66 margin.bottom = CalcLength(checkBoxTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
70 hotZoneVerticalPadding_ = checkBoxTheme->GetHotZoneVerticalPadding(); in OnModifyDone()
556 paintParameters.hotZoneVerticalPadding = checkBoxTheme->GetHotZoneVerticalPadding(); in InitializeModifierParam()
H A Dcheckboxgroup_paint_method.h81 auto verticalPadding = checkboxTheme->GetHotZoneVerticalPadding().ConvertToPx(); in UpdateContentModifier()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_component.cpp42 hotZoneVerticalPadding_ = theme->GetHotZoneVerticalPadding(); in ApplyTheme()
H A Drender_checkable.cpp48 hotZoneVerticalPadding_ = checkable->GetHotZoneVerticalPadding(); in Update()
H A Dcheckable_component.h150 const Dimension& GetHotZoneVerticalPadding() const in GetHotZoneVerticalPadding() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_paint_method.h98 auto verticalPadding = radioTheme->GetHotZoneVerticalPadding().ConvertToPx(); in UpdateContentModifier()
H A Dradio_layout_algorithm.cpp121 verticalPadding_ = radioTheme->GetHotZoneVerticalPadding().ConvertToPx(); in InitializeParam()
H A Dradio_pattern.cpp129 margin.top = CalcLength(radioTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
130 margin.bottom = CalcLength(radioTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
148 hotZoneVerticalPadding_ = radioTheme->GetHotZoneVerticalPadding(); in OnModifyDone()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_layout_algorithm.cpp139 verticalPadding_ = checkBoxTheme->GetHotZoneVerticalPadding().ConvertToPx(); in InitializeParam()
H A Dcheckbox_paint_method.h133 auto verticalPadding = checkboxTheme->GetHotZoneVerticalPadding().ConvertToPx(); in UpdateContentModifier()
H A Dcheckbox_pattern.cpp95 margin.top = CalcLength(checkBoxTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
96 margin.bottom = CalcLength(checkBoxTheme->GetHotZoneVerticalPadding().Value()); in OnModifyDone()
114 hotZoneVerticalPadding_ = checkBoxTheme->GetHotZoneVerticalPadding(); in OnModifyDone()
H A Dcheckbox_paint_method.cpp99 hotZoneVerticalPadding_ = checkBoxTheme->GetHotZoneVerticalPadding(); in InitializeParam()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/checkboxgroup/
H A Dcheckboxgroup_layout_algorithm_test_ng.cpp323 EXPECT_EQ(layoutAlgorithm.verticalPadding_, theme->GetHotZoneVerticalPadding().ConvertToPx());
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_checkbox_modifier.cpp195 auto verticalPadding = checkBoxTheme->GetHotZoneVerticalPadding(); in ResetCheckboxHeight()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
H A Dtoggle_test_ng.cpp677 …erty->GetMarginProperty()->top.value(), CalcLength(switchTheme->GetHotZoneVerticalPadding().Value(…
679 CalcLength(switchTheme->GetHotZoneVerticalPadding().Value()));
690 …erty->GetMarginProperty()->top.value(), CalcLength(switchTheme->GetHotZoneVerticalPadding().Value(…
692 CalcLength(switchTheme->GetHotZoneVerticalPadding().Value()));

12