/foundation/arkui/ace_engine/frameworks/core/components/theme/ |
H A D | theme_manager_impl.cpp | 87 { AppTheme::TypeId(), &ThemeBuildFunc<AppTheme::Builder> }, 88 { ButtonTheme::TypeId(), &ThemeBuildFunc<ButtonTheme::Builder> }, 89 { PickerTheme::TypeId(), &ThemeBuildFunc<PickerTheme::Builder> }, 90 { CheckboxTheme::TypeId(), &ThemeBuildFunc<CheckboxTheme::Builder> }, 91 { SwitchTheme::TypeId(), &ThemeBuildFunc<SwitchTheme::Builder> }, 92 { RadioTheme::TypeId(), &ThemeBuildFunc<RadioTheme::Builder> }, 93 { DialogTheme::TypeId(), &ThemeBuildFunc<DialogTheme::Builder> }, 94 { MarqueeTheme::TypeId(), &ThemeBuildFunc<MarqueeTheme::Builder> }, 95 { NavigationBarTheme::TypeId(), &ThemeBuildFunc<NavigationBarTheme::Builder> }, 96 { SelectTheme::TypeId(), [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/detail/ |
H A D | any_pointer_compatibility.h | 29 constexpr TypeId SharedPtrIInterfaceId = UidFromType<SharedPtrIInterface>(); 30 constexpr TypeId SharedPtrConstIInterfaceId = UidFromType<SharedPtrConstIInterface>(); 33 constexpr TypeId WeakPtrIInterfaceId = UidFromType<WeakPtrIInterface>(); 34 constexpr TypeId WeakPtrConstIInterfaceId = UidFromType<WeakPtrConstIInterface>(); 43 static BASE_NS::array_view<const TypeId> GetCompatibleTypes(CompatibilityDirection dir) in GetCompatibleTypes() 45 static constexpr TypeId typeId = UidFromType<Type>(); in GetCompatibleTypes() 48 static TypeId uids[] = { typeId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes() 51 static TypeId uids[] = { typeId, SharedPtrIInterfaceId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes() 56 static TypeId uids[] = { typeId, SharedPtrIInterfaceId, SharedPtrConstIInterfaceId }; in GetCompatibleTypes() 59 static TypeId uid in GetCompatibleTypes() [all...] |
H A D | any.h | 32 static constexpr TypeId TYPE_ID = UidFromType<Type>(); 45 const BASE_NS::array_view<const TypeId> GetCompatibleTypes(CompatibilityDirection dir) const override 51 static constexpr TypeId uids[] = { TYPE_ID }; 54 AnyReturnValue GetData(const TypeId& id, void* data, size_t size) const override 71 AnyReturnValue SetData(const TypeId& id, const void* data, size_t size) override 107 TypeId GetTypeId(TypeIdRole role) const override 117 TypeId GetTypeId() const in GetTypeId() 135 bool IsCompatible(const TypeId& id) const override 145 static constexpr bool IsValidGetArgs(const TypeId& uid, const void* data, size_t size) in IsValidGetArgs() 154 static constexpr bool IsValidSetArgs(const TypeId in IsValidGetArgs() [all...] |
/foundation/arkui/ace_engine/frameworks/base/memory/ |
H A D | type_info_base.h | 24 // And using hash code of its name for 'TypeId'. 31 static TypeInfoBase::IdType TypeId() \ 56 return id == TypeId() ? reinterpret_cast<uintptr_t>(this) : TrySafeCastById<__VA_ARGS__>(id); \ 60 return TypeId(); \ 82 return id == TypeId() ? reinterpret_cast<uintptr_t>(this) : 0; in SafeCastById() 101 return rawPtr != nullptr ? reinterpret_cast<T*>(rawPtr->SafeCastById(T::TypeId())) : nullptr; in DynamicCast() 107 return rawPtr != nullptr ? reinterpret_cast<const T*>(rawPtr->SafeCastById(T::TypeId())) : nullptr; in DynamicCast() 111 static TypeInfoBase::IdType TypeId(const TypeInfoBase* rawPtr) in TypeId() function in OHOS::Ace::final 115 static TypeInfoBase::IdType TypeId(const TypeInfoBase& instance) in TypeId() function in OHOS::Ace::final 117 return TypeId( in TypeId() 138 static TypeInfoBase::IdType TypeId() TypeId() function in OHOS::Ace::final [all...] |
H A D | ace_type.h | 72 static AceType::IdType TypeId(const AceType* rawPtr) in TypeId() function in OHOS::Ace::AceType 74 return TypeInfoHelper::TypeId(rawPtr); in TypeId() 77 static AceType::IdType TypeId(const RefPtr<T>& ptr) in TypeId() function in OHOS::Ace::AceType 79 return TypeId(AceType::RawPtr(ptr)); in TypeId() 81 static AceType::IdType TypeId(const AceType& instance) in TypeId() function in OHOS::Ace::AceType 83 return TypeInfoHelper::TypeId(instance); in TypeId() 101 static AceType::IdType TypeId() in TypeId() function in OHOS::Ace::AceType 103 return TypeInfoHelper::TypeId<T>(); in TypeId()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | grid_composed_element.cpp | 75 auto node = GetInspectorNode(GridLayoutElement::TypeId()); in GetColumnsTemplate() 88 auto node = GetInspectorNode(GridLayoutElement::TypeId()); in GetRowsTemplate() 101 auto gridLayoutNode = GetInspectorNode(GridLayoutElement::TypeId()); in GetColumnsGap() 102 auto gridNode = GetInspectorNode(V2::GridElement::TypeId()); in GetColumnsGap() 119 auto gridLayoutNode = GetInspectorNode(GridLayoutElement::TypeId()); in GetRowsGap() 120 auto gridNode = GetInspectorNode(V2::GridElement::TypeId()); in GetRowsGap() 137 auto node = GetInspectorNode(GridLayoutElement::TypeId()); in GetScrollBarWidth() 150 auto node = GetInspectorNode(GridLayoutElement::TypeId()); in GetScrollBarColor() 163 auto node = GetInspectorNode(GridLayoutElement::TypeId()); in GetScrollBar() 176 auto renderGrip = GetContentRender<RenderGridLayout>(GridLayoutElement::TypeId()); in GetGridEditMode() [all...] |
H A D | image_animator_composed_element.cpp | 54 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetStatus() 69 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetDuration() 78 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetReverse() 87 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetFixedSize() 96 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetPreDecode() 105 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetIteration() 114 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetFillMode() 129 auto element = GetContentElement<ImageAnimatorElement>(ImageAnimatorElement::TypeId()); in GetImages()
|
H A D | shape_composed_element.cpp | 74 auto renderShape = AceType::DynamicCast<RenderShape>(GetInspectorNode(ShapeElement::TypeId())); in GetWidth() 86 auto renderShape = AceType::DynamicCast<RenderShape>(GetInspectorNode(ShapeElement::TypeId())); in GetHeight() 127 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetShapeType() 136 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetCommands() 145 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetAntiAlias() 154 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetFill() 163 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetFillOpacity() 172 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetStroke() 181 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetStrokeDashOffset() 190 auto render = GetContentRender<RenderShape>(ShapeElement::TypeId()); in GetStrokeDashArray() [all...] |
H A D | flex_composed_element.cpp | 69 auto node = GetInspectorNode(FlexElement::TypeId()); in GetFlexDirection() 87 auto node = GetInspectorNode(FlexElement::TypeId()); in GetJustifyContent() 100 auto node = GetInspectorNode(FlexElement::TypeId()); in GetAlignItems() 113 auto node = GetInspectorNode(FlexElement::TypeId()); in GetAlignContent() 122 auto flexElement = GetContentElement<FlexElement>(FlexElement::TypeId()); in AddChildWithSlot() 134 auto flexElement = GetContentElement<FlexElement>(FlexElement::TypeId()); in UpdateChildWithSlot() 147 auto flexElement = GetContentElement<FlexElement>(FlexElement::TypeId()); in DeleteChildWithSlot()
|
H A D | pattern_lock_composed_element.cpp | 66 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetSideLength() 79 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetCircleRadius() 92 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetRegularColor() 105 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetSelectedColor() 118 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetActiveColor() 131 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetPathColor() 144 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetStrokeWidth() 157 auto node = GetInspectorNode(PatternLockElement::TypeId()); in GetAutoReset()
|
H A D | list_composed_element.cpp | 72 auto node = GetInspectorNode(ListElement::TypeId()); in GetSpace() 85 auto node = GetInspectorNode(ListElement::TypeId()); in GetInitialIndex() 98 auto node = GetInspectorNode(ListElement::TypeId()); in GetListDirection() 111 auto node = GetInspectorNode(ListElement::TypeId()); in GetEditMode() 124 auto node = GetInspectorNode(ListElement::TypeId()); in GetRestoreId() 142 auto node = GetInspectorNode(ListElement::TypeId()); in GetMultiSelectable() 157 auto node = GetInspectorNode(ListElement::TypeId()); in GetDivider() 193 auto node = GetInspectorNode(ListElement::TypeId()); in GetEdgeEffect() 223 auto node = GetInspectorNode(ListElement::TypeId()); in GetChainAnimation() 236 auto node = GetInspectorNode(ListElement::TypeId()); in GetScrollBar() [all...] |
H A D | indexer_composed_element.cpp | 72 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetColor() 86 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetSelectedColor() 100 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetPopupColor() 111 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetSelectedBackgroundColor() 122 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetPopupBackground() 133 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetItemSize() 144 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetAlignStyle() 155 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetSelectedFont() 174 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetPopupFont() 193 auto node = GetInspectorNode(IndexerElement::TypeId()); in GetFont() [all...] |
H A D | shape_container_composed_element.cpp | 102 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetAntiAlias() 111 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetFill() 120 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetFillOpacity() 129 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStroke() 138 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeDashOffset() 147 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeDashArray() 162 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeLineCap() 172 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeLineJoin() 182 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeMiterLimit() 191 auto render = GetContentRender<RenderShapeContainer>(ShapeContainerElement::TypeId()); in GetStrokeOpacity() [all...] |
H A D | grid_item_composed_element.cpp | 61 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetRowStart() 77 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetRowEnd() 93 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetColumnStart() 110 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetColumnEnd() 126 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetForceRebuild() 139 auto node = GetInspectorNode(GridLayoutItemElement::TypeId(), true); in GetSelectable()
|
H A D | water_flow_composed_element.cpp | 62 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetColumnsTemplate() 76 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetRowsTemplate() 90 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetColumnsGap() 104 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetRowsGap() 118 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetlayoutDirection() 132 auto node = GetInspectorNode(WaterFlowElement::TypeId()); in GetItemConstraintSize() 151 auto waterFlow = GetContentElement<WaterFlowElement>(WaterFlowElement::TypeId()); in AddChildWithSlot() 162 auto waterFlow = GetContentElement<WaterFlowElement>(WaterFlowElement::TypeId()); in UpdateChildWithSlot() 178 auto waterFlow = GetContentElement<WaterFlowElement>(WaterFlowElement::TypeId()); in DeleteChildWithSlot()
|
H A D | panel_composed_element.cpp | 70 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetPanelType() 89 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetPanelMode() 108 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetDragBar() 123 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetFullHeight() 136 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetHalfHeight() 149 auto node = GetInspectorNode(SlidingPanelElement::TypeId()); in GetMiniHeight() 162 auto renderNode = GetInspectorNode(SlidingPanelElement::TypeId()); in GetBackgroundMask()
|
H A D | navigator_composed_element.cpp | 57 auto node = GetInspectorNode(NavigatorElement::TypeId()); in GetActive() 70 auto node = GetInspectorNode(NavigatorElement::TypeId()); in GetTarget() 83 auto node = GetInspectorNode(NavigatorElement::TypeId()); in GetNavigatorType() 102 auto node = GetInspectorNode(NavigatorElement::TypeId()); in GetParams()
|
H A D | grid_row_composed_element.cpp | 66 auto renderNode = GetInspectorNode(GridRowElement::TypeId()); in GetGridRowSizeType() 95 auto renderNode = GetInspectorNode(GridRowElement::TypeId()); in GetGridRowDirection() 117 auto renderNode = GetInspectorNode(GridRowElement::TypeId()); in GetGridRowBreakpoints() 144 auto renderNode = GetInspectorNode(GridRowElement::TypeId()); in GetGridRowColumns() 158 auto renderNode = GetInspectorNode(GridRowElement::TypeId()); in GetGridRowGutter() 177 return GetContentElement<GridRowElement>(GridRowElement::TypeId()); in GetRenderElement()
|
H A D | wrap_composed_element.cpp | 69 auto node = GetInspectorNode(WrapElement::TypeId()); in GetFlexDirection() 82 auto node = GetInspectorNode(WrapElement::TypeId()); in GetWrap() 99 auto node = GetInspectorNode(WrapElement::TypeId()); in GetJustifyContent() 112 auto node = GetInspectorNode(WrapElement::TypeId()); in GetAlignItems() 125 auto node = GetInspectorNode(WrapElement::TypeId()); in GetAlignContent()
|
H A D | button_composed_element.cpp | 71 auto node = GetInspectorNode(TextElement::TypeId()); in GetLabel() 84 auto node = GetInspectorNode(TextElement::TypeId()); in GetFontSize() 98 auto node = GetInspectorNode(TextElement::TypeId()); in GetFontWeight() 112 auto node = GetInspectorNode(TextElement::TypeId()); in GetFontColor() 135 auto node = GetInspectorNode(ButtonElement::TypeId()); in GetRenderButton()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/ |
H A D | any.h | 29 const BASE_NS::array_view<const TypeId> GetCompatibleTypes(CompatibilityDirection dir) const override 33 AnyReturnValue GetData(const TypeId& id, void* data, size_t size) const override 37 AnyReturnValue SetData(const TypeId& id, const void* data, size_t size) override 53 TypeId GetTypeId(TypeIdRole) const override 69 bool IsCompatible(const TypeId& id) const override
|
H A D | number.cpp | 65 const TypeId uid; 86 static BASE_NS::vector<TypeId> CompatibleTypes() in CompatibleTypes() 88 BASE_NS::vector<TypeId> res; in CompatibleTypes() 95 static const CompType* FindCompatible(const TypeId& uid, size_t size) in FindCompatible() 119 const BASE_NS::array_view<const TypeId> Number::GetCompatibleTypes(CompatibilityDirection dir) const in GetCompatibleTypes() 121 static BASE_NS::vector<TypeId> types = CompatibleTypes(); in GetCompatibleTypes() 124 AnyReturnValue Number::GetData(const TypeId& uid, void* data, size_t size) const in GetData() 132 AnyReturnValue Number::SetData(const TypeId& uid, const void* data, size_t size) in SetData() 155 TypeId Number::GetTypeId(TypeIdRole role) const in GetTypeId()
|
H A D | number.h | 34 const BASE_NS::array_view<const TypeId> GetCompatibleTypes(CompatibilityDirection) const override; 35 AnyReturnValue GetData(const TypeId& uid, void* data, size_t size) const override; 36 AnyReturnValue SetData(const TypeId& uid, const void* data, size_t size) override; 39 TypeId GetTypeId(TypeIdRole role) const override;
|
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/interface/ |
H A D | intf_any.h | 68 virtual const BASE_NS::array_view<const TypeId> GetCompatibleTypes(CompatibilityDirection) const = 0; 69 virtual AnyReturnValue GetData(const TypeId& id, void* data, size_t size) const = 0; 70 virtual AnyReturnValue SetData(const TypeId& id, const void* data, size_t size) = 0; 73 virtual TypeId GetTypeId(TypeIdRole role) const = 0; 76 TypeId GetTypeId() const in GetTypeId() 109 virtual AnyReturnValue GetDataAt(size_t index, const TypeId& id, void* data, size_t size) const = 0; 110 virtual AnyReturnValue SetDataAt(size_t index, const TypeId& id, const void* data, size_t size) = 0; 161 inline bool IsCompatible(const IAny& any, const TypeId& uid, CompatibilityDirection dir = CompatibilityDirection::BOTH) in IsCompatible() 188 inline bool IsSetCompatible(const IAny& any, const TypeId& uid) in IsSetCompatible() 193 inline bool IsGetCompatible(const IAny& any, const TypeId [all...] |
/foundation/graphic/graphic_3d/lume/metaobject/include/meta/base/ |
H A D | ids.h | 69 class TypeId : public IdBase<TypeId> { class 71 using IdBase<TypeId>::IdBase; 84 META_TYPE(TypeId); variable 92 inline uint64_t hash(const META_NS::TypeId& value) in hash()
|