/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/irregular/ |
H A D | irregular_matrics.cpp | 45 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 D | grid_irregular_filler_test.cpp | 169 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 237 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
H A D | grid_layout_range_solver_test.cpp | 106 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 151 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
H A D | grid_irregular_layout_test.cpp | 1893 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 1937 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/ |
H A D | grid_layout_options.h | 59 GetSizeByIndex getSizeByIndex; // irregular sizes member 64 … (!getSizeByIndex && !options.getSizeByIndex) && (!getRectByIndex && !options.getRectByIndex);
|
H A D | grid_layout_property.cpp | 111 CHECK_NULL_VOID(layoutOptions.getSizeByIndex); in UpdateIrregularFlag() 115 auto size = layoutOptions.getSizeByIndex(idx); in UpdateIrregularFlag()
|
H A D | grid_layout_info.cpp | 300 if (options.getSizeByIndex) { in GetContentOffset() 348 if (options.getSizeByIndex) { in GetContentHeight()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_scroll/ |
H A D | grid_scroll_with_options_layout_algorithm.cpp | 139 if (!options.getSizeByIndex) { in GetCrossStartAndSpan() 195 auto crossSpan = options.getSizeByIndex(firstIrregularIndex).GetCrossSize(axis); in InitIrregularItemsPosition() 231 auto crossSpan = options.getSizeByIndex(index).GetCrossSize(gridLayoutInfo_.axis_); in GetCrossStartAndSpanWithUserFunction() 246 …auto crossSpan = isRegularItem ? 1 : options.getSizeByIndex(itemIndex).GetCrossSize(gridLayoutInfo… in GetCrossStartAndSpanWithUserFunction() 273 if (options.getSizeByIndex) { in SkipIrregularLines()
|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/ |
H A D | grid_option_layout_test_ng.cpp | 46 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 105 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 140 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 177 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 209 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 273 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 370 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 439 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); 479 option.getSizeByIndex = nullptr; 771 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
H A D | grid_common_test_ng.cpp | 307 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
H A D | grid_scroller_test_ng.cpp | 310 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_water_flow_sections.cpp | 149 auto getSizeByIndex = obj->GetProperty("onGetItemMainSizeByIndex"); in ParseSectionOptions() local 150 if (!getSizeByIndex->IsFunction()) { in ParseSectionOptions() 156 … JSRef<JSObject>(), JSRef<JSFunc>::Cast(getSizeByIndex))](int32_t index) { in ParseSectionOptions()
|
H A D | js_grid.cpp | 117 auto getSizeByIndex = obj->GetProperty("onGetIrregularSizeByIndex"); in ParseGetGridItemSize() local 118 if (getSizeByIndex->IsFunction()) { in ParseGetGridItemSize() 121 … JSRef<JSFunc>::Cast(getSizeByIndex))](int32_t index) { in ParseGetGridItemSize() 131 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in ParseGetGridItemSize()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/irregular/ |
H A D | grid_layout_utils.cpp | 28 if (!opts.getSizeByIndex) { in GetItemSize() 33 size = opts.getSizeByIndex(idx); in GetItemSize()
|
H A D | grid_layout_range_solver.cpp | 177 if (opts_->getSizeByIndex) { in CheckMultiRow() 178 auto size = opts_->getSizeByIndex(itemIdx); in CheckMultiRow()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_grid_bridge.cpp | 80 void ParseGetGridItemSize(const EcmaVM* vm, const Local<JSValueRef>& getSizeByIndex, GridLayoutOpti… in ParseGetGridItemSize() argument 82 if (getSizeByIndex->IsFunction(vm)) { in ParseGetGridItemSize() 83 Local<panda::FunctionRef> functionRef = getSizeByIndex->ToObject(vm); in ParseGetGridItemSize() 96 option.getSizeByIndex = std::move(onGetIrregularSizeByIndex); in ParseGetGridItemSize()
|