/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_progress.cpp | 81 if (progress.percent_ > progress.max_) { in SetSpecializedAttr() 82 progress.percent_ = progress.max_; in SetSpecializedAttr() 84 if (progress.percent_ < progress.min_) { in SetSpecializedAttr() 85 progress.percent_ = progress.min_; in SetSpecializedAttr() 91 if (progress.cachedValue_ > progress.max_) { in SetSpecializedAttr() 92 progress.cachedValue_ = progress.max_; in SetSpecializedAttr() 94 if (progress.cachedValue_ < progress.min_) { in SetSpecializedAttr() 95 progress.cachedValue_ = progress.min_; in SetSpecializedAttr() 139 progress.diameter_ = progress.ParseDimension(val); in SetSpecializedStyle() 154 progress.gradient_ = ParseGradient(progress, val); in SetSpecializedStyle() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-progress.md | 1 # progress chapter 7 The **\<Progress>** component is used to provide a progress bar that displays the progress of conte… 25 …progress bar, which cannot be changed dynamically. Available values are as follows:<br>- **horizon… 76 Arc progress bar, of which **type** is **arc** 82 …progress bar, which is always within the radius area.<br>The wider the progress bar is, the closer… 111 <progress class="min-progress" type="scale-ring" percent= "10" secondarypercent="50"></progress> 112 <progress class="min-progress" type="horizontal" percent= "10" secondarypercent="50"></progress> 113 <progress class="min-progress" type="arc" percent= "10"></progress> 114 <progress class="min-progress" type="ring" percent= "10" secondarypercent="50"></progress> 126 .min-progress { [all …]
|
/ohos5.0/base/update/updater/resources/ |
H A D | BUILD.gn | 117 "${product_name}/images/progress/flash_00000.png", 118 "${product_name}/images/progress/flash_00001.png", 119 "${product_name}/images/progress/flash_00002.png", 120 "${product_name}/images/progress/flash_00003.png", 121 "${product_name}/images/progress/flash_00004.png", 122 "${product_name}/images/progress/flash_00005.png", 123 "${product_name}/images/progress/flash_00006.png", 124 "${product_name}/images/progress/flash_00007.png", 125 "${product_name}/images/progress/flash_00008.png", 126 "${product_name}/images/progress/flash_00009.png", [all …]
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/executor/src/ |
H A D | firmware_install_executor.cpp | 43 Progress progress; in DoInstall() local 45 progress.endReason = "no task"; in DoInstall() 46 installCallbackInfo_.progress = progress; in DoInstall() 56 Progress progress; in DoInstall() local 60 progress.status = UpgradeStatus::UPDATING; in DoInstall() 65 FirmwareTaskOperator().UpdateProgressByTaskId(tasks_.taskId, progress.status, progress.percent); in DoInstall() 67 … FirmwareComponentOperator().UpdateProgressByUrl(component.url, progress.status, progress.percent); in DoInstall() 73 progress.percent = component.progress; in DoInstall() 103 component.versionId.c_str(), progress.status, progress.percent); in HandleInstallProgress() 104 … FirmwareComponentOperator().UpdateProgressByUrl(component.url, progress.status, progress.percent); in HandleInstallProgress() [all …]
|
H A D | firmware_download_executor.cpp | 49 Progress progress; in DoDownload() local 51 progress.endReason = "no task"; in DoDownload() 62 Progress progress; in DoDownload() local 64 progress.endReason = "not support"; in DoDownload() 125 " progress.percent = %{public}d", progress.status, progress.percent); in DownloadCallback() 130 upgradeStatus_ = progress.status; in DownloadCallback() 132 downloadProgress.percent = progress.percent; in DownloadCallback() 133 downloadProgress.status = progress.status; in DownloadCallback() 140 …OGI("DownloadCallback status: %{public}d progress: %{public}d", progress.status, progress.percent); in DownloadCallback() 155 progress.status, progress.percent); in DownloadCallback() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-basic-progress.md | 1 # progress chapter 4 The **\<Progress>** component is used to provide a progress bar that displays the progress of conte… 22 …progress bar, which cannot be changed dynamically. Available values are as follows:<br>- **horizon… 24 Different types of progress bars support different attributes. 77 | color | <color> | - | No| Color of the arc progress bar.| 98 <progress class="min-progress" type="scale-ring" percent= "10" secondarypercent="50"></progress> 99 <progress class="min-progress" type="horizontal" percent= "10" secondarypercent="50"></progress> 100 <progress class="min-progress" type="arc" percent= "10"></progress> 101 <progress class="min-progress" type="ring" percent= "10" secondarypercent="50"></progress> 114 .min-progress { [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | progress_model_impl.cpp | 55 if (!progress) { in SetValue() 65 progress->SetValue(value); in SetValue() 72 if (!progress) { in SetColor() 85 if (!progress) { in SetBackgroundColor() 89 auto track = progress->GetTrack(); in SetBackgroundColor() 102 if (!progress) { in SetStrokeWidth() 107 progress->SetTrackThickness(value); in SetStrokeWidth() 114 if (!progress) { in SetScaleCount() 120 progress->SetScaleNumber(value); in SetScaleCount() 128 if (!progress) { in SetScaleWidth() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/js-service-widget-ui/ |
H A D | js-service-widget-basic-progress.md | 1 # progress chapter 98 <progress class="min-progress" type="scale-ring" percent= "10" secondarypercent="50"></progress> 99 <progress class="min-progress" type="horizontal" percent= "10" secondarypercent="50"></progress> 100 <progress class="min-progress" type="arc" percent= "10"></progress> 101 <progress class="min-progress" type="ring" percent= "10" secondarypercent="50"></progress> 114 .min-progress { 121 
|
/ohos5.0/base/request/request/services/src/manage/ |
H A D | notifier.rs | 246 data.progress.processed[0], in ut_notify_progress() 287 assert!(data.progress.extras.is_empty()); in ut_notify_pause_resume() 291 data.progress.processed[0], in ut_notify_pause_resume() 300 assert!(data.progress.extras.is_empty()); in ut_notify_pause_resume() 304 data.progress.processed[0], in ut_notify_pause_resume() 337 assert!(data.progress.extras.is_empty()); in ut_notify_remove() 341 data.progress.processed[0], in ut_notify_remove() 375 assert!(data.progress.extras.is_empty()); in ut_notify_completed() 379 data.progress.processed[0], in ut_notify_completed() 413 assert!(data.progress.extras.is_empty()); in ut_notify_failed() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/metaobject/src/animation/ |
H A D | animation_state.cpp | 131 const float progress = step.progress; in GetTargetState() local 133 if (progress >= 1.f) { in GetTargetState() 136 if (progress <= 0.f) { in GetTargetState() 151 float progress = step.progress; in Move() local 162 const auto overflow = progress - BASE_NS::Math::floor(progress); in Move() 172 if (progress = BASE_NS::Math::clamp01(progress); progress != GetProgress()) { in Move() 173 SetProgress(progress); in Move() 433 auto progress = step.progress; in EvaluateValue() local 435 if (progress <= 0.f) { in EvaluateValue() 438 if (progress >= 1.f) { in EvaluateValue() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_progress.cpp | 86 NotificationProgress *progress = new (std::nothrow) NotificationProgress(); in FromJson() local 87 if (progress == nullptr) { in FromJson() 94 progress->maxValue_ = jsonObject.at("maxValue").get<int32_t>(); in FromJson() 98 progress->currentValue_ = jsonObject.at("currentValue").get<int32_t>(); in FromJson() 102 progress->isPercentage_ = jsonObject.at("isPercentage_").get<bool>(); in FromJson() 105 return progress; in FromJson() 138 NotificationProgress *progress = new (std::nothrow) NotificationProgress(); in Unmarshalling() local 140 if (progress && !progress->ReadFromParcel(parcel)) { in Unmarshalling() 141 delete progress; in Unmarshalling() 142 progress = nullptr; in Unmarshalling() [all …]
|
/ohos5.0/docs/en/design/ux-design/ |
H A D | multimodal-progress-bar.md | 4 A progress bar displays the speed, time, completion rate, and remaining volume of a task. 12 …progress bar when your users need to wait, for example, for content loading or file transfer throu… 14 - Generally, use a rectangular bar as the progress bar. 16 …ign progress bars based on the use scenario. Try to integrate progress bars into the UI content or… 18 …*Hide** button to hide the progress bar and wait the operation to be completed at the background. … 23 - If the task object and progress are clearly displayed, no text is required. If necessary, the tex… 25 - If the progress is not clear, use the text *Being xx...* 30 …pment guide related to the progress bar, see [Progress](../../application-dev/reference/arkui-ts/t…
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_sync/src/media_cloud_asset_download/ |
H A D | cloud_media_asset_download_operation.cpp | 629 if (progress.downloadId != downloadId_ || in HandleSuccessCallback() 632 … MediaFileUtils::DesensitizePath(progress.path).c_str(), to_string(progress.downloadId).c_str(), in HandleSuccessCallback() 654 if (progress.downloadId != downloadId_ || in MoveDownloadFileToCache() 657 … MediaFileUtils::DesensitizePath(progress.path).c_str(), to_string(progress.downloadId).c_str(), in MoveDownloadFileToCache() 667 …cacheForDownload_.fileDownloadMap[progress.path] = dataForDownload_.fileDownloadMap.at(progress.pa… in MoveDownloadFileToCache() 676 if (progress.downloadId != downloadId_ || in MoveDownloadFileToNotFound() 679 … MediaFileUtils::DesensitizePath(progress.path).c_str(), to_string(progress.downloadId).c_str(), in MoveDownloadFileToNotFound() 688 …notFoundForDownload_.fileDownloadMap[progress.path] = dataForDownload_.fileDownloadMap.at(progress… in MoveDownloadFileToNotFound() 704 switch (progress.downloadErrorType) { in HandleFailedCallback() 707 MoveDownloadFileToCache(progress); in HandleFailedCallback() [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-progress-indicator.md | 4 …tor that shows the progress of an operation. For details, see [Progress](../reference/apis-arkui/a… 9 You can create a progress indicator by calling the following API: 16 …ue** indicates the initial progress, **total** indicates the total progress, and **type** indicate… 19 … ProgressType.Linear }) // Create a linear progress indicator whose total progress is 100 and init… 50 // The right progress indicator in the indeterminate ring style on the right. 79 // The progress indicator in the eclipse style on the right: Set its foreground color to gray. 88 …>- At both ends, the progress indicator in the capsule style works in a same manner as that in th… 89 …>- In the middle part of the capsule, the progress indicator works in a same manner as the linear… 91 …>- If the height is greater than the width, the progress indicator adaptively switches to the ver… 111 @State progressValue: number = 0 // Set the initial progress of the progress indicator to 0. [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-progress.md | 1 # progress chapter 110 <progress class="min-progress" type="scale-ring" percent= "10" secondarypercent="50"></progress> 111 <progress class="min-progress" type="horizontal" percent= "10" secondarypercent="50"></progress> 112 <progress class="min-progress" type="arc" percent= "10"></progress> 113 <progress class="min-progress" type="ring" percent= "10" secondarypercent="50"></progress> 125 .min-progress {
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.2.3/ |
H A D | changelogs-request.md | 7 - 对于 on('progress'), on('complete'), on('failed'), off('progress'), off('complete'), off('failed'),… 17 | ohos.request | Task | on(event: 'progress', callback: (progress: Progress) => void): void; … 18 | ohos.request | Task | off(event: 'progress', callback?: (progress: Progress) => void): void;… 19 | ohos.request | Task | on(event: 'completed', callback: (progress: Progress) => void): void; … 20 | ohos.request | Task | off(event: 'completed', callback?: (progress: Progress) => void): void… 21 | ohos.request | Task | on(event: 'failed', callback: (progress: Progress) => void): void; … 22 | ohos.request | Task | off(event: 'failed', callback?: (progress: Progress) => void): void; …
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/free_install/ |
H A D | install_result.cpp | 83 {JSON_KEY_PROGRESS_DOWNLOADSIZE, progress.downloadSize}, in to_json() 84 {JSON_KEY_PROGRESS_TOTALSIZE, progress.totalSize} in to_json() 95 progress.downloadSize, in from_json() 103 progress.totalSize, in from_json() 145 installResult.progress, in from_json() 198 Progress *progress = new (std::nothrow) Progress(); in Unmarshalling() local 199 if (progress && !progress->ReadFromParcel(parcel)) { in Unmarshalling() 201 delete progress; in Unmarshalling() 202 progress = nullptr; in Unmarshalling() 204 return progress; in Unmarshalling() [all …]
|
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scan_progress.cpp | 22 ScanProgress::ScanProgress() : progress(0), in ScanProgress() 28 progress = right.progress; in ScanProgress() 40 progress = right.progress; in operator =() 54 void ScanProgress::SetScanProgress(const int32_t progress) in SetScanProgress() argument 56 this->progress = progress; in SetScanProgress() 92 return progress; in GetScanProgress() 136 parcel.WriteInt32(progress); in Marshalling() 152 SCAN_HILOGD("ScanProgress: progress = %{public}d", progress); in Dump()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | transform_util.cpp | 177 float scaleA = progress; in Blend() 178 float scaleB = 1 - progress; in Blend() 189 float scaleA = progress; in Blend() 190 float scaleB = 1 - progress; in Blend() 200 float scaleA = progress; in Blend() 201 float scaleB = 1 - progress; in Blend() 210 float scaleA = progress; in Blend() 211 float scaleB = 1 - progress; in Blend() 475 Combine<3>(ret.translate, to.translate, from.translate, progress, 1.0 - progress); in BlendDecomposedTransforms() 476 Combine<3>(ret.scale, to.scale, from.scale, progress, 1.0 - progress); in BlendDecomposedTransforms() [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/test/unittest/napi_test/ |
H A D | FsCopyTest.js | 364 let progressListener = (progress) => { 367 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 412 let progressListener = (progress) => { 415 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 455 let progressListener = (progress) => { 458 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 504 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 766 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 842 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); 879 " progress: " + (progress.processedSize / progress.totalSize * 100).toFixed(2) + "%"); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-page-transition-animation.md | 41 逐帧回调,直到入场动画结束,progress从0变化到1。 85 逐帧回调,直到出场动画结束,progress从0变化到1。 217 | progress | number | 是 | 转场进度。progress从0变化到1。 | 280 this.scale1 = progress 281 this.opacity1 = progress 287 this.scale1 = 1 - progress 288 this.opacity1 = 1 - progress 322 this.scale2 = progress 323 this.opacity2 = progress 329 this.scale2 = 1 - progress [all …]
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_api/cloudsync_impl/ |
H A D | cloud_download_callback_stub_test.cpp | 34 void OnDownloadProcess(const DownloadProgressObj& progress) override in OnDownloadProcess() argument 150 DownloadProgressObj progress; variable 151 progress.path = "/data"; 152 bool prog = data.WriteParcelable(&progress); 175 DownloadProgressObj progress; variable 176 progress.path = ""; 177 bool prog = data.WriteParcelable(&progress); 200 DownloadProgressObj progress; variable 201 progress.path = "/data"; 202 progress.state = DownloadProgressObj::STOPPED; [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-basic-progress.md | 1 # progress chapter 3 The **\<Progress>** component is used to provide a progress bar that displays the progress of conte… 19 …progress bar, which cannot be changed dynamically. Available values are as follows:<br>- **horizon… 25 Different types of progress bars support different attributes. 30 | percent | number | 0 | No| Current progress. The value ranges from 0 to 100.| 35 | percent | number | 0 | No| Current progress. The value ranges from 0 to 100.| 62 …;length> | - | No | Width of the arc progress bar.<br>A larger width value means that the… 90 …<progress type="horizontal" percent="{{horizontalVal}}" style="height: 10%;width: 40%;" onclick = … 91 <progress type="arc" class="min-progress" percent="{{arcVal}}" on:click="changeArc"></progress> 103 .min-progress { [all …]
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/data_processor/src/ |
H A D | firmware_install_data_processor.cpp | 71 Progress progress = installCallbackInfo.progress; in SetInstallResult() local 72 …OGI("SetInstallResult status: %{public}d progress: %{public}d", progress.status, progress.percent); in SetInstallResult() 74 …if (progress.status == UpgradeStatus::UPDATE_FAIL || progress.status == UpgradeStatus::INSTALL_FAI… in SetInstallResult() 78 progress.status, installCallbackInfo.errorMessage); in SetInstallResult() 82 … DelayedSingleton<FirmwareCallbackUtils>::GetInstance()->ProgressCallback(tasks_.taskId, progress); in SetInstallResult()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.2.3/ |
H A D | changelogs-request.md | 7 In earlier versions, the **on('progress')**, **on('complete')**, **on('failed')**, **off('progress'… 17 | ohos.request | Task | on(event: 'progress', callback: (progress: Progress) => void): void; … 18 | ohos.request | Task | off(event: 'progress', callback?: (progress: Progress) => void): void;… 19 | ohos.request | Task | on(event: 'completed', callback: (progress: Progress) => void): void; … 20 | ohos.request | Task | off(event: 'completed', callback?: (progress: Progress) => void): void… 21 | ohos.request | Task | on(event: 'failed', callback: (progress: Progress) => void): void; … 22 | ohos.request | Task | off(event: 'failed', callback?: (progress: Progress) => void): void; …
|