Home
last modified time | relevance | path

Searched refs:Repeat (Results 1 – 25 of 56) sorted by relevance

123

/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-new-rendering-control-repeat.md1 # Repeat:子组件复用
21 - 在容器组件内使用Repeat的时候,只能包含一个Repeat。以List为例,同时包含ListItem、ForEach、LazyForEach的场景是不推荐的;同时包含多个Repeat也是不推荐…
45 ![Repeat-VS-KeyGen](./figures/Repeat-VS-KeyGen.png)
69 ![Repeat-Start](./figures/Repeat-Start.PNG)
73 ![Repeat-Slide](./figures/Repeat-Slide.PNG)
79 ![Repeat-Slide-Done](./figures/Repeat-Slide-Done.PNG)
83 ![Repeat-Start](./figures/Repeat-Start.PNG)
87 ![Repeat-Update1](./figures/Repeat-Update1.PNG)
91 ![Repeat-Update2](./figures/Repeat-Update2.PNG)
574 ![Repeat-Nest](./figures/Repeat-Nest.png)
[all …]
H A Darkts-mvvm-V2.md170 ### 添加Repeat,实现子组件复用
172 添加了任务增删功能后,随着任务列表项的增加,需要一种高效渲染多个结构相同的子组件的方法,以提高界面的性能表现。为此,引入了Repeat方法,用于优化任务列表的渲染过程。Repeat支持两种模式:vi…
174 在本例中,任务量较少,选择了non-virtualScroll模式。新建了一个任务数组tasks,并使用Repeat方法迭代数组中的每一项,动态生成并复用TaskItem组件。在任务增删时,这种方式…
208 Repeat<string>(this.tasks)
290 Repeat<Task>(this.tasks)
387 Repeat<Task>(this.tasks)
490 Repeat<Task>(this.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
663Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
824Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
1078Repeat<TaskViewModel>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.i…
H A Darkts-custom-components-freezeV2.md440 // 使用Repeat重复渲染TabContent组件
441 Repeat<number>(this.data)
H A DReadme-CN.md106 - [Repeat:子组件复用](arkts-new-rendering-control-repeat.md)
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-rendering-control-repeat.md1 # Repeat chapter
11 Repeat: \<T\>(arr: Array\<T\>)
13 Repeat组件non-virtualScroll场景(不开启virtualScroll开关)中,Repeat基于数据源进行循环渲染,需要与容器组件配合使用,且接口返回的组件应当是允许包含在Repe…
15 Repeat组件virtualScroll场景中,Repeat将从提供的数据源中按需迭代数据,并在每次迭代过程中创建相应的组件,必须与滚动类容器组件配合使用。当在滚动类容器组件中使用了Repeat,…
32 Repeat<string>(this.arr)
69 Repeat<string>(this.arr)
96 Repeat<string>(this.arr)
105 `Repeat`开启虚拟滚动。
122 Repeat<string>(this.arr)
152 Repeat<string>(this.arr)
[all …]
H A Dts-universal-attributes-border-image.md48 | Repeat | 被切割图片重复铺平在图片边框上,超出的部分会被剪裁。 |
101 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
103 @State SelectText: string = 'Repeat'
162 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
206 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
208 @State SelectText: string = 'Repeat'
320 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
H A Dts-universal-attributes-gradient-color.md96 Text('linearGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
176 Text('radialGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
H A Dts-basic-components-imageanimator.md291 console.info('Repeat')
363 console.info('Repeat')
H A Dts-container-grid.md12 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st…
22 > ForEach/LazyForEach和Repeat语句中,会计算展开所有子节点索引值。
24 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st…
243 …/quick-start/arkts-rendering-control-lazyforeach.md)和开启了virtualScroll开关的[Repeat](../../../quick-st…
247 …/quick-start/arkts-rendering-control-lazyforeach.md)和开启了virtualScroll开关的[Repeat](../../../quick-st…
H A Dts-container-list.md30 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st…
40 > ForEach/LazyForEach/Repeat语句中,会计算展开所有子节点索引值。
42 …zyForEach](../../../quick-start/arkts-rendering-control-lazyforeach.md)和[Repeat](../../../quick-st…
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-new-rendering-control-repeat.md45 ![Repeat-VS-KeyGen](./figures/Repeat-VS-KeyGen.png)
69 ![Repeat-Start](./figures/Repeat-Start.png)
73 ![Repeat-Slide](./figures/Repeat-Slide.png)
79 ![Repeat-Slide-Done](./figures/Repeat-Slide-Done.png)
83 ![Repeat-Start](./figures/Repeat-Start.png)
87 ![Repeat-Update1](./figures/Repeat-Update1.png)
91 ![Repeat-Update2](./figures/Repeat-Update2.png)
574 ![Repeat-Nest](./figures/Repeat-Nest.png)
679 ![Repeat-Demo-List](./figures/Repeat-Demo-List.gif)
807 ![Repeat-Demo-Grid](./figures/Repeat-Demo-Grid.gif)
[all …]
H A Darkts-mvvm-V2.md170 ### Adding Repeat to Implement Child Component Reuse
172 …ce of the UI. Therefore, the **Repeat** method is introduced to optimize the rendering process of …
174 …selected because of few task items. Create an array **tasks**, use the **Repeat** method to iterat…
208 Repeat<string>(this.tasks)
290 Repeat<Task>(this.tasks)
387 Repeat<Task>(this.tasks)
490 Repeat<Task>(this.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
663Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
824Repeat<Task>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.isFinish))
1078Repeat<TaskViewModel>(this.taskList.tasks.filter(task => this.setting.showCompletedTask || !task.i…
H A Darkts-custom-components-freezeV2.md439 // Use Repeat to repeatedly render the TabContent component.
440 Repeat<number>(this.data)
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-rendering-control-repeat.md1 # Repeat chapter
3Repeat** component, which is used together with the container component, performs loop rendering b…
5 …ed, **Repeat** iterates data from the provided data source as required and creates the correspondi…
27 | [RepeatAttribute](#repeatattribute)\<T\> | Repeat attributes.|
52 | repeatItem | [RepeatItem](#repeatitem)\<T\> | Yes| Repeat items.|
77 Enables virtual scrolling for the **Repeat** component.
188Repeat** cache pool. This parameter takes effect only when **virtualScroll** is enabled.<br>When *…
H A Dts-universal-attributes-border-image.md37 | repeat | [RepeatMode](#repeatmode) | No| Repeat mode of the source ima…
48 | Repeat | The source image's slices are tiled. Tiles beyond the border box will be clipped. …
98 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
100 @State SelectText: string = 'Repeat'
159 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
203 …@State RepeatValue: RepeatMode[] = [RepeatMode.Repeat, RepeatMode.Stretch, RepeatMode.Round, Repea…
205 @State SelectText: string = 'Repeat'
317 … Select([{ value: 'Repeat' }, { value: 'Stretch' }, { value: 'Round' }, { value: 'Space' }])
H A Dts-universal-attributes-gradient-color.md88 Text('linearGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
160 Text('radialGradient Repeat').fontSize(12).width('90%').fontColor(0xCCCCCC)
H A Dts-basic-components-imageanimator.md287 console.info('Repeat')
356 console.info('Repeat')
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-arkui.md137 ## cl.arkui.5 Repeat接口RepeatItem参数index可选改为必选
145 为了提升Repeat使用的易用性,在该组件的实现上,进行了优化处理。对其接口RepeatItem所需要的index参数从非必填优化为了必填,这样开发者在使用index参数的时候,无需对index参数…
161 Repeat组件,RepeatItem接口的index参数。
177 Repeat(this.arr)
202 Repeat(this.arr)
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.35/
H A Dchangelogs-arkui.md206 ## cl.arkui.5 Repeat设置totalCount属性行为变更
220 变更前:Repeat设置totalCount属性时,如果totalCount小于数据长度,显示的数据个数为数据的长度。
226 变更后:Repeat设置totalCount属性时,如果totalCount小于数据长度,显示的数据个数为totalCount值。
242 Repeat组件。
264 Repeat<string>(this.simpleList)
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/data_producer_base/
H A Ddata_producer_base.cpp44 if ((frameCount_ >= sampleInfo_->maxFrames || IsEOS()) && !Repeat()) { in ReadSample()
71 bool DataProducerBase::Repeat() in Repeat() function in OHOS::MediaAVCodec::Sample::DataProducerBase
H A Ddata_producer_base.h33 virtual bool Repeat();
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/sdk/
H A Di_repeat.ts37 const Repeat: <T>(arr: Array<T>, owningView?: PUV2ViewBase) => RepeatAPI<T> =
/ohos5.0/foundation/multimodalinput/input/service/event_handler/include/
H A Devent_normalize_handler.h49 void Repeat(const std::shared_ptr<KeyEvent> keyEvent);
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-graphics-display.md401 ### Setting Image Repeat Pattern
419 // Repeat the image along both the horizontal and vertical axes.
427 // Repeat the image only along the vertical axis.
435 // Repeat the image only along the horizontal axis.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dtemplates_parser.cpp58 struct Repeat { struct
62 using Value = Repeat;

123