Home
last modified time | relevance | path

Searched refs:SwitchComponent (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dswitch_component.cpp24 SwitchComponent::SwitchComponent(jerry_value_t options, jerry_value_t children, AppStyleManager *st… in SwitchComponent() function in OHOS::ACELite::SwitchComponent
32 SwitchComponent::~SwitchComponent() in ~SwitchComponent()
44 bool SwitchComponent::ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle()
64 bool SwitchComponent::CreateNativeViews() in CreateNativeViews()
74 UIView *SwitchComponent::GetComponentRootView() const in GetComponentRootView()
79 bool SwitchComponent::SetPrivateAttribute(uint16_t attrKeyId, jerry_value_t attrValue) in SetPrivateAttribute()
89 bool SwitchComponent::RegisterPrivateEventListener(uint16_t eventTypeId, in RegisterPrivateEventListener()
112 void SwitchComponent::PostRender() in PostRender()
H A Dswitch_component.h24 class SwitchComponent final : public Component {
26 ACE_DISALLOW_COPY_AND_MOVE(SwitchComponent);
27 SwitchComponent() = delete;
28 SwitchComponent(jerry_value_t options, jerry_value_t children, AppStyleManager *styleManager);
29 ~SwitchComponent() override;
H A Dcomponent_factory.h136 component = new SwitchComponent(options, children, styleManager); in CreateComponent()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_switch.cpp30 switchChild_ = AceType::MakeRefPtr<SwitchComponent>(nullptr); in DOMSwitch()
52 …static const LinearMapNode<void (*)(const std::string&, SwitchComponent&, std::string&, std::strin… in SetSpecializedAttr()
54 … { DOM_CHECKED, [](const std::string& val, SwitchComponent& textSwitch, std::string& textOn, in SetSpecializedAttr()
56 … { DOM_DISABLED, [](const std::string& val, SwitchComponent& textSwitch, std::string& textOn, in SetSpecializedAttr()
58 … { DOM_SHOW_TEXT, [](const std::string& val, SwitchComponent& textSwitch, std::string& textOn, in SetSpecializedAttr()
82 …static const LinearMapNode<void (*)(const std::string&, const DOMSwitch&, SwitchComponent&, TextSt… in SetSpecializedStyle()
90 …{ DOM_TEXT_FONT_SIZE, [](const std::string& val, const DOMSwitch& node, SwitchComponent& textSwitc… in SetSpecializedStyle()
92 …DOM_TEXT_FONT_STYLE, [](const std::string& val, const DOMSwitch& node, SwitchComponent& textSwitch, in SetSpecializedStyle()
103 … { DOM_TEXT_PADDING, [](const std::string& val, const DOMSwitch& node, SwitchComponent& textSwitch, in SetSpecializedStyle()
105 …{ DOM_TEXT_OFF_COLOR, [](const std::string& val, const DOMSwitch& node, SwitchComponent& textSwitc… in SetSpecializedStyle()
[all …]
H A Ddom_switch.h51 RefPtr<SwitchComponent> switchChild_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/
H A Drender_switch.h52 RefPtr<SwitchComponent> GetSwitchComponent() const in GetSwitchComponent()
60 void UpdateRenderText(const RefPtr<SwitchComponent>& component);
106 RefPtr<SwitchComponent> component_;
H A Dcheckable_component.cpp88 SwitchComponent::SwitchComponent(const RefPtr<SwitchTheme>& theme) in SwitchComponent() function in OHOS::Ace::SwitchComponent
H A Dcheckable_component.h527 class ACE_EXPORT SwitchComponent : public CheckableComponent, public CheckableValue<bool> {
528 DECLARE_ACE_TYPE(SwitchComponent, CheckableComponent);
531 explicit SwitchComponent(const RefPtr<SwitchTheme>& theme);
532 ~SwitchComponent() override = default;
H A Drender_switch.cpp51 auto switchComponent = AceType::DynamicCast<SwitchComponent>(component); in Update()
271 void RenderSwitch::UpdateRenderText(const RefPtr<SwitchComponent>& switchComponent) in UpdateRenderText()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dtoggle_model_impl.cpp52 …RefPtr<SwitchComponent> switchComponent = AceType::MakeRefPtr<OHOS::Ace::SwitchComponent>(switchTh… in Create()
120 auto switchComponent = AceType::DynamicCast<SwitchComponent>(mainComponent); in SetSwitchPointColor()