Home
last modified time | relevance | path

Searched refs:MAX_PROGRESS (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/progressbutton/source/
H A Dprogressbutton.ets19 const MAX_PROGRESS: number = 100;
59 } else if (this.progress > MAX_PROGRESS) {
60 return MAX_PROGRESS
69 } else if (this.progress >= MAX_PROGRESS) {
74 this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + '%'
82 } else if (this.progress >= MAX_PROGRESS) {
85 this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + '%'
93 Progress({ value: this.getButtonProgress(), total: MAX_PROGRESS,
146 if (this.progress < MAX_PROGRESS) {
/ohos5.0/foundation/arkui/advanced_ui_component/source/ProgressButton/
H A DProgressButton.ets17 const MAX_PROGRESS: number = 100
34 } else if (this.progress > MAX_PROGRESS) {
35 return MAX_PROGRESS
44 } else if (this.progress >= MAX_PROGRESS) {
48 this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + "%"
55 Progress({ value: this.getButtonProgress(), total: MAX_PROGRESS,
89 if (this.progress < MAX_PROGRESS) {
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/progressbutton/interfaces/
H A Dprogressbutton.js20 const MAX_PROGRESS = 100; constant
192 else if (this.progress > MAX_PROGRESS) {
193 return MAX_PROGRESS;
202 else if (this.progress >= MAX_PROGRESS) {
208 this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + '%';
216 else if (this.progress >= MAX_PROGRESS) {
220 … this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + '%';
241 if (this.progress < MAX_PROGRESS) {
251 Progress.create({ value: this.getButtonProgress(), total: MAX_PROGRESS,
/ohos5.0/foundation/arkui/advanced_ui_component/interface/progressbutton/
H A Dprogressbutton.js17 const MAX_PROGRESS = 100; constant
114 return this.progress < 0 ? 0 : this.progress > MAX_PROGRESS ? MAX_PROGRESS : this.progress;
121 } else if (this.progress >= MAX_PROGRESS) {
125 this.textProgress = Math.floor(this.progress / MAX_PROGRESS * MAX_PROGRESS).toString() + '%';
164 this.progress < MAX_PROGRESS && (this.isLoading = !this.isLoading);
179 …Progress.create({ value: this.getButtonProgress(), total: MAX_PROGRESS, style: ProgressStyle.Capsu…