Home
last modified time | relevance | path

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

12

/foundation/arkui/ace_engine/test/unittest/core/pattern/search/
H A Dsearch_test_update_ng.cpp149 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE); in HWTEST_F()
156 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED); in HWTEST_F()
180 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::TRANSPARENT); in HWTEST_F()
187 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::FOREGROUND); in HWTEST_F()
211 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::WHITE); in HWTEST_F()
218 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLACK); in HWTEST_F()
242 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::GREEN); in HWTEST_F()
249 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::GRAY); in HWTEST_F()
273 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE); in HWTEST_F()
280 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Colo in HWTEST_F()
[all...]
H A Dsearch_test_ng.cpp1886 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE); in HWTEST_F()
1893 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dindexer_composed_element.h39 std::string GetSelectedBackgroundColor() const;
H A Dindexer_composed_element.cpp28 [](const IndexerComposedElement& inspector) { return inspector.GetSelectedBackgroundColor(); } },
109 std::string IndexerComposedElement::GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function in OHOS::Ace::V2::IndexerComposedElement
116 auto selectedBackgroundColor = render ? render->GetSelectedBackgroundColor() : Color::BLACK; in GetSelectedBackgroundColor()
H A Dselect_composed_element.cpp146 return ConvertColorToString(optionItem->GetSelectedBackgroundColor()); in GetSelectBgColor()
/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_item_component.h146 const Color& GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function in OHOS::Ace::V2::IndexerItemComponent
H A Drender_indexer_item.h106 Color GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function in OHOS::Ace::V2::RenderIndexerItem
H A Dindexer_component.h216 const Color& GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function in OHOS::Ace::V2::IndexerComponent
H A Drender_indexer_item.cpp44 selectedBgColor_ = itemComponent->GetSelectedBackgroundColor(); in Update()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_paint_method.cpp51 overlayMod->SetSelectedColor(richEditorPattern->GetSelectedBackgroundColor().GetValue()); in UpdateOverlayModifier()
H A Drich_editor_theme.h176 const Color GetSelectedBackgroundColor() in GetSelectedBackgroundColor() function in OHOS::Ace::NG::RichEditorTheme
H A Drich_editor_overlay_modifier.cpp219 SetSelectedColor(richEditorPattern->GetSelectedBackgroundColor().GetValue()); in onDraw()
/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 in OHOS::Ace::OptionComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/indexer/
H A Dindexer_pattern.cpp854 paintProperty->GetSelectedBackgroundColor().value_or(indexerTheme->GetSelectedBackgroundColor())); in UpdateFocusAndSelectedStyle()
856 textRenderContext->UpdateBackgroundColor(paintProperty->GetSelectedBackgroundColor().value_or( in UpdateFocusAndSelectedStyle()
857 indexerTheme->GetSelectedBackgroundColor())); in UpdateFocusAndSelectedStyle()
1736 paintProperty->GetSelectedBackgroundColor().value_or(indexerTheme->GetSelectedBackgroundColor()); in ItemSelectedInAnimation()
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_theme.h79 const Color& GetSelectedBackgroundColor() const in GetSelectedBackgroundColor() function in OHOS::Ace::IndexerTheme
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text/
H A Dtext_model_ng.h169 static Color GetSelectedBackgroundColor(FrameNode* frameNode);
H A Dtext_model_ng.cpp971 Color TextModelNG::GetSelectedBackgroundColor(FrameNode* frameNode) in GetSelectedBackgroundColor() function in OHOS::Ace::NG::TextModelNG
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_model_ng.h209 static Color GetSelectedBackgroundColor(FrameNode* frameNode);
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Drich_editor_modifier.cpp268 auto selectedBackgroundColor = richEditorTheme->GetSelectedBackgroundColor(); in ResetRichEditorSelectedBackgroundColor()
H A Dalphabet_indexer_modifier.cpp276 Color color = indexerTheme->GetSelectedBackgroundColor(); in ResetSelectedBackgroundColor()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_overlay_test_ng.cpp167 Color patternSelectedBackgroundColor = richEditorPattern->GetSelectedBackgroundColor(); in HWTEST_F()
170 patternSelectedBackgroundColor = richEditorPattern->GetSelectedBackgroundColor(); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/indexer/
H A Dindexer_layout_test_ng.cpp420 EXPECT_FALSE(paintProperty_->GetSelectedBackgroundColor().has_value()); in HWTEST_F()
513 EXPECT_FALSE(paintProperty_->GetSelectedBackgroundColor().has_value()); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_test.cpp1816 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::BLUE); in HWTEST_F()
1823 EXPECT_EQ(paintProperty->GetSelectedBackgroundColor(), Color::RED); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/text/
H A Dtext_test_ng.cpp248 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK); in HWTEST_F()
251 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK); in HWTEST_F()
416 * @tc.desc: Test GetSelectedBackgroundColor when GetHost is nullptr.
441 ASSERT_EQ(textModelNG.GetSelectedBackgroundColor(frameNode), Color::BLACK); in HWTEST_F()

Completed in 40 milliseconds

12