Searched refs:progressWidth_ (Results 1 - 6 of 6) sorted by relevance
/foundation/arkui/ui_lite/interfaces/kits/components/ |
H A D | ui_box_progress.h | 110 progressWidth_ = width; 174 progressWidth_ = width; in SetValidWidth() 188 return progressWidth_; in GetValidWidth() 242 uint16_t progressWidth_; member in OHOS::UIBoxProgress
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_slider.cpp | 134 offset = (knobWidth_ - progressWidth_) / 2; // 2: half in DrawKnob() 140 offset = (knobWidth_ - progressWidth_) / 2; // 2: half in DrawKnob() 202 length = GetCurrentPos(progressWidth_ + 1); in DrawForeground() 212 length = GetCurrentPos(progressWidth_ + 1); in DrawForeground() 223 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1, in DrawForeground() 228 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground() 233 foregroundRect.SetRect(startPoint.x, startPoint.y, startPoint.x + progressWidth_ - 1, in DrawForeground() 238 coords.SetRect(startPoint.x, top, startPoint.x + progressWidth_ - 1, bottom); in DrawForeground() 277 startPoint.x = rect.GetLeft() + style_->borderWidth_ + style_->paddingLeft_ + (GetWidth() - progressWidth_) / 2; in UpdateCurrentValue() 286 } else if (knobPosition.x >= startPoint.x + progressWidth_) { in UpdateCurrentValue() [all...] |
H A D | ui_box_progress.cpp | 23 : progressWidth_(0), progressHeight_(0), isValidWidthSet_(false), isValidHeightSet_(false) in UIBoxProgress() 211 startPoint.x = rect.GetLeft() + style_->borderWidth_ + style_->paddingLeft_ + (GetWidth() - progressWidth_) / 2; in GetBackgroundParam() 216 width = progressWidth_; in GetBackgroundParam() 228 radius = (progressWidth_ + 1) >> 1; in GetBackgroundParam()
|
/foundation/arkui/ace_engine/frameworks/core/components/button/ |
H A D | rosen_render_button.cpp | 317 canvas->DrawRect({ offset.GetX(), offset.GetY(), progressWidth_, buttonSize_.Height() }); in DrawLineProgress() 330 if (LessNotEqual(progressWidth_, radius)) { in DrawLineProgressAnimation() 331 path.AddArc(RSRect(progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation() 332 buttonSize_.Height() - progressWidth_ + offsetX, buttonSize_.Height() + offsetY), in DrawLineProgressAnimation() 334 } else if (GreatNotEqual(progressWidth_, buttonSize_.Width() - radius)) { in DrawLineProgressAnimation() 338 path.AddArc(RSRect((buttonSize_.Width() - radius) * 2.0 - progressWidth_ + offsetX, offsetY, in DrawLineProgressAnimation() 339 progressWidth_ + offsetX, buttonSize_.Height() + offsetY), in DrawLineProgressAnimation() 343 RSRect(radius + offsetX, offsetY, progressWidth_ + offsetX, buttonSize_.Height() + offsetY), in DrawLineProgressAnimation()
|
H A D | render_button.h | 166 double progressWidth_ = 0.0; member in OHOS::Ace::RenderButton
|
H A D | render_button.cpp | 619 progressWidth_ = buttonSize_.Width() * progressPercent_; in SetProgress() 673 renderButton->progressWidth_ = in UpdateProgressAnimation()
|
Completed in 6 milliseconds