Home
last modified time | relevance | path

Searched refs:updateFontWeight (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_model.h74 updateFontWeight.reset(); in ResetStyle()
105 std::optional<FontWeight> updateFontWeight = std::nullopt; member
157 JSON_STRING_PUT_OPTIONAL_INT(jsonValue, updateFontWeight); in ToString()
H A Drich_editor_pattern.cpp347 if (updateSpanStyle.updateFontWeight.has_value()) { in CreateFontSpanByTextStyle()
1945 if (updateSpanStyle.updateFontWeight.has_value()) { in UpdateTextStyle()
2244 updateSpanStyle.updateFontWeight = spanStyle.GetFontWeight(); in SetSelectSpanStyle()
2251 updateSpanStyle.updateFontWeight = updateSpanStyle_.updateFontWeight; in SetSelectSpanStyle()
2252 spanStyle.SetFontWeight(updateSpanStyle_.updateFontWeight.value()); in SetSelectSpanStyle()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_content_modifier_test_ng.cpp142 typingStyle.updateFontWeight = FONT_WEIGHT_VALUE; in SetTypingStyle()
H A Drich_editor_base_test_ng.cpp838 updateSpanStyle.updateFontWeight = FONT_WEIGHT_VALUE;
887 updateSpanStyle.updateFontWeight = FONT_WEIGHT_VALUE;
H A Drich_editor_styled_string_test_ng.cpp138 typingStyle.updateFontWeight = FONT_WEIGHT_VALUE; in SetTypingStyle()
H A Drich_editor_keyboard_shortcut_test_ng.cpp360 EXPECT_EQ(richEditorPattern->GetUpdateSpanStyle().updateFontWeight, Ace::FontWeight::BOLD);
H A Drich_editor_test_ng.cpp1409 updateSpanStyle.updateFontWeight = FONT_WEIGHT_VALUE;
3700 updateSpanStyle.updateFontWeight = FONT_WEIGHT_BOLD;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_richeditor_controller_ffi.cpp226 updateSpanStyle_.updateFontWeight = fontWeight; in ParseTextStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_richeditor.cpp2316 updateSpanStyle.updateFontWeight = ConvertStrToFontWeight(weight); in ParseJsTextStyle()
2478 if (typingStyle.updateFontWeight.has_value()) { in CreateTypingStyleResult()
2479 …bj->SetProperty<int32_t>("fontWeight", static_cast<int32_t>(typingStyle.updateFontWeight.value())); in CreateTypingStyleResult()