Searched refs:barWidth_ (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scroll/inner/ |
H A D | scroll_bar_overlay_modifier.cpp | 47 AttachProperty(barWidth_); in ScrollBarOverlayModifier() 60 CHECK_NULL_VOID(barWidth_); in onDraw() 65 auto barWidth = barWidth_->Get(); in onDraw() 94 CHECK_NULL_VOID(barWidth_); in SetSize() 96 barWidth_->Set(barSize.Width()); in SetSize() 109 CHECK_NULL_VOID(barWidth_); in SetMainModeSize() 110 barWidth_->Set(size.Width()); in SetMainModeSize() 123 CHECK_NULL_VOID(barWidth_); in SetCrossModeSize() 124 barWidth_->Set(size.Width()); in SetCrossModeSize() 155 CHECK_NULL_VOID(barWidth_); in StartBarAnimation() [all …]
|
H A D | scroll_bar.cpp | 183 barRect_ = Rect(NormalizeToPx(padding_.Left()), 0.0, barWidth_, height) + offset; in SetBarRegion() 186 … Rect(size.Width() - barWidth_ - NormalizeToPx(padding_.Right()), 0.0, barWidth_, height) + offset; in SetBarRegion() 191 … Rect(0.0, size.Height() - barWidth_ - NormalizeToPx(padding_.Bottom()), trackWidth, barWidth_) + in SetBarRegion() 213 barWidth_ = NormalizeToPx(normalWidth_); in SetRectTrickRegion() 260 …activeRect_ - Offset(NormalizeToPx(touchWidth_) - barWidth_ - NormalizeToPx(padding_.Right()), 0.0… in SetRectTrickRegion() 261 Size(NormalizeToPx(touchWidth_) - barWidth_, 0); in SetRectTrickRegion() 263 …activeRect_ - Offset(NormalizeToPx(hoverWidth_) - barWidth_ - NormalizeToPx(padding_.Right()), 0.0… in SetRectTrickRegion() 264 Size(NormalizeToPx(hoverWidth_) - barWidth_, 0); in SetRectTrickRegion() 276 0.0, NormalizeToPx(touchWidth_) - barWidth_ - NormalizeToPx(padding_.Bottom())); in SetRectTrickRegion() 277 auto hotRegionSize = Size(0, NormalizeToPx(touchWidth_) - barWidth_); in SetRectTrickRegion()
|
H A D | scroll_bar_overlay_modifier.h | 142 RefPtr<AnimatablePropertyFloat> barWidth_; variable
|
H A D | scroll_bar.h | 429 double barWidth_ = 0.0; // actual width of the scrollbar variable
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/scroll/ |
H A D | scroll_inner_test_ng.cpp | 41 EXPECT_EQ(modifer.barWidth_, width); 79 EXPECT_EQ(modifer.barWidth_, width); 135 auto offsetResult = width - modifer.barWidth_->Get();
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/drag_bar/ |
H A D | rosen_render_drag_bar.cpp | 71 skPaint.setStrokeWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint() 102 pen.SetWidth(barWidth_ * scaleY_ * scaleWidth_); in Paint()
|
H A D | render_drag_bar.h | 84 double barWidth_ = 4.0; variable
|