Searched refs:taskA (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | arkts-watch.md | 244 @State @Watch('onTaskAChanged') taskA: Task = new Task(false); 257 Text(`父组件任务A状态: ${this.taskA.isFinished ? '已完成' : '未完成'}`) 259 ChildComponent({ taskA: this.taskA, taskB: this.taskB }) 263 this.taskA = new Task(!this.taskA.isFinished); 272 @Link @Watch('onLinkTaskChanged') taskA: Task; 284 Text(`子组件任务A状态: ${this.taskA.isFinished ? '已完成' : '未完成'}`) 293 1. 当点击按钮切换任务状态时,父组件首先更新了被\@ObjectLink关联的taskB,然后更新了被\@Link关联的taskA。 298 观测到父组件任务属性变化: taskA 299 观测到子组件@Link关联的任务属性变化: taskA
|
/ohos5.0/base/powermgr/power_manager/test/apitest/inner_api/ffrt/src/ |
H A D | ffrt_utils_test.cpp | 202 FFRTTask taskA = [&mutexMap, &data]() { in __anone73078890c02() variable 209 FFRTUtils::SubmitTask(taskA); 231 FFRTTask taskA = [&mutexMap, &data]() { in __anone73078890d02() variable 238 FFRTUtils::SubmitTask(taskA); 258 FFRTTask taskA = [&data]() { in __anone73078890e02() variable 270 timer.SetTimer(TIMER_ID_A, taskA, 50); 278 timer.SetTimer(TIMER_ID_A, taskA, 50); 286 timer.SetTimer(TIMER_ID_A, taskA, 50); 310 FFRTTask taskA = [&count, &mutexMap]() { in __anone73078891102() variable 317 timer.SetTimer(TIMER_ID_A, taskA, 50);
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | arkts-watch.md | 240 @State @Watch('onTaskAChanged') taskA: Task = new Task(false); 253 Text(`Parent component task A state: ${this.taskA.isFinished ? 'Finished' : 'Unfinished'}`) 255 ChildComponent({ taskA: this.taskA, taskB: this.taskB }) 259 this.taskA = new Task(!this.taskA.isFinished); 268 @Link @Watch('onLinkTaskChanged') taskA: Task; 280 Text(`Child component task A state: ${this.taskA.isFinished ? 'Finished' : 'Unfinished'}`) 289 …the parent component updates **taskB** associated with \@ObjectLink and **taskA** associated with … 294 Property of this parent component task is changed: taskA 295 Property of @Link associated task of the child component is changed: taskA
|