/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-camera.md | 169 ## cl.camera.5 PreviewOutput类start与stop接口变更 177 …保持一致,因此会话中的开始与停止操作,可以包含预览输出的开始与停止操作,因此PreviewOutput中的start与stop操作,在API11版本合并至Session的start与stop操作中。 181 PreviewOutput接口包含的start与stop接口会在API11版本废弃,保留五个版本,合并至Session的start与stop操作中。 187 PreviewOutput类start与stop 194 stop(callback: AsyncCallback\<void\>): void 195 stop(): Promise\<void\> 199 合并至PhotoSession或VideoSession的start和stop接口。 203 …,通过API11新增的PhotoSession或VideoSession的start和stop接口,或是CaptureSession的start和stop接口,即可执行PreviewOutput类…
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-color-effect.md | 133 … // the color changes from color stop 1 to color stop 2 in the area within angles from 0 to 0.125; 134 …// the color changes from color stop 2 to color stop 3 in the area within angles from 0.125 to 0.2… 137 [0xffffff, 0.125], // Color and weight of color stop 2. 138 [0x409EFF, 0.25] // Color and weight of color stop 3. 158 …ft corner of the component. Therefore, the angle range from color stop 1 to color stop 3 can cover… 159 … [0xf56c6c, 0], // Color and weight of color stop 1. The corresponding angle is 0° (0 x 360°) 161 …[0x409EFF, 0.25] // Color and weight of color stop 3. The corresponding angle is 90° (0.25 x 360°). 246 …ith [50, 50] as the center point, the gradient changes from color stop 1 to color stop 2 within th… 247 … // the gradient changes from color stop 2 to color stop 3 within the range of radius 12.5 to 25; 249 … [0xf56c6c, 0], // Color and weight of color stop 1. The corresponding radius is 0 (0 x 100). [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/ |
H A D | js-apis-hidebug.md | 252 …CpuProfiling()`方法的调用一一对应,先开启后关闭,严禁使用`start->start->stop`,`start->stop->stop`,`start->start->stop->… 289 …CpuProfiling()`方法的调用一一对应,先开启后关闭,严禁使用`start->start->stop`,`start->stop->stop`,`start->start->stop->… 350 …topProfiling()`方法的调用一一对应,先开启后关闭,严禁使用`start->start->stop`,`start->stop->stop`,`start->start->stop->… 379 …artProfiling()`方法的调用一一对应,先开启后关闭,严禁使用`start->start->stop`,`start->stop->stop`,`start->start->stop->… 479 先开启后关闭,严禁使用'start->start->stop','start->stop->stop','start->start->stop->stop'等类似的顺序调用。 539 先开启后关闭,严禁使用'start->start->stop','start->stop->stop','start->start->stop->stop'等类似的顺序调用。
|
/ohos5.0/base/web/webview/test/unittest/ohos_adapter/enterprise_device_impl_test/ |
H A D | enterprise_device_impl_test.cpp | 112 bool stop = EnterpriseDeviceManagementAdapterImpl::GetInstance().StopObservePolicyChange(); variable 113 EXPECT_TRUE(stop); 115 stop = EnterpriseDeviceManagementAdapterImpl::GetInstance().StopObservePolicyChange(); 116 EXPECT_FALSE(stop); 118 stop = EnterpriseDeviceManagementAdapterImpl::GetInstance().StopObservePolicyChange(); 119 EXPECT_TRUE(stop);
|
/ohos5.0/docs/en/application-dev/reference/apis-media-kit/ |
H A D | errorcode-media.md | 24 Destroy this instance and re-create it. If the re-creation fails, stop related operations. 80 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 98 Destroy this instance and re-create it. If the re-creation fails, stop related operations. 174 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 192 Destroy this instance and re-create it. If the re-creation fails, stop related operations. 211 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 230 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 249 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 268 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. 287 2. Destroy this instance and re-create it. If the re-creation fails, stop related operations. [all …]
|
/ohos5.0/docs/zh-cn/application-dev/graphics/ |
H A D | displaysync-ui.md | 107 > 创建的DisplaySync实例在start使能后需要aboutToDisappear函数中进行stop操作并置空,避免内存泄漏问题。 111 this.backDisplaySyncSlow.stop(); 115 this.backDisplaySyncFast.stop(); 132 this.backDisplaySyncSlow.stop(); 135 this.backDisplaySyncFast.stop(); 224 this.backDisplaySyncSlow.stop(); // DisplaySync失能关闭 228 this.backDisplaySyncFast.stop(); // DisplaySync失能关闭 278 this.backDisplaySyncSlow.stop(); // DisplaySync失能关闭 281 this.backDisplaySyncFast.stop(); // DisplaySync失能关闭
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-cloudsync.md | 254 ### stop<sup>11+</sup> 256 stop(uri: string, needClean?: boolean): Promise<void> 260 调用stop接口, 当前文件下载流程会终止, 缓存文件会被删除, 再次调用start接口会重新开始下载。 297 fileCache.stop(uri, true).then(() => { 298 console.info("stop download successfully"); 300 …console.error("stop download failed with error message: " + err.message + ", error code: " + err.c… 304 ### stop<sup>11+</sup> 306 stop(uri: string, callback: AsyncCallback<void>): void 310 调用stop接口, 当前文件下载流程会终止, 缓存文件会被删除, 再次调用start接口会重新开始下载。 341 fileCache.stop(uri, (err: BusinessError) => { [all …]
|
H A D | js-apis-file-cloudsync-sys.md | 314 ### stop subsection 316 stop(): Promise<void> 352 gallerySync.stop().then(() => { 359 ### stop subsection 652 ### stop subsection 697 download.stop(uri).then(() => { 704 ### stop subsection 996 ### stop<sup>11+</sup> 998 stop(): Promise<void> 1033 fileSync.stop().then(() => { [all …]
|
/ohos5.0/docs/zh-cn/application-dev/arkts-utils/ |
H A D | resident-task-guide.md | 25 4. 此处宿主线程为UI主线程,宿主线程发送'start',开始执行某个长期运行的任务并接收子线程返回的相关消息。在不需要执行该任务时发送'stop',停止该任务执行,该示例中10s后结束该任务。 46 workerInstance.postMessage({ type: 'stop' }); 56 5. 在Worker线程中当接受到宿主线程发送的消息为'start'时,开始执行某个长时间不定期运行的任务并实时返回消息给宿主线程。当接收到的消息为'stop'时结束该任务执行并返回相应消息给宿主线… 71 } else if (type === 'stop') { 84 workerPort.postMessage('Worker is stop performing a task');
|
/ohos5.0/foundation/communication/netmanager_ext/services/vpnmanager/src/ |
H A D | net_vpn_impl.cpp | 307 int32_t stop = INVALID_UID; in GenerateUidRangesByAcceptedApps() local 311 } else if (uid != stop + 1) { in GenerateUidRangesByAcceptedApps() 313 endUids.push_back(stop); in GenerateUidRangesByAcceptedApps() 316 stop = uid; in GenerateUidRangesByAcceptedApps() 320 endUids.push_back(stop); in GenerateUidRangesByAcceptedApps() 328 …int32_t stop = userId * AppExecFwk::Constants::BASE_USER_RANGE + AppExecFwk::Constants::MAX_APP_UI… in GenerateUidRangesByRefusedApps() local 338 if (start <= stop) { in GenerateUidRangesByRefusedApps() 340 endUids.push_back(stop); in GenerateUidRangesByRefusedApps() 392 …int32_t stop = userId * AppExecFwk::Constants::BASE_USER_RANGE + AppExecFwk::Constants::MAX_APP_UI… in GenerateUidRanges() local 394 endUids.push_back(stop); in GenerateUidRanges() [all …]
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/utils/ |
H A D | enhancement_thread_manager.cpp | 31 stop = false; in EnhancementThreadManager() 42 stop = true; in ~EnhancementThreadManager() 75 return !taskQueue_.empty() || stop; in DealWithTasks() 77 if (stop && taskQueue_.empty()) { in DealWithTasks()
|
/ohos5.0/docs/en/application-dev/media/media/ |
H A D | using-avscreencapture-ArkTs.md | 64 …("Touch the button in the screen capture capsule to stop screen capture. Underlying capture will s… 67 … console.info("Screen capture stops due to other interruptions. Underlying capture will stop."); 70 … console.info("Screen capture stops due to incoming calls. Underlying capture will stop."); 89 console.info("Underlying capture will stop after the user account is changed."); 145 - The application proactively calls **stopRecording()** to stop screen capture. 180 …// Call startRecording to start screen capture. To stop screen capture, click the stop button in t… 202 …("Touch the button in the screen capture capsule to stop screen capture. Underlying capture will s… 205 … console.info("Screen capture stops due to other interruptions. Underlying capture will stop."); 208 console.info("Screen capture stops due to incoming calls. Underlying capture will stop."); 227 console.info("Underlying capture will stop after the user account is changed."); [all …]
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | aa-tool.md | 25 | stop-service | 停止命令。用于停止ServiceAbility。 | 27 | force-stop | 强制停止进程命令。通过bundleName强制停止一个进程。| 159 ## 停止命令(stop-service) 164 aa stop-service [-d <deviceId>] -a <abilityName> -b <bundleName> [-m <moduleName>] 178 …当成功停止ServiceAbility时,返回"stop service ability successfully.";当停止失败时,返回"error: failed to stop servic… 184 aa stop-service -a EntryAbility -b com.example.myapplication -m entry 238 ## 强制停止进程命令(force-stop) 243 aa force-stop <bundleName> 248 …当成功强制停止该进程时,返回"force stop process successfully.";当强制停止失败时,返回"error: failed to force stop process."。 254 aa force-stop com.example.myapplication
|
/ohos5.0/docs/zh-cn/application-dev/media/camera/ |
H A D | camera-recording.md | 136 …er的[stop](../../reference/apis-media-kit/js-apis-media.md#stop9-3)方法停止录像,再通过videoOutput的[stop](../… 141 await avRecorder.stop(); 144 console.error(`avRecorder stop error: ${JSON.stringify(err)}`); 146 videoOutput.stop((err: BusinessError) => { 148 console.error(`Failed to stop the video output ${err.message}`); 151 console.info('Callback invoked to indicate the video output stop success.');
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.6.3/ |
H A D | changelogs-camera.md | 173 ## cl.camera.5 APIs start() and stop() of PreviewOutput Changed 181 The start and stop operations of **PreviewOutput** can be included in the start and stop operations… 185 …stop()** APIs of the **PreviewOutput** class is deprecated in API version 11 version and will be r… 191 **start()** and **stop()** APIs of the **PreviewOutput** class 198 stop(callback: AsyncCallback\<void\>): void 199 stop(): Promise\<void\> 203 …The **start()** and **stop()** APIs of the **PhotoSession** or **VideoSession** class are used to … 207 …aptation is required. The start and stop operations of **PreviewOutput** are triggered by the **st…
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/ohaudio/test/example/ |
H A D | oh_audio_capturer_test.cpp | 82 void SleepWaitRecoder(bool* stop) in SleepWaitRecoder() argument 85 *stop = true; in SleepWaitRecoder() 119 bool stop = false; in RecorderTest() local 120 std::thread stopthread(SleepWaitRecoder, &stop); in RecorderTest() 126 while (!stop) { in RecorderTest()
|
/ohos5.0/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_video_player_fast_2.h | 94 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, stop, pause, release) in FIXTURE() 188 PTEST((std::string url, int32_t fileSize), Test fdsource create, stop, release) in FIXTURE() 198 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, stop, release) in FIXTURE() 210 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, stop, release) in FIXTURE() 224 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, pause, stop, release) in FIXTURE() 239 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, reset, stop, relese) in FIXTURE() 254 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, seek, stop, release) in FIXTURE() 290 PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, speed, stop, release) in FIXTURE() 304 PTEST((std::string url, int32_t fileSize), Test fdsource create, setsource, stop, release) in FIXTURE() 315 … PTEST((std::string url, int32_t fileSize), Test fdsource prepare, play, stop, stop, stop, release) in FIXTURE() [all …]
|
/ohos5.0/docs/en/application-dev/arkts-utils/ |
H A D | resident-task-guide.md | 25 …d by the sub-thread. When the task does not need to be executed, send'stop' to stop the task. In t… 46 workerInstance.postMessage({ type: 'stop' }); 56 … a message to the host thread in real time. When the received message is "stop," the task executio… 71 } else if (type === 'stop') { 84 workerPort.postMessage('Worker is stop performing a task');
|
/ohos5.0/docs/en/application-dev/graphics/ |
H A D | displaysync-ui.md | 107 …> After **start()** is called, the **stop()** API must be performed and the **DisplaySync** instan… 111 this.backDisplaySyncSlow.stop(); 115 this.backDisplaySyncFast.stop(); 132 this.backDisplaySyncSlow.stop(); 135 this.backDisplaySyncFast.stop(); 224 this.backDisplaySyncSlow.stop (); // DisplaySync disabled. 228 this.backDisplaySyncFast.stop(); // DisplaySync disabled. 278 this.backDisplaySyncSlow.stop (); // DisplaySync disabled. 281 this.backDisplaySyncFast.stop(); // DisplaySync disabled.
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | how-to-develop-frame-animation.md | 9 - 点击“stop”按钮,火柴人停止走动。 69 Button('stop') 112 3. 为''run''按钮和"stop"按钮绑定控制逻辑。 155 通过clearAllInterval为“stop”按钮绑定停止逻辑。 157 Button('stop') 260 Button('stop')
|
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/ |
H A D | js-apis-file-cloudsync.md | 3 …for applications. You can use the APIs to start or stop device-cloud synchronization and start or … 254 ### stop<sup>11+</sup> 256 stop(uri: string, needClean?: boolean): Promise<void> 297 fileCache.stop(uri, true).then(() => { 298 console.info("stop download successfully"); 300 …console.error("stop download failed with error message: " + err.message + ", error code: " + err.c… 304 ### stop<sup>11+</sup> 306 stop(uri: string, callback: AsyncCallback<void>): void 341 fileCache.stop(uri, (err: BusinessError) => { 343 …console.error("stop download failed with error message: " + err.message + ", error code: " + err.c… [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/entry/src/main/ets/mainability/ |
H A D | DHardwareUIAbility.ets | 50 stop() { 51 console.info(TAG + 'stop'); 55 console.log('stop distributed hardware successfully'); 58 console.error('stop distributed hardware failed, cause:' + error); 60 console.log('stop distributed hardware successfully'); 62 console.error('stop distributed hardware failed:' + error); 197 …console.log(TAG + 'onNewWant : ' + '[returnCode==24200102]--[stop mic]--AppStorage.get<number>(mic… 223 if (sign == 'stop') { 228 // stopAbility:app destroys itself: the stop function is no longer executed 232 this.stop(); [all …]
|
/ohos5.0/docs/zh-cn/contribute/style-guide/ |
H A D | style-guide-content-elements.md | 16 …stop'|'dataLoad'` :<br/>- `play`:完成play()调用,音频开始播放,触发该事件。<br/>- `stop`:完成stop()调用,音…
|
/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | using-toneplayer-for-playback.md | 79 async function stop() { 80 await tonePlayerPromise.stop(); 130 console.info(`testTonePlayerPromise: stop type: ${type}`); 133 await tonePlayerPromise.stop(); 134 console.info('testTonePlayerPromise: stop-success');
|
/ohos5.0/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/ |
H A D | api_cache_manager_test.cpp | 899 void Task001(bool& stop) in Task001() argument 910 while (!stop) { in Task001() 927 while (!stop) { in Task002() 948 while (!stop) { in Task003() 958 while (!stop) { in Task004() 971 while (!stop) { in Task005() 981 while (!stop) { in Task006() 999 bool stop = false; variable 1005 stop = true; 1013 stop = false; [all …]
|