/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/ |
H A D | lazy_for_each_builder.cpp | 336 initialIndex = 0; in OnDatasetChange() 349 return std::pair(initialIndex, nodeList_); in OnDatasetChange() 443 OperateAdd(operation, initialIndex); in ClassifyOperation() 446 OperateDelete(operation, initialIndex); in ClassifyOperation() 496 initialIndex = std::min(initialIndex, operation.index); in OperateAdd() 513 initialIndex = std::min(initialIndex, operation.index); in OperateDelete() 551 initialIndex = std::min(initialIndex, operation.index); in OperateChange() 572 initialIndex = std::min(initialIndex, operation.coupleIndex.first); in OperateMove() 594 initialIndex = std::min(initialIndex, operation.coupleIndex.second); in OperateMove() 626 initialIndex = std::min(initialIndex, operation.coupleIndex.second); in OperateExchange() [all …]
|
H A D | lazy_for_each_builder.h | 110 bool ClassifyOperation(V2::Operation& operation, int32_t& initialIndex, 115 void OperateAdd(V2::Operation& operation, int32_t& initialIndex); 117 void OperateDelete(V2::Operation& operation, int32_t& initialIndex); 119 void OperateMove(V2::Operation& operation, int32_t& initialIndex, 122 void OperateChange(V2::Operation& operation, int32_t& initialIndex, 128 void OperateExchange(V2::Operation& operation, int32_t& initialIndex,
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.57/ |
H A D | changelogs-arkui.md | 206 ## cl.arkui.3 List组件首次创建布局时,Scroller控制器的跳转方法优先级变更为高于initialIndex的优先级 214 initialIndex仅支持设定起始index,并默认将列表头部对齐,这使得开发者无法自定义对齐策略。scrollToIndex允许指定index与对齐方式,然而其效果会被 initialInde… 221 场景1:List设置initialIndex为0 (默认也是0),并在首次布局前调用scrollToIndex(1)。 227 场景2:List设置initialIndex为0 (默认也是0),并在首次布局前调用scrollEdge(Edge.Bottom)。 244 List组件的initialIndex接口和Scroller控制器的跳转接口(scrollToIndex、scrollToItemInGroup和scrollEdge)。 248 …查是否在onAppear或其他List组件首次布局之前的阶段,同时设置了initialIndex并调用了scrollToIndex,、scrollToItemInGroup或scrollEdge接…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/state_mgmt/src/lib/partial_update/ |
H A D | pu_repeat.ts | 42 constructor(owningView: ViewPU, initialItem: T, initialIndex?: number) { 44 if (initialIndex !== undefined) { 45 … this._observedIndex = new ObservedPropertyPU<number>(initialIndex, owningView, 'Repeat index'); 76 constructor(initialItem: T, initialIndex?: number) { 78 this.index = initialIndex;
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | access-dataability.md | 70 List({ initialIndex: 0 }) { 128 List({ initialIndex: 0 }) { 185 List({ initialIndex: 0 }) { 243 List({ initialIndex: 0 }) { 301 List({ initialIndex: 0 }) { 361 List({ initialIndex: 0 }) { 420 List({ initialIndex: 0 }) { 489 List({ initialIndex: 0 }) { 556 List({ initialIndex: 0 }) { 615 List({ initialIndex: 0 }) { [all …]
|
H A D | api-switch-overview.md | 26 List({ initialIndex: 0 }) { 79 List({ initialIndex: 0 }) {
|
H A D | bind-serviceability-from-stage.md | 28 List({ initialIndex: 0 }) { 88 List({ initialIndex: 0 }) {
|
H A D | start-uiability-from-fa.md | 27 List({ initialIndex: 0 }) { 78 List({ initialIndex: 0 }) {
|
H A D | start-pageability-from-stage.md | 30 List({ initialIndex: 0 }) { 81 List({ initialIndex: 0 }) {
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | access-dataability.md | 70 List({ initialIndex: 0 }) { 128 List({ initialIndex: 0 }) { 185 List({ initialIndex: 0 }) { 243 List({ initialIndex: 0 }) { 301 List({ initialIndex: 0 }) { 361 List({ initialIndex: 0 }) { 420 List({ initialIndex: 0 }) { 489 List({ initialIndex: 0 }) { 556 List({ initialIndex: 0 }) { 615 List({ initialIndex: 0 }) { [all …]
|
H A D | api-switch-overview.md | 26 List({ initialIndex: 0 }) { 79 List({ initialIndex: 0 }) {
|
H A D | bind-serviceability-from-stage.md | 28 List({ initialIndex: 0 }) { 88 List({ initialIndex: 0 }) {
|
H A D | start-uiability-from-fa.md | 27 List({ initialIndex: 0 }) { 78 List({ initialIndex: 0 }) {
|
H A D | start-pageability-from-stage.md | 31 List({ initialIndex: 0 }) { 82 List({ initialIndex: 0 }) {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_list_ffi.cpp | 72 void FfiOHOSAceFrameworkListCreate(double space, int32_t unit, int32_t initialIndex, int64_t scroll… in FfiOHOSAceFrameworkListCreate() argument 78 if (initialIndex >= 0) { in FfiOHOSAceFrameworkListCreate() 79 ListModel::GetInstance()->SetInitialIndex(initialIndex); in FfiOHOSAceFrameworkListCreate()
|
H A D | cj_list_ffi.h | 39 CJ_EXPORT void FfiOHOSAceFrameworkListCreate(double space, int32_t unit, int32_t initialIndex, int6…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-on-child-touch-test.md | 103 List({ space: 12, initialIndex: 0 }) { 177 List({ space: 12, initialIndex: 0 }) { 251 List({ space: 12, initialIndex: 0 }) {
|
H A D | ts-container-list.md | 53 List(value?:{space?: number | string, initialIndex?: number, scroller?: Scroller}) 65 | initialIndex | number | 否 | 设置当前List初次加载时显示区域起始位置的item索引值。<br/>默认值:0<br/>**说明:** <br/>设置为负数或超过了当前… 581 List初始化时如果initialIndex为0会触发一次,List滚动到起始位置时触发一次。List边缘效果为弹簧效果时,划动经过起始位置时触发一次,回弹回起始位置时再触发一次。 1026 List({ space: 20, initialIndex: 0 }) { 1082 List({ space: 20, initialIndex: 0 }) { 1135 List({ space: 20, initialIndex: 0 }) { 1198 List({ space: 20, initialIndex: 3, scroller: this.scrollerForList }) { 1254 List({ space: this.listSpace, initialIndex: 4, scroller: this.scroller }) { 1418 List({ space: 20, initialIndex: 0, scroller: this.scrollerForList }) {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | list_model_impl.cpp | 43 void ListModelImpl::SetInitialIndex(int32_t initialIndex) in SetInitialIndex() argument 45 JSViewSetProperty(&V2::ListComponent::SetInitialIndex, initialIndex); in SetInitialIndex()
|
/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | reasonable-using-animation.md | 251 List({ space: 20, initialIndex: 0, scroller: this.scrollerForList }) { 274 List({ space: 20, initialIndex: 0, scroller: this.scrollerForList }) {
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_content.cpp | 85 auto initialIndex = controller_->GetInitialIndex(); in FlushIndex() local 88 currentIndex_ = initialIndex < 0 ? 0 : initialIndex; in FlushIndex()
|
/ohos5.0/docs/zh-cn/third-party-cases/ |
H A D | interact-lists.md | 39 List ({ space: 50, scroller: this.classifyScroller, initialIndex: 0 }) { 170 List ({ space: 50, scroller: this.classifyScroller, initialIndex: 0 }) {
|
H A D | multi-device-app-dev.md | 83 List({ initialIndex: 0 }) { 232 List({ initialIndex: 0 }) {
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.5/ |
H A D | changelogs-arkui.md | 31 List({ space: 20, initialIndex: 0 }) {
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/syntax/ |
H A D | lazy_for_each_builder_syntax_test_ng.cpp | 954 int32_t initialIndex = 0; variable 957 lazyForEachBuilder->OperateChange(operation, initialIndex, cachedTemp, expiringTemp); 966 lazyForEachBuilder->OperateChange(operation, initialIndex, cachedTemp, expiringTemp); 976 lazyForEachBuilder->OperateChange(operation, initialIndex, cachedTemp, expiringTemp); 983 lazyForEachBuilder->OperateChange(operation, initialIndex, cachedTemp, expiringTemp);
|