/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | arkts-common-components-progress-indicator.md | 1 # 进度条 (Progress) 4 Progress是进度条显示组件,显示内容通常为目标操作的当前进度。具体用法请参考[Progress](../reference/apis-arkui/arkui-ts/ts-basic-compo… 9 Progress通过调用接口来创建,接口调用形式如下: 12 Progress(options: {value: number, total?: number, type?: ProgressType}) 16 其中,value用于设置初始进度值,total用于设置进度总长度,type用于设置Progress样式。 19 Progress({ value: 24, total: 100, type: ProgressType.Linear }) // 创建一个进度总长为100,初始进度值为24的线性进度条 39 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(200).height(50) 40 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(50).height(200) 49 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100) 51 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100) [all …]
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-components-progress-indicator.md | 1 # Progress Indicator (Progress) 4 The **Progress** component is used to provide an indicator that shows the progress of an operation.… 7 ## Creating a Progress Indicator 12 Progress(options: {value: number, total?: number, type?: ProgressType}) 26 ## Setting the Progress Indicator Style 39 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(200).height(50) 40 Progress({ value: 20, total: 100, type: ProgressType.Linear }).width(50).height(200) 49 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100) 51 Progress({ value: 40, total: 150, type: ProgressType.Ring }).width(100).height(100) 95 Progress({ value: 10, total: 150, type: ProgressType.Capsule }).width(100).height(50) [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-progress.md | 1 # Progress chapter 16 Progress(options: ProgressOptions) 97 …rsal-attributes-background.md),直接添加在Progress组件上,生效进度条的底色。如需设置整个Progress组件的背景色,需要在外层容器上添加background… 325 Progress({ value: 10, type: ProgressType.Linear }).width(200) 355 Progress({ value: 10, type: ProgressType.Ring }).width(100) 356 Progress({ value: 20, total: 150, type: ProgressType.Ring }) 392 Progress({ value: 70, total: 100, type: ProgressType.Ring }) 397 Progress({ value: 70, total: 100, type: ProgressType.Ring }) 418 Progress({ value: 0, total: 100, type: ProgressType.Ring }) 423 Progress({ value: 30, total: 100, type: ProgressType.Ring }) [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.6/ |
H A D | changelogs-arkui.md | 3 ## cl.arkui.1 Progress组件线性样式默认宽度变更 11 Progress组件线性样式默认宽度为300vp,不符合UX规范,依照UX规范进行修改。 15 该变更为非兼容性变更,变更后Progress组件线性样式默认宽度跟随父组件宽度进行自适应变化,更加灵活。 27 OpenHarmony SDK 4.1.6.6之前,Progress组件线性样式默认宽度为300vp。 31 OpenHarmony SDK 4.1.6.6及之后,Progress组件线性样式默认宽度跟随父组件宽度进行自适应变化。 37 变更前后Progress组件线性样式默认宽度会发生变化,若变更后组件宽度不符合预期,可通过设置通用属性[width](../../../application-dev/reference/apis-…
|
/ohos5.0/foundation/distributeddatamgr/relational_store/test/js/relationalstore/unittest/src/ |
H A D | RdbStoreCloudSync.test.js | 300 function Progress(detail) { function 308 await rdbStore.cloudSync(relationalStore.SyncMode.SYNC_MODE_TIME_FIRST, Progress) 325 function Progress(detail) { function 350 function Progress(detail) { function 359 … await rdbStore.cloudSync(relationalStore.SyncMode.SYNC_MODE_TIME_FIRST, tableArray, Progress) 375 function Progress(detail) { function 400 function Progress(detail) { function 425 function Progress(detail) { function 450 function Progress(detail) { function 476 function Progress(detail) { function [all …]
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.2.3/ |
H A D | changelogs-request.md | 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 | 80 void to_json(nlohmann::json &jsonObject, const Progress &progress) in to_json() 88 void from_json(const nlohmann::json &jsonObject, Progress &progress) in from_json() 142 GetValueIfFindKey<Progress>(jsonObject, in from_json() 182 bool Progress::ReadFromParcel(Parcel &parcel) in ReadFromParcel() 189 bool Progress::Marshalling(Parcel &parcel) const in Marshalling() 196 Progress *Progress::Unmarshalling(Parcel &parcel) in Unmarshalling() 198 Progress *progress = new (std::nothrow) Progress(); in Unmarshalling() 219 auto paramsProgress = parcel.ReadParcelable<Progress>(); in ReadFromParcel()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | set-volume-brightness-through-gesture.md | 30 - 上滑和下滑控制亮度和音量的大小:亮度和音量的大小使用环形进度条(Progress组件)来呈现,通过滑动改变Progress的value值。 45 Progress({value:this.bright,type:ProgressType.Ring}) 48 Progress({value:this.volume,type:ProgressType.Ring}) 98 4. 手势识别之后,通过手势控制Progress的value值,从而调节亮度和音量的大小。 106 Progress({value:this.bright,type:ProgressType.Ring}) 110 Progress({value:this.volume,type:ProgressType.Ring}) 190 Progress({value:this.bright,type:ProgressType.Ring}) 199 Progress({value:this.volume,type:ProgressType.Ring}) 250 - [Progress组件指南](../application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-progress.md)
|
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/progressbutton/interfaces/ |
H A D | progressbutton.js | 251 Progress.create({ value: this.getButtonProgress(), total: MAX_PROGRESS, 253 Progress.height(ObservedObject.GetRawObject(this.textHeight)); 254 Progress.constraintSize({ minHeight: BUTTON_NORMARL_HEIGHT }); 255 Progress.borderRadius(this.buttonBorderRadius); 256 Progress.width('100%'); 257 Progress.hoverEffect(HoverEffect.None); 258 Progress.clip(false); 259 Progress.enabled(this.enable); 260 Progress.key(PROGRESS_BUTTON_PROGRESS_KEY); 261 Progress.color(ObservedObject.GetRawObject(this.progressColor)); [all …]
|
/ohos5.0/base/request/request/services/src/task/ |
H A D | notify.rs | 27 Progress, enumerator 35 pub(crate) progress: Progress, 52 pub(crate) struct Progress { struct 67 impl Progress { impl 70 Progress { in new()
|
/ohos5.0/foundation/arkui/advanced_ui_component/interface/progressbutton/ |
H A D | progressbutton.js | 179 …Progress.create({ value: this.getButtonProgress(), total: MAX_PROGRESS, style: ProgressStyle.Capsu… 180 Progress.height(BUTTON_NORMARL_HEIGHT); 181 Progress.borderRadius(BUTTON_BORDER_RADIUS); 182 Progress.width('100%'); 183 Progress.hoverEffect(HoverEffect.None); 184 Progress.clip(!1); 185 Progress.enabled(this.enable); 186 t || Progress.pop();
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/executor/src/ |
H A D | firmware_download_executor.cpp | 49 Progress progress; in DoDownload() 62 Progress progress; in DoDownload() 88 Progress progress0 = {0, UpgradeStatus::DOWNLOADING, ""}; in PerformDownload() 101 const Progress &progress) -> void { in PerformDownload() 122 …wnloadExecutor::DownloadCallback(std::string serverUrl, std::string packageName, Progress progress) in DownloadCallback() 126 Progress downloadProgress {}; in DownloadCallback() 162 bool FirmwareDownloadExecutor::VerifyDownloadPkg(const std::string &pkgName, Progress &progress) in VerifyDownloadPkg()
|
H A D | firmware_install_executor.cpp | 43 Progress progress; in DoInstall() 56 Progress progress; in DoInstall() 71 Progress progress; in DoInstall() 100 …nstallExecutor::HandleInstallProgress(const FirmwareComponent &component, const Progress &progress) in HandleInstallProgress()
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.2.3/ |
H A D | changelogs-request.md | 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/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-basic-components-progress.md | 1 # Progress chapter 16 Progress(options: ProgressOptions) 325 Progress({ value: 10, type: ProgressType.Linear }).width(200) 331 Progress({ value: 10, type: ProgressType.Eclipse }).width(100) 355 Progress({ value: 10, type: ProgressType.Ring }).width(100) 356 Progress({ value: 20, total: 150, type: ProgressType.Ring }) 391 Progress({ value: 70, total: 100, type: ProgressType.Ring }) 396 Progress({ value: 70, total: 100, type: ProgressType.Ring }) 419 Progress({ value: 0, total: 100, type: ProgressType.Ring }) 424 Progress({ value: 30, total: 100, type: ProgressType.Ring }) [all …]
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/data_processor/include/ |
H A D | firmware_download_data_processor.h | 30 void SetDownloadProgress(const Progress &progress); 31 Progress GetDownloadProgress(); 41 Progress downloadProgress_;
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/free_install/ |
H A D | install_result.h | 35 struct Progress : public Parcelable { struct 41 static Progress *Unmarshalling(Parcel &parcel); argument 47 Progress progress;
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/ |
H A D | js-apidiff-download-upload.md | 60 |新增|NA|类名:Progress;<br>方法or属性:readonly state: State;|@ohos.request.d.ts| 61 |新增|NA|类名:Progress;<br>方法or属性:readonly index: number;|@ohos.request.d.ts| 62 |新增|NA|类名:Progress;<br>方法or属性:readonly processed: number;|@ohos.request.d.ts| 63 |新增|NA|类名:Progress;<br>方法or属性:readonly sizes: Array\<number>;|@ohos.request.d.ts| 64 |新增|NA|类名:Progress;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts| 88 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly progress: Progress;|@ohos.request.d.ts| 97 |新增|NA|类名:Task;<br>方法or属性:on(event: 'progress', callback: (progress: Progress) => void): void;|@oho… 98 |新增|NA|类名:Task;<br>方法or属性:on(event: 'completed', callback: (progress: Progress) => void): void;|@oh… 99 |新增|NA|类名:Task;<br>方法or属性:on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.… 100 |新增|NA|类名:Task;<br>方法or属性:off(event: 'progress', callback?: (progress: Progress) => void): void;|@o… [all …]
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-download-upload.md | 61 |新增|NA|类名:Progress;<br>方法or属性:readonly state: State;|@ohos.request.d.ts| 62 |新增|NA|类名:Progress;<br>方法or属性:readonly index: number;|@ohos.request.d.ts| 63 |新增|NA|类名:Progress;<br>方法or属性:readonly processed: number;|@ohos.request.d.ts| 64 |新增|NA|类名:Progress;<br>方法or属性:readonly sizes: Array\<number>;|@ohos.request.d.ts| 65 |新增|NA|类名:Progress;<br>方法or属性:readonly extras?: object;|@ohos.request.d.ts| 89 |新增|NA|类名:TaskInfo;<br>方法or属性:readonly progress: Progress;|@ohos.request.d.ts| 98 |新增|NA|类名:Task;<br>方法or属性:on(event: 'progress', callback: (progress: Progress) => void): void;|@oho… 99 |新增|NA|类名:Task;<br>方法or属性:on(event: 'completed', callback: (progress: Progress) => void): void;|@oh… 100 |新增|NA|类名:Task;<br>方法or属性:on(event: 'failed', callback: (progress: Progress) => void): void;|@ohos.… 101 |新增|NA|类名:Task;<br>方法or属性:off(event: 'progress', callback?: (progress: Progress) => void): void;|@o… [all …]
|
/ohos5.0/base/update/updateservice/frameworks/js/napi/update/include/ |
H A D | update_client.h | 67 void NotifyDownloadProgress(const BusinessError &businessError, const Progress &progress); 68 void NotifyUpgradeProgresss(const BusinessError &businessError, const Progress &progress); 100 Progress progress_ {}; 101 Progress verifyProgress_ {};
|
H A D | update_result.h | 37 Progress *progress; 51 ReleaseValue<Progress>(result.progress); in Release() 81 AssignValue<Progress>(updateResult.result.progress, result.progress);
|
/ohos5.0/base/request/request/frameworks/cj/ffi/include/ |
H A D | cj_request_common.h | 26 using OHOS::Request::Progress; 36 CProgress Convert2CProgress(const Progress &in);
|
/ohos5.0/base/update/updateservice/services/firmware/upgrade/executor/include/ |
H A D | firmware_install_executor.h | 38 void HandleInstallProgress(const FirmwareComponent &component, const Progress &progress); 47 Progress taskProgress_;
|
H A D | firmware_download_executor.h | 38 void DownloadCallback(std::string serverUrl, std::string packageName, Progress progress); 39 bool VerifyDownloadPkg(const std::string &pkgName, Progress &progress);
|
H A D | firmware_iexecutor.h | 34 using ProgressCallback = std::function<void(const Progress &progress)>; 40 Progress progress;
|