Searched refs:SwitchComponent (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | switch_component.cpp | 24 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 D | switch_component.h | 24 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 D | component_factory.h | 136 component = new SwitchComponent(options, children, styleManager); in CreateComponent()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_switch.cpp | 30 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 D | dom_switch.h | 51 RefPtr<SwitchComponent> switchChild_;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/checkable/ |
H A D | render_switch.h | 52 RefPtr<SwitchComponent> GetSwitchComponent() const in GetSwitchComponent() 60 void UpdateRenderText(const RefPtr<SwitchComponent>& component); 106 RefPtr<SwitchComponent> component_;
|
H A D | checkable_component.cpp | 88 SwitchComponent::SwitchComponent(const RefPtr<SwitchTheme>& theme) in SwitchComponent() function in OHOS::Ace::SwitchComponent
|
H A D | checkable_component.h | 527 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 D | render_switch.cpp | 51 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 D | toggle_model_impl.cpp | 52 …RefPtr<SwitchComponent> switchComponent = AceType::MakeRefPtr<OHOS::Ace::SwitchComponent>(switchTh… in Create() 120 auto switchComponent = AceType::DynamicCast<SwitchComponent>(mainComponent); in SetSwitchPointColor()
|