Home
last modified time | relevance | path

Searched refs:onGetIrregularSizeByIndex (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/
H A Dirregular_matrics.cpp45 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo1()
72 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo2()
102 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo5()
136 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo8()
158 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo9()
188 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo10()
212 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo11()
231 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo12()
254 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo13()
274 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in GetOptionDemo14()
[all …]
H A Dgrid_irregular_filler_test.cpp162 auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { in __anon2cf91f120102() variable
169 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
236 …auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { return { .columns = 1, .rows … in __anon2cf91f120202() variable
237 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
H A Dgrid_layout_range_solver_test.cpp99 auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { in __anonbba2592c0102() variable
106 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
141 auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { in __anonbba2592c0202() variable
151 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
H A Dgrid_irregular_layout_test.cpp1887 auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { in __anon1f31ee920302() variable
1893 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
1931 auto onGetIrregularSizeByIndex = [](int32_t index) -> GridItemSize { in __anon1f31ee920402() variable
1937 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_option_layout_test_ng.cpp42 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60202() variable
46 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
101 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60302() variable
105 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
136 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60402() variable
140 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
173 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60502() variable
177 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
205 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60602() variable
269 auto onGetIrregularSizeByIndex = [](int32_t index) { in __anon04a373d60702() variable
[all …]
H A Dgrid_common_test_ng.cpp301 GetSizeByIndex onGetIrregularSizeByIndex = [](int32_t index) { in __anon112a6e490202() variable
307 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
H A Dgrid_scroller_test_ng.cpp304 GetSizeByIndex onGetIrregularSizeByIndex = [](int32_t index) { in __anon9756c8060202() variable
310 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_component/src/
H A DArkGrid.ts210 …isFunction(this.value?.onGetIrregularSizeByIndex) ? this.value.onGetIrregularSizeByIndex : undefin…
217 …!isBaseOrResourceEqual(this.stageValue?.onGetIrregularSizeByIndex, this.value?.onGetIrregularSizeB…
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-grid.md55 布局选项。其中,irregularIndexes和onGetIrregularSizeByIndex可对仅设置rowsTemplate或columnsTemplate的Grid使用,可以指定一个in…
60 | irregularIndexes | number[] | 否 | 指定的GridItem索引在Grid中的大小是不规则的。当不设置onGetIrregularSizeByIndex时,i…
61 | onGetIrregularSizeByIndex | (index: number) => [number, number] | 否 | 配合irregularIndexes使用,设置不…
926 GridLayoutOptions的使用:irregularIndexes与onGetIrregularSizeByIndex
942 irregularIndexes: [0, 7], // 索引为0和7的GridItem占用的列数由onGetIrregularSizeByIndex指定
943 onGetIrregularSizeByIndex: (index: number) => {
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-layout-development-create-grid.md70 …idlayoutoptions10对象说明)实现如图所示的单个网格横跨多行或多列的场景,其中,irregularIndexes和onGetIrregularSizeByIndex可对仅设置rows…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_grid.cpp119 auto onGetIrregularSizeByIndex = [execCtx = info.GetExecutionContext(), in ParseGetGridItemSize() local
131 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in ParseGetGridItemSize()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-grid.md55 Defines the layout options. In this API, **irregularIndexes** and **onGetIrregularSizeByIndex** can…
60 …xes of the grid item with an irregular size in the grid. When **onGetIrregularSizeByIndex** is not…
61 | onGetIrregularSizeByIndex | (index: number) => [number, number] | No | Number of rows and colum…
924 This example uses **irregularIndexes** and **onGetIrregularSizeByIndex** in **GridLayoutOptions**.
940 …umns occupied by the grid item whose indexes are 0 and 7 is specified by onGetIrregularSizeByIndex.
941 onGetIrregularSizeByIndex: (index: number) => {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_grid_bridge.cpp84 auto onGetIrregularSizeByIndex = in ParseGetGridItemSize() local
96 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in ParseGetGridItemSize()
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-layout-development-create-grid.md73 …tions10) when creating the grid. Use **irregularIndexes** and **onGetIrregularSizeByIndex** for gr…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DarkComponent.js6107 …ue) === null || _c === void 0 ? void 0 : _c.onGetIrregularSizeByIndex) ? this.value.onGetIrregular…
6117 …urceEqual((_e = this.stageValue) === null || _e === void 0 ? void 0 : _e.onGetIrregularSizeByIndex,
6118 (_f = this.value) === null || _f === void 0 ? void 0 : _f.onGetIrregularSizeByIndex) ||