Home
last modified time | relevance | path

Searched refs:ConvertStrToEnum (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_panel.cpp24 inline T ConvertStrToEnum(const char* key, const LinearMapNode<T>* map, size_t length, T defaultValue) in ConvertStrToEnum() function
95 panel.mode_ = ConvertStrToEnum(val.c_str(), modeTable, ArraySize(modeTable), PanelMode::FULL); in SetSpecializedAttr()
105 panel.type_ = ConvertStrToEnum(val.c_str(), typeTable, ArraySize(typeTable), PanelType::FOLDABLE_BAR); in SetSpecializedAttr()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_canvas_renderer.cpp58 inline T ConvertStrToEnum(const char* key, const LinearMapNode<T>* map, size_t length, T defaultValue) in ConvertStrToEnum() function
954 auto lineCap = ConvertStrToEnum(capStr.c_str(), lineCapTable, ArraySize(lineCapTable), LineCapStyle::BUTT); in JsSetLineCap()
970 ConvertStrToEnum(joinStr.c_str(), lineJoinTable, ArraySize(lineJoinTable), LineJoinStyle::MITER); in JsSetLineJoin()
1021 auto type = ConvertStrToEnum(compositeStr.c_str(), compositeOperationTable, ArraySize(compositeOperationTable), in JsSetGlobalCompositeOperation()
1462 ConvertStrToEnum(textBaseline.c_str(), BASELINE_TABLE, ArraySize(BASELINE_TABLE), TextBaseline::ALPHABETIC); in JsSetTextBaseline()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_canvas_bridge.cpp78 inline T ConvertStrToEnum(const char* key, const LinearMapNode<T>* map, size_t length, T defaultValue) in ConvertStrToEnum() function
207 ConvertStrToEnum(baselineStr.c_str(), BASELINE_TABLE, ArraySize(BASELINE_TABLE), TextBaseline::ALPHABETIC)); in JsParseTextState()
2058 auto lineCap = ConvertStrToEnum(capStr.c_str(), lineCapTable, ArraySize(lineCapTable), LineCapStyle::BUTT); in JsLineCapSetter()
2087 auto lineJoin = ConvertStrToEnum(joinStr.c_str(), lineJoinTable, ArraySize(lineJoinTable), LineJoinStyle::MITER); in JsLineJoinSetter()
2182 ConvertStrToEnum(baselineStr.c_str(), BASELINE_TABLE, ArraySize(BASELINE_TABLE), TextBaseline::ALPHABETIC); in JsTextBaselineSetter()
2288 auto type = ConvertStrToEnum( in JsCompositeOperationSetter()
H A Djsi_offscreen_canvas_bridge.cpp22 inline T ConvertStrToEnum(const char* key, const LinearMapNode<T>* map, size_t length, T defaultValue) in ConvertStrToEnum() function
164 ConvertStrToEnum(baselineStr.c_str(), BASELINE_TABLE, ArraySize(BASELINE_TABLE), TextBaseline::ALPHABETIC)); in JsParseTextState()
1683 auto lineCap = ConvertStrToEnum(capStr.c_str(), lineCapTable, ArraySize(lineCapTable), LineCapStyle::BUTT); in JsLineCapSetter()
1714 auto lineJoin = ConvertStrToEnum(joinStr.c_str(), lineJoinTable, ArraySize(lineJoinTable), LineJoinStyle::MITER); in JsLineJoinSetter()
1817 ConvertStrToEnum(baselineStr.c_str(), BASELINE_TABLE, ArraySize(BASELINE_TABLE), TextBaseline::ALPHABETIC); in JsTextBaselineSetter()
1928 auto type = ConvertStrToEnum( in JsCompositeOperationSetter()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/canvas/
H A Dcustom_paint_paint_method.cpp81 inline T ConvertStrToEnum(const char* key, const LinearMapNode<T>* map, size_t length, T defaultValue) in ConvertStrToEnum() function
1841 return ConvertStrToEnum(filterStr.c_str(), filterTypeTable, ArraySize(filterTypeTable), FilterType::NONE); in FilterStrToFilterType()

Completed in 16 milliseconds