Searched refs:normalWidth_ (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | scroll_bar.cpp | 43 double normalWidth = NormalizeToPx(normalWidth_); in SetBarRegion() 76 double normalWidth = NormalizeToPx(normalWidth_); in SetRectTrickRegion() 86 … Offset(NormalizeToPx(touchWidth_) - NormalizeToPx(normalWidth_) - NormalizeToPx(padding_.Right()), in SetRectTrickRegion() 88 Size(NormalizeToPx(touchWidth_) - NormalizeToPx(normalWidth_), 0); in SetRectTrickRegion() 94 Offset(0.0, NormalizeToPx(touchWidth_) - NormalizeToPx(normalWidth_) in SetRectTrickRegion() 96 auto hotRegionSize = Size(0, NormalizeToPx(touchWidth_) - NormalizeToPx(normalWidth_)); in SetRectTrickRegion() 137 return NormalizeToPx(normalWidth_); in GetNormalWidthToPx() 179 scrollBar->normalWidth_ = Dimension(value, DimensionUnit::PX); in SetCallBack() 188 scrollBar->normalWidth_ = Dimension(value, DimensionUnit::PX); in SetCallBack() 242 normalWidth_ = scrollBar->GetNormalWidth(); in Reset()
|
H A D | scroll_bar.h | 183 normalWidth_ = normalWidth; in SetNormalWidth() 188 return normalWidth_; in GetNormalWidth() 293 Dimension normalWidth_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/scroll/ |
H A D | scroll_bar_theme.h | 59 theme->normalWidth_ = pattern->GetAttr<Dimension>("scroll_bar_normal_width", 0.0_vp); in ParsePattern() 80 return normalWidth_; in GetNormalWidth() 148 Dimension normalWidth_; variable
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar.cpp | 213 barWidth_ = NormalizeToPx(normalWidth_); in SetRectTrickRegion() 214 double normalWidth = NormalizeToPx(normalWidth_); in SetRectTrickRegion() 281 … 0.0, NormalizeToPx(hoverWidth_) - NormalizeToPx(normalWidth_) - NormalizeToPx(padding_.Bottom())); in SetRectTrickRegion() 282 … auto hoverRegionSize = Size(0, NormalizeToPx(hoverWidth_) - NormalizeToPx(normalWidth_)); in SetRectTrickRegion() 331 return NormalizeToPx(normalWidth_); in GetNormalWidthToPx() 574 barMargin = padding + NormalizeToPx(normalWidth_) / 2; in CalcReservedHeight() 899 DumpLog::GetInstance().AddDesc(std::string("normalWidth: ").append(normalWidth_.ToString())); in DumpAdvanceInfo() 931 if (normalWidth_ != normalWidth) { in SetNormalWidth() 933 normalWidth_ = normalWidth; in SetNormalWidth() 985 normalWidth_ = activeWidth_; in PlayScrollBarGrowAnimation() [all …]
|
H A D | scroll_bar.h | 430 Dimension normalWidth_; // user-set width of the scrollbar variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll_bar/ |
H A D | scroll_bar_test_ng.cpp | 42 scrollBarTheme->normalWidth_ = Dimension(NORMAL_WIDTH); in SetUpTestSuite() 47 scrollBarTheme->normalWidth_ = Dimension(DEFAULT_NORMAL_WIDTH, DimensionUnit::VP); in SetUpTestSuite()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_test_ng.cpp | 38 scrollBarTheme->normalWidth_ = Dimension(NORMAL_WIDTH); in SetUpTestSuite() 43 scrollBarTheme->normalWidth_ = Dimension(DEFAULT_NORMAL_WIDTH, DimensionUnit::VP); in SetUpTestSuite()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scrollable/ |
H A D | scrollable_cover_test_ng.cpp | 88 scrollBarTheme->normalWidth_ = Dimension(SCROLLBARTHEME_WIDTH_VALUE_PX, DimensionUnit::VP); in SetUpMockThemeManager()
|