/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/declaration/search/ |
H A D | search_declaration.h | 39 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 D | tool_bar_item_component.h | 67 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 D | search_component.cpp | 145 void SearchComponent::SetPressColor(const Color& pressColor) in SetPressColor() argument 147 declaration_->SetPressColor(pressColor); in SetPressColor()
|
H A D | search_component.h | 75 void SetPressColor(const Color& pressColor);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | select_component.cpp | 167 void SelectComponent::SetClicked(bool clicked, const Color& pressColor) in SetClicked() argument 179 backDecoration->SetBackgroundColor(backgroundColor_.BlendColor(pressColor)); in SetClicked()
|
H A D | select_component.h | 77 void SetClicked(bool clicked, const Color& pressColor);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | render_picker_option.cpp | 241 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 D | datepicker_column_pattern.h | 286 void SetButtonBackgroundColor(const Color& pressColor); 287 void PlayPressAnimation(const Color& pressColor);
|
H A D | datepicker_column_pattern.cpp | 274 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 D | textfield_declaration.h | 104 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 D | textfield_declaration.cpp | 79 style.pressColor = theme->GetPressColor(); in InitializeStyle()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/time_picker/ |
H A D | timepicker_column_pattern.h | 349 void SetButtonBackgroundColor(const Color& pressColor); 350 void PlayPressAnimation(const Color& pressColor);
|
H A D | timepicker_column_pattern.cpp | 345 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 D | textpicker_column_pattern.h | 407 void SetButtonBackgroundColor(const Color& pressColor); 408 void PlayPressAnimation(const Color& pressColor);
|
H A D | textpicker_column_pattern.cpp | 317 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 D | text_field_component.cpp | 576 void TextFieldComponent::SetPressColor(const Color& pressColor) in SetPressColor() argument 578 declaration_->SetPressColor(pressColor); in SetPressColor()
|
H A D | text_field_component.h | 195 void SetPressColor(const Color& pressColor);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/bubble/ |
H A D | bubble_pattern.cpp | 311 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 D | segmentbutton.js | 985 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 D | tab_bar_test_ng.cpp | 556 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 D | tab_bar_pattern.h | 522 void PlayPressAnimation(int32_t index, const Color& pressColor, AnimationType animationType);
|
H A D | tab_bar_pattern.cpp | 1867 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 D | segmentbutton.ets | 598 pressColor: ResourceColor = segmentButtonTheme.PRESS_COLOR 604 .backgroundColor(this.press && this.hover ? this.pressColor : this.colorProperty.hoverColor)
|