Home
last modified time | relevance | path

Searched refs:minIconSize_ (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/security_component/
H A Dsecurity_component_layout_element.cpp48 minIconSize_ = theme->GetMinIconSize().ConvertToPx(); in Init()
74 if (GreatNotEqual(minIconSize_, (width_ - reduceSize))) { in ShrinkWidth()
75 int remain = reduceSize - (width_ - minIconSize_); in ShrinkWidth()
76 height_ = width_ = minIconSize_; in ShrinkWidth()
90 if (GreatNotEqual(minIconSize_, (height_ - reduceSize))) { in ShrinkHeight()
91 double remain = reduceSize - (height_ - minIconSize_); in ShrinkHeight()
92 width_ = height_ = minIconSize_; in ShrinkHeight()
H A Dsecurity_component_theme.h65 return minIconSize_; in GetMinIconSize()
246 theme->minIconSize_ = securityComponentPattern->GetAttr<Dimension>("min_icon_size", 0.0_vp); in ParsePattern()
273 Dimension minIconSize_; variable
H A Dsecurity_component_layout_element.h67 double minIconSize_; variable
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/security_component/
H A Dsecurity_component_test_ng_extension.cpp633 icon.minIconSize_ = 0.0;
H A Dsecurity_component_test_ng.cpp105 theme->minIconSize_ = Dimension(DEFAULT_ICON_MIN_SIZE); in InitDefaultTheme()