/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/ |
H A D | convert.cpp | 169 auto decorationColor = SkColorSetARGB(style.decorationColor.GetAlpha(), style.decorationColor.GetRed(), in Convert() local 170 style.decorationColor.GetGreen(), style.decorationColor.GetBlue()); in Convert() 171 textStyle.decorationColor = decorationColor; in Convert() 248 textStyle.decorationColor.SetColorQuad(style.decorationColor); in Convert()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | span_model_adapter.cpp | 77 Color::FromARGB(textStyle->decorationColor.GetAlpha(), textStyle->decorationColor.GetRed(), in CreateSpanItem() 78 textStyle->decorationColor.GetGreen(), textStyle->decorationColor.GetBlue())); in CreateSpanItem()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/common/ |
H A D | text_style.cpp | 121 decorationColor == rhs.decorationColor && in operator ==() 176 decorationColor == rhs.decorationColor && in MatchOneAttribute()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/ |
H A D | text_style.cpp | 93 decorationColor == other.decorationColor && in operator ==()
|
H A D | text_style.h | 116 SkColor decorationColor = SK_ColorTRANSPARENT; member in OHOS::Rosen::SPText::TextStyle
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | rosen_render_list_item.cpp | 171 auto decorationColor = Color::BLACK; in PaintWithFocusEffect() local 174 decorationColor = itemTheme->GetClickColor(); in PaintWithFocusEffect() 177 decorationColor = clickColor_; in PaintWithFocusEffect() 180 frontDecoration->SetBackgroundColor(decorationColor.BlendOpacity(decorationAlpha_)); in PaintWithFocusEffect()
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_richeditor_controller_ffi.cpp | 82 decoration.color = textStyle.decorationColor.c_str(); in ParseTextStyleResult() 231 auto decorationColor = Color(nativeStyle.decoration.color); in ParseTextStyle() local 232 style.SetTextDecorationColor(decorationColor); in ParseTextStyle() 233 updateSpanStyle_.updateTextDecorationColor = decorationColor; in ParseTextStyle()
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_text_style.h | 142 TestingColor decorationColor; member in OHOS::Ace::Testing::TestingTextStyle
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/export/texgine/ |
H A D | text_style.h | 127 std::optional<uint32_t> decorationColor = std::nullopt; member
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/export/rosen_text/ |
H A D | text_style.h | 83 Drawing::Color decorationColor = Drawing::Color::COLOR_TRANSPARENT; member
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/skia_txt/ |
H A D | paragraph_test.cpp | 273 EXPECT_EQ(txt.decorationColor, skStyle.fDecoration.fColor); in HWTEST_F() 309 EXPECT_EQ(spTextStyle.decorationColor, styleMetrics.text_style->fDecoration.fColor); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/adapter/skia_txt/ |
H A D | convert_test.cpp | 188 EXPECT_EQ(sptextStyle.decorationColor, textStyle.decorationColor); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | selection_info.h | 135 std::string decorationColor; member
|
/foundation/arkui/ace_engine/advanced_ui_component/selectionmenu/interfaces/ |
H A D | selectionmenu.js | 378 'decorationColor': style.decoration.color 438 if (tmp.decorationColor && tex.decoration) { 439 tex.decoration.color = tmp.decorationColor;
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | drawing_prop_convertor.cpp | 220 rsTextStyle.decorationColor = ToRSColor(textStyle.GetTextDecorationColor()); in ToRSTextStyle()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/impl/ |
H A D | paragraph_impl.cpp | 302 txt.decorationColor = skStyle.getDecorationColor(); in SkStyleToTextStyle()
|
H A D | paragraph_builder_impl.cpp | 252 skStyle.setDecorationColor(txt.decorationColor); in ConvertTextStyleToSkStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components/font/ |
H A D | constants_converter.cpp | 654 txtStyle.decorationColor = ConvertSkColor(textStyle.GetTextDecorationColor()); in ConvertTxtStyle() 758 txtStyle.decorationColor = ConvertSkColor(textStyle.GetTextDecorationColor()); in ConvertTxtStyle()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/ |
H A D | rich_editor_base_test_ng.cpp | 554 EXPECT_EQ(Color::FromString(textStyle1.decorationColor), DEFAULT_TEXT_COLOR_VALUE); in HWTEST_F() 562 EXPECT_EQ(Color::FromString(textStyle2.decorationColor), DEFAULT_TEXT_COLOR_VALUE); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_richeditor.cpp | 215 decorationObj->SetProperty<std::string>("color", textStyleResult.decorationColor); in CreateJSTextStyleResult() 2361 Color decorationColor; in ParseTextDecoration() local 2362 if (!color->IsNull() && JSContainerBase::ParseJsColor(color, decorationColor)) { in ParseTextDecoration() 2363 updateSpanStyle.updateTextDecorationColor = decorationColor; in ParseTextDecoration() 2364 style.SetTextDecorationColor(decorationColor); in ParseTextDecoration()
|
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/ndk/ |
H A D | drawing_text_typography_test.cpp | 259 EXPECT_EQ(ConvertToOriginalText(txtStyle)->decorationColor, 0xFF000000); in HWTEST_F() 261 EXPECT_EQ(ConvertToOriginalText(txtStyle)->decorationColor, 0xFFFF0000); in HWTEST_F()
|
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/text/utils/ |
H A D | napi_common.cpp | 112 SetColorFromJS(env, tempValue, "color", textStyle.decorationColor);
in GetDecorationFromJS()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/ |
H A D | arkComponent.js | 7943 this.value.color, this.value.decorationType, this.value.decorationColor, this.value.decorationStyle); 7951 !isBaseOrResourceEqual(this.stageValue.decorationColor, this.value.decorationColor) || 8320 detectorConfig.decorationColor = config.decoration.color; 11670 this.value.color, this.value.decorationType, this.value.decorationColor, this.value.decorationStyle); 11678 !isBaseOrResourceEqual(this.stageValue.decorationColor, this.value.decorationColor) || 11820 detectorConfig.decorationColor = config.decoration.color; 15590 this.decorationColor = undefined; 15596 (this.decorationColor [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_rich_editor_bridge.cpp | 325 panda::StringRef::NewFromUtf8(vm, textStyleResult.decorationColor.c_str()) in CreateTextStyleResult()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/src/ |
H A D | drawing_text_typography.cpp | 333 ConvertToOriginalText<TextStyle>(style)->decorationColor.SetColorQuad(color); in OH_Drawing_SetTextStyleDecorationColor()
|