Home
last modified time | relevance | path

Searched refs:pressColor (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/search/
H A Dsearch_declaration.h39 Color pressColor; member
173 return style.pressColor; in GetPressColor()
176 void SetPressColor(const Color& pressColor) in SetPressColor() argument
179 style.pressColor = pressColor; in SetPressColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tool_bar/
H A Dtool_bar_item_component.h67 void SetPressColor(const Color& pressColor) in SetPressColor() argument
69 pressColor_ = pressColor; in SetPressColor()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/search/
H A Dsearch_component.cpp145 void SearchComponent::SetPressColor(const Color& pressColor) in SetPressColor() argument
147 declaration_->SetPressColor(pressColor); in SetPressColor()
H A Dsearch_component.h75 void SetPressColor(const Color& pressColor);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/
H A Dselect_component.cpp167 void SelectComponent::SetClicked(bool clicked, const Color& pressColor) in SetClicked() argument
179 backDecoration->SetBackgroundColor(backgroundColor_.BlendColor(pressColor)); in SetClicked()
H A Dselect_component.h77 void SetClicked(bool clicked, const Color& pressColor);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/
H A Drender_picker_option.cpp241 auto pressColor = theme->GetPressColor(); in ResetPressAnimation() local
251 CreateMouseAnimation(animation, GetEventEffectColor(), bgColor.BlendColor(pressColor)); in ResetPressAnimation()
254 CreateMouseAnimation(animation, bgColor, bgColor.BlendColor(pressColor)); in ResetPressAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/picker/
H A Ddatepicker_column_pattern.h286 void SetButtonBackgroundColor(const Color& pressColor);
287 void PlayPressAnimation(const Color& pressColor);
H A Ddatepicker_column_pattern.cpp274 void DatePickerColumnPattern::SetButtonBackgroundColor(const Color& pressColor) in SetButtonBackgroundColor() argument
284 renderContext->UpdateBackgroundColor(pressColor); in SetButtonBackgroundColor()
289 void DatePickerColumnPattern::PlayPressAnimation(const Color& pressColor) in PlayPressAnimation() argument
295 AnimationUtils::Animate(option, [weak = AceType::WeakClaim(this), pressColor]() { in PlayPressAnimation()
298 picker->SetButtonBackgroundColor(pressColor); in PlayPressAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/
H A Dtextfield_declaration.h104 Color pressColor; member
783 return style.pressColor; in GetPressColor()
786 void SetPressColor(const Color& pressColor) in SetPressColor() argument
789 style.pressColor = pressColor; in SetPressColor()
H A Dtextfield_declaration.cpp79 style.pressColor = theme->GetPressColor(); in InitializeStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/
H A Dtimepicker_column_pattern.h349 void SetButtonBackgroundColor(const Color& pressColor);
350 void PlayPressAnimation(const Color& pressColor);
H A Dtimepicker_column_pattern.cpp345 void TimePickerColumnPattern::SetButtonBackgroundColor(const Color& pressColor) in SetButtonBackgroundColor() argument
355 renderContext->UpdateBackgroundColor(pressColor); in SetButtonBackgroundColor()
360 void TimePickerColumnPattern::PlayPressAnimation(const Color& pressColor) in PlayPressAnimation() argument
366 AnimationUtils::Animate(option, [weak = AceType::WeakClaim(this), pressColor]() { in PlayPressAnimation()
369 picker->SetButtonBackgroundColor(pressColor); in PlayPressAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_picker/
H A Dtextpicker_column_pattern.h407 void SetButtonBackgroundColor(const Color& pressColor);
408 void PlayPressAnimation(const Color& pressColor);
H A Dtextpicker_column_pattern.cpp317 void TextPickerColumnPattern::SetButtonBackgroundColor(const Color& pressColor) in SetButtonBackgroundColor() argument
327 renderContext->UpdateBackgroundColor(pressColor); in SetButtonBackgroundColor()
331 void TextPickerColumnPattern::PlayPressAnimation(const Color& pressColor) in PlayPressAnimation() argument
336 AnimationUtils::Animate(option, [weak = AceType::WeakClaim(this), pressColor]() { in PlayPressAnimation()
339 picker->SetButtonBackgroundColor(pressColor); in PlayPressAnimation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/text_field/
H A Dtext_field_component.cpp576 void TextFieldComponent::SetPressColor(const Color& pressColor) in SetPressColor() argument
578 declaration_->SetPressColor(pressColor); in SetPressColor()
H A Dtext_field_component.h195 void SetPressColor(const Color& pressColor);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/
H A Dbubble_pattern.cpp311 auto pressColor = theme->GetButtonPressColor(); in ButtonOnPress() local
317 … Animation(renderContext, pressColor, theme->GetHoverToPressAnimationDuration(), Curves::SHARP); in ButtonOnPress()
320 Animation(renderContext, pressColor, theme->GetHoverAnimationDuration(), Curves::SHARP); in ButtonOnPress()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/interfaces/
H A Dsegmentbutton.js985 this.pressColor = e1.c2;
996 if (params.pressColor !== undefined) {
997 this.pressColor = params.pressColor;
1073 … Stack.backgroundColor(this.press && this.hover ? this.pressColor : this.colorProperty.e3);
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/tabs/
H A Dtab_bar_test_ng.cpp556 auto pressColor = Color(); variable
557 pressColor.SetValue(1);
572 tabBarPattern_->PlayPressAnimation(index, pressColor, animationType);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/tabs/
H A Dtab_bar_pattern.h522 void PlayPressAnimation(int32_t index, const Color& pressColor, AnimationType animationType);
H A Dtab_bar_pattern.cpp1867 void TabBarPattern::PlayPressAnimation(int32_t index, const Color& pressColor, AnimationType animat… in PlayPressAnimation() argument
1886 Color color = pressColor; in PlayPressAnimation()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/segmentbutton/source/
H A Dsegmentbutton.ets598 pressColor: ResourceColor = segmentButtonTheme.PRESS_COLOR
604 .backgroundColor(this.press && this.hover ? this.pressColor : this.colorProperty.hoverColor)