Home
last modified time | relevance | path

Searched refs:GetSelectedBackgroundColor (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_test_update_ng.cpp149 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE);
156 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
211 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::WHITE);
218 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLACK);
249 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::GRAY);
273 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE);
280 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
373 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::GRAY);
404 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
528 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
[all …]
H A Dsearch_test_ng.cpp1866 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE);
1873 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dindexer_composed_element.cpp33 … [](const IndexerComposedElement& inspector) { return inspector.GetSelectedBackgroundColor(); } }, in __anoncaba870b0502()
114 std::string IndexerComposedElement::GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function in OHOS::Ace::V2::IndexerComposedElement
121 auto selectedBackgroundColor = render ? render->GetSelectedBackgroundColor() : Color::BLACK; in GetSelectedBackgroundColor()
H A Dindexer_composed_element.h39 std::string GetSelectedBackgroundColor() const;
H A Dselect_composed_element.cpp146 return ConvertColorToString(optionItem->GetSelectedBackgroundColor()); in GetSelectBgColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_item_component.h146 const Color& GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function
H A Drender_indexer_item.h106 Color GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function
H A Drender_indexer_item.cpp46 selectedBgColor_ = itemComponent->GetSelectedBackgroundColor(); in Update()
H A Dindexer_component.h216 const Color& GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_paint_method.cpp55 …overlayMod->SetSelectedBackgroundColor(richEditorPattern->GetSelectedBackgroundColor().GetValue()); in UpdateOverlayModifier()
H A Drich_editor_theme.h176 const Color GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/option/
H A Drender_option.cpp240 PlayEventEffectAnimation(data_->GetSelectedBackgroundColor(), PRESS_DURATION); in HandleMouseEvent()
334 backColor_ = data_->GetSelectedBackgroundColor(); in UpdateSelectedStatus()
H A Doption_component.h382 const Color& GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_model_ng.h169 static Color GetSelectedBackgroundColor(FrameNode* frameNode);
H A Dtext_pattern.h720 std::string GetSelectedBackgroundColor() const;
H A Dtext_model_ng.cpp986 Color TextModelNG::GetSelectedBackgroundColor(FrameNode* frameNode) in GetSelectedBackgroundColor() function in OHOS::Ace::NG::TextModelNG
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Drich_editor_modifier.cpp267 auto selectedBackgroundColor = richEditorTheme->GetSelectedBackgroundColor(); in ResetRichEditorSelectedBackgroundColor()
H A Dnode_text_modifier.cpp998 return TextModelNG::GetSelectedBackgroundColor(frameNode).GetValue(); in GetTextSelectedBackgroundColor()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_test.cpp1567 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE);
1574 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_model_ng.h204 static Color GetSelectedBackgroundColor(FrameNode* frameNode);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_pattern.cpp786 …paintProperty->GetSelectedBackgroundColor().value_or(indexerTheme->GetSeclectedBackgroundColor())); in ApplyIndexChanged()
791 … childRenderContext->UpdateBackgroundColor(paintProperty->GetSelectedBackgroundColor().value_or( in ApplyIndexChanged()
1713 …paintProperty->GetSelectedBackgroundColor().value_or(indexerTheme->GetSeclectedBackgroundColor())); in ItemSelectedInAnimation()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp420 EXPECT_FALSE(paintProperty_->GetSelectedBackgroundColor().has_value());
513 EXPECT_FALSE(paintProperty_->GetSelectedBackgroundColor().has_value());
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_overlay_test_ng.cpp167 Color patternSelectedBackgroundColor = richEditorPattern->GetSelectedBackgroundColor();
170 patternSelectedBackgroundColor = richEditorPattern->GetSelectedBackgroundColor();
H A Drich_editor_edit_testone_ng.cpp1115 auto ret = richEditorPattern->GetSelectedBackgroundColor();
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_test_ng.cpp247 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK);
250 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK);
440 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK);

12