Home
last modified time | relevance | path

Searched refs:anchors (Results 1 - 6 of 6) sorted by relevance

/foundation/arkui/ace_engine/test/component_test/tools/previewer_host/main/
H A Dgitee_rest_api.js36 const anchors = document.getElementsByTagName('a');
37 for (let j = 0; j < anchors.length; j++) {
38 const anchor = anchors[j];
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_common_modifier.cpp3204 void SetAlignRules(ArkUINodeHandle node, char** anchors, const ArkUI_Int32* direction, ArkUI_Int32 length) in SetAlignRules() argument
3206 CHECK_NULL_VOID(anchors); in SetAlignRules()
3216 alignRule.anchor = std::string(*(anchors + index) == nullptr ? "" : *(anchors + index)); in SetAlignRules()
3261 void GetAlignRules(ArkUINodeHandle node, ArkUI_CharPtr* anchors, ArkUI_Int32* direction, ArkUI_Int32 length) in GetAlignRules() argument
3276 anchors[index] = it->second.anchor.c_str(); in GetAlignRules()
3292 anchors[index] = nullptr; in GetAlignRules()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/
H A Darkts_native_common_bridge.cpp4638 auto anchors = std::make_unique<std::string []>(ALIGN_RULES_NUM); in SetAlignRules() local
4641 anchors[i] = ""; in SetAlignRules()
4644 bool leftParseResult = ParseJsAlignRule(vm, leftArg, anchors[0], direction[0]); in SetAlignRules()
4645 bool middleParseResult = ParseJsAlignRule(vm, middleArg, anchors[1], direction[1]); in SetAlignRules()
4646 bool rightParseResult = ParseJsAlignRule(vm, rightArg, anchors[2], direction[2]); in SetAlignRules()
4647 bool topParseResult = ParseJsAlignRule(vm, topArg, anchors[3], direction[3]); in SetAlignRules()
4648 bool centerParseResult = ParseJsAlignRule(vm, centerArg, anchors[4], direction[4]); in SetAlignRules()
4649 bool bottomParseResult = ParseJsAlignRule(vm, bottomArg, anchors[5], direction[5]); in SetAlignRules()
4657 realAnchors[i] = const_cast<char*>(anchors[i].c_str()); in SetAlignRules()
/foundation/arkui/ace_engine/interfaces/native/node/
H A Dstyle_modifier.cpp9173 char* anchors[NUM_6]; in SetAlignRules() local
9177 anchors[0] = const_cast<char*>(option->left.anchor.c_str()); in SetAlignRules()
9182 anchors[1] = const_cast<char*>(option->middle.anchor.c_str()); in SetAlignRules()
9187 anchors[2] = const_cast<char*>(option->right.anchor.c_str()); in SetAlignRules()
9192 anchors[3] = const_cast<char*>(option->top.anchor.c_str()); in SetAlignRules()
9197 anchors[4] = const_cast<char*>(option->center.anchor.c_str()); in SetAlignRules()
9202 anchors[5] = const_cast<char*>(option->bottom.anchor.c_str()); in SetAlignRules()
9205 fullImpl->getNodeModifiers()->getCommonModifier()->setAlignRules(node->uiNodeHandle, anchors, aligns, NUM_6); in SetAlignRules()
/foundation/arkui/ace_engine/frameworks/core/interfaces/cjui/
H A Dcjui_api.h222 void (*setAlignRules)(ArkUINodeHandle node, char** anchors, const ArkUI_Int32* direction, ArkUI_Int32 length);
372 void (*getAlignRules)(ArkUINodeHandle node, ArkUI_CharPtr* anchors, ArkUI_Int32* direction, ArkUI_Int32 length);
/foundation/arkui/ace_engine/frameworks/core/interfaces/arkoala/
H A Darkoala_api.h1725 void (*setAlignRules)(ArkUINodeHandle node, char** anchors, const ArkUI_Int32* direction, ArkUI_Int32 length);
1875 void (*getAlignRules)(ArkUINodeHandle node, ArkUI_CharPtr* anchors, ArkUI_Int32* direction, ArkUI_Int32 length);

Completed in 86 milliseconds