Home
last modified time | relevance | path

Searched refs:getRectByIndex (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/
H A Dgrid_layout_options.h60 GetRectByIndex getRectByIndex; member
64 … (!getSizeByIndex && !options.getSizeByIndex) && (!getRectByIndex && !options.getRectByIndex);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_grid.cpp137 auto getRectByIndex = obj->GetProperty("onGetRectByIndex"); in ParseGetGridItemRect() local
138 if (getRectByIndex->IsFunction()) { in ParseGetGridItemRect()
141 … JSRef<JSObject>(), JSRef<JSFunc>::Cast(getRectByIndex))](int32_t index) { in ParseGetGridItemRect()
151 option.getRectByIndex = std::move(onGetRectByIndex); in ParseGetGridItemRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/grid/grid_layout/
H A Dgrid_layout_algorithm.cpp241 if (options.getRectByIndex) { in GetItemRect()
242 rect = options.getRectByIndex(index); in GetItemRect()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_grid_bridge.cpp100 void ParseGetGridItemRect(const EcmaVM* vm, const Local<JSValueRef>& getRectByIndex, GridLayoutOpti… in ParseGetGridItemRect() argument
102 if (getRectByIndex->IsFunction(vm)) { in ParseGetGridItemRect()
103 Local<panda::FunctionRef> functionRef = getRectByIndex->ToObject(vm); in ParseGetGridItemRect()
116 option.getRectByIndex = std::move(onGetRectByIndex); in ParseGetGridItemRect()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/grid/
H A Dgrid_option_layout_test_ng.cpp617 option.getRectByIndex = std::move(onGetRectByIndex);
644 option.getRectByIndex = [](int32_t index) { in __anon04a373d60b02()