Home
last modified time | relevance | path

Searched refs:activeColor (Results 1 - 25 of 39) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/patternlock/
H A Dpatternlock_model_ng.cpp69 void PatternLockModelNG::SetActiveColor(const Color& activeColor) in SetActiveColor() argument
71 ACE_UPDATE_PAINT_PROPERTY(PatternLockPaintProperty, ActiveColor, activeColor); in SetActiveColor()
109 void PatternLockModelNG::SetActiveColor(FrameNode* frameNode, const Color& activeColor) in SetActiveColor() argument
111 ACE_UPDATE_NODE_PAINT_PROPERTY(PatternLockPaintProperty, ActiveColor, activeColor, frameNode); in SetActiveColor()
H A Dpatternlock_model_ng.h31 void SetActiveColor(const Color& activeColor) override;
40 static void SetActiveColor(FrameNode* frameNode, const Color& activeColor);
H A Dpatternlock_model.h37 virtual void SetActiveColor(const Color& activeColor);
H A Dpatternlock_napi.cpp150 NAPI_ASSERT(env, argc >= 1, "PatternLockModelNapi activeColor wrong number of arguments"); in ActiveColor()
152 Color activeColor; in ActiveColor() local
153 if (!CommonNapiUtils::ParseColor(env, argv[0], activeColor)) { in ActiveColor()
156 activeColor = patternLockTheme->GetActiveColor(); in ActiveColor()
158 PatternLockModel::GetInstance()->SetActiveColor(activeColor); in ActiveColor()
293 DECLARE_NAPI_FUNCTION("pathStrokeWidth", PathStrokeWidth), DECLARE_NAPI_FUNCTION("activeColor", ActiveColor), in Init()
H A Dpatternlock_modifier.cpp225 auto activeColor = activeColor_->Get(); in PaintLockCircleForApiNine() local
245 brush.SetColor(ToRSColor(activeColor)); in PaintLockCircleForApiNine()
352 auto activeColor = activeColor_->Get(); in PaintLockCircle() local
370 PaintCircle(canvas, offsetX, offsetY, GetActiveCircleRadius(index), ToRSColor(activeColor)); in PaintLockCircle()
508 void PatternLockModifier::SetActiveColor(const Color& activeColor) in SetActiveColor() argument
511 activeColor_->Set(activeColor); in SetActiveColor()
H A Dpatternlock_modifier.h71 void SetActiveColor(const Color& activeColor);
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/
H A Dpattern_lock_component.cpp40 void PatternLockComponent::SetActiveColor(const Color& activeColor) in SetActiveColor() argument
42 activeColor_ = activeColor; in SetActiveColor()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_pattern_lock.cpp82 JSClass<JSPatternLock>::StaticMethod("activeColor", &JSPatternLock::SetActiveColor, MethodOptions::NONE); in JSBind()
171 Color activeColor; in SetActiveColor() local
172 if (!ParseJsColor(info[0], activeColor)) { in SetActiveColor()
175 activeColor = patternLockTheme->GetActiveColor(); in SetActiveColor()
178 PatternLockModel::GetInstance()->SetActiveColor(activeColor); in SetActiveColor()
264 Color activeColor; in SetActiveCircleColor() local
265 if (!ParseJsColor(info, activeColor)) { in SetActiveCircleColor()
266 activeColor = Color::TRANSPARENT; in SetActiveCircleColor()
268 PatternLockModel::GetInstance()->SetActiveCircleColor(activeColor); in SetActiveCircleColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkboxgroup/
H A Dcheckboxgroup_modifier.h41 Color activeColor; member
133 void SetActiveColor(Color activeColor) in SetActiveColor() argument
135 activeColor_->Set(LinearColor(activeColor)); in SetActiveColor()
H A Dcheckboxgroup_pattern.cpp504 auto activeColor = checkBoxTheme->GetActiveColor(); in GetFocusPattern() local
506 focusPaintParam.SetPaintColor(activeColor); in GetFocusPattern()
546 paintParameters.activeColor = checkBoxTheme->GetActiveColor(); in InitializeModifierParam()
575 paintParameters.activeColor = paintProperty->GetCheckBoxGroupSelectedColorValue(); in UpdateModifierParam()
H A Dcheckboxgroup_modifier.cpp39 activeColor_ = AceType::MakeRefPtr<AnimatablePropertyColor>(LinearColor(parameters.activeColor)); in CheckBoxGroupModifier()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dpatternlock_model_impl.h31 void SetActiveColor(const Color& activeColor) override;
H A Dpatternlock_model_impl.cpp85 void PatternLockModelImpl::SetActiveColor(const Color& activeColor) in SetActiveColor() argument
89 lock->SetActiveColor(activeColor); in SetActiveColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/radio/
H A Dradio_modifier.h86 void SetactiveColor(const Color& activeColor) in SetactiveColor() argument
88 activeColor_->Set(LinearColor(activeColor)); in SetactiveColor()
H A Dradio_pattern.cpp764 auto activeColor = radioTheme->GetActiveColor(); in GetFocusPattern() local
765 focusPaintParam.SetPaintColor(activeColor); in GetFocusPattern()
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dpattern_lock_modifier.cpp33 Color activeColor = patternLockTheme->GetActiveColor(); in ResetPatternLockActiveColor() local
34 PatternLockModelNG::SetActiveColor(frameNode, activeColor); in ResetPatternLockActiveColor()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.cpp481 void UIContentImpl::SetWindowContainerColor(uint32_t activeColor, uint32_t inactiveColor) in SetWindowContainerColor() argument
485 bundleName_.c_str(), moduleName_.c_str(), instanceId_, activeColor, inactiveColor); in SetWindowContainerColor()
492 [container, activeColor, inactiveColor]() { in SetWindowContainerColor()
495 pipelineContext->SetWindowContainerColor(Color(activeColor), Color(inactiveColor)); in SetWindowContainerColor()
H A Dui_content_impl.h93 void SetWindowContainerColor(uint32_t activeColor, uint32_t inactiveColor) override;
/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Dcheckable_component.h205 void SetActiveColor(const Color& activeColor) in SetActiveColor() argument
207 activeColor_ = activeColor; in SetActiveColor()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/container_modal/
H A Dcontainer_modal_pattern.h79 virtual void SetWindowContainerColor(const Color& activeColor, const Color& inactiveColor);
/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h60 MOCK_METHOD2(SetWindowContainerColor, void(uint32_t activeColor, uint32_t inactiveColor));
/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp1377 std::string activeColor = "#00000000"; in HWTEST_F() local
1379 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); in HWTEST_F()
1398 std::string activeColor = "#00000000"; in HWTEST_F() local
1400 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); in HWTEST_F()
1423 std::string activeColor = "#00000000"; in HWTEST_F() local
1425 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); in HWTEST_F()
1448 std::string activeColor = "color"; in HWTEST_F() local
1450 WMError res = window->SetWindowContainerColor(activeColor, inactiveColor); in HWTEST_F()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h63 MOCK_METHOD2(SetWindowContainerColor, void(uint32_t activeColor, uint32_t inactiveColor));
/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_uicontent.h68 MOCK_METHOD2(SetWindowContainerColor, void(uint32_t activeColor, uint32_t inactiveColor));
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/checkbox/
H A Dcheckbox_pattern.cpp687 auto activeColor = checkBoxTheme->GetActiveColor(); in GetFocusPattern() local
689 focusPaintParam.SetPaintColor(activeColor); in GetFocusPattern()

Completed in 27 milliseconds

12