Home
last modified time | relevance | path

Searched refs:AppStyle (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/
H A Dapp_style.h24 class AppStyle final : public MemoryHeap {
26 ACE_DISALLOW_COPY_AND_MOVE(AppStyle);
31 ~AppStyle() in ~AppStyle()
46 void SetPre(AppStyle* preStyle) in SetPre()
55 const AppStyle* GetPre() const in GetPre()
60 void SetNext(AppStyle* nextStyle) in SetNext()
68 const AppStyle* GetNext() const in GetNext()
78 static void CombineStyles(AppStyle &dest, const AppStyle &source, bool overwrite = false);
82 static void AddItemsInLoop(jerry_value_t object, AppStyle& newStyle);
92 AppStyle* pre_;
[all …]
H A Dapp_style.cpp22 void AppStyle::SetStyleName(const char * const name, size_t nameLen) in SetStyleName()
41 void AppStyle::Reset() in Reset()
56 void AppStyle::AddStyleItem(AppStyleItem *newStyleItem) in AddStyleItem()
82 const AppStyleItem *AppStyle::GetStyleItemByNameId(uint16_t stylePropNameId) const in GetStyleItemByNameId()
99 void AppStyle::AddItemsInLoop(jerry_value_t object, AppStyle &newStyle) in AddItemsInLoop()
114 void AppStyle::AddKeyFramesItemsInLoop(jerry_value_t objFrom, jerry_value_t objTo, AppStyle &newSty… in AddKeyFramesItemsInLoop()
162 jerry_value_t AppStyle::AddKeyFramesTransformValue(jerry_value_t propValueFrom, in AddKeyFramesTransformValue()
215 jerry_value_t AppStyle::ConcatJerryString(jerry_value_t strA, jerry_value_t strB) in ConcatJerryString()
290 AppStyle *AppStyle::GenerateFromJS(jerry_value_t styleKey, jerry_value_t styleValue, bool isKeyFram… in GenerateFromJS()
306 AppStyle *newStyle = new AppStyle(); in GenerateFromJS()
[all …]
H A Dapp_style_list.cpp22 AppStyle* next = nullptr; in Reset()
24 next = const_cast<AppStyle *>(firstStyle_->GetNext()); in Reset()
32 void AppStyleList::AddStyle(AppStyle *newStyle) in AddStyle()
51 AppStyle *AppStyleList::GetExistStyle(const char *name) const in GetExistStyle()
59 const AppStyle *current = firstStyle_; in GetExistStyle()
62 const AppStyle *existCurrentStyle = current; in GetExistStyle()
71 return const_cast<AppStyle *>(existCurrentStyle); in GetExistStyle()
H A Dapp_style_list.h34 const AppStyle* GetFirst() const in GetFirst()
40 void AddStyle(AppStyle* newStyle);
41 bool IsStyleExist(const AppStyle &newStyle);
42 AppStyle *GetExistStyle(const char *name) const;
45 AppStyle* firstStyle_;
46 AppStyle* lastStyle_;
H A Dapp_style_sheet.cpp173 AppStyle *newStyle = AppStyle::GenerateFromJS(styleKey, styleValue, isKeyFrames); in InitSelectors()
175 AppStyle *existOne = (*selectorsList)->GetExistStyle(newStyle->GetStyleName()); in InitSelectors()
177 AppStyle::CombineStyles(*existOne, *newStyle, overwrite); in InitSelectors()
190 AppStyle *AppStyleSheet::GetStyleFromIDSelectors(const char * const name) const in GetStyleFromIDSelectors()
195 AppStyle *AppStyleSheet::GetStyleFromClassSelectors(const char * const name) const in GetStyleFromClassSelectors()
200 AppStyle *AppStyleSheet::GetStyleFromKeyFramesSelectors(const char * const name) const in GetStyleFromKeyFramesSelectors()
205 AppStyle *AppStyleSheet::GetStyleFromSelectors(AppStyleList *selectors, const char * const name) co… in GetStyleFromSelectors()
211 AppStyle *first = const_cast<AppStyle *>(selectors->GetFirst()); in GetStyleFromSelectors()
217 first = const_cast<AppStyle *>(first->GetNext()); in GetStyleFromSelectors()
H A Dapp_style_sheet.h36 AppStyle* GetStyleFromIDSelectors(const char * const name) const;
37 AppStyle* GetStyleFromClassSelectors(const char * const name) const;
38 AppStyle* GetStyleFromKeyFramesSelectors(const char * const name) const;
39 AppStyle* GetStyleFromSelectors(AppStyleList* selectors, const char * const name) const;
H A Dapp_style_manager.h41 void ApplySingleStyle(AppStyle &appStyle, Component &curr);
H A Dapp_style_manager.cpp237 AppStyle *style = nullptr; in HandleSingleSelector()
342 void AppStyleManager::ApplySingleStyle(AppStyle &appStyle, Component &curr) in ApplySingleStyle()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/stylemgr/test/unittest/common/
H A Dstylemgr_media_query_tdd_test.h57 int GetAppStyleItemCount(const AppStyle *list) const;
59 …const AppStyle *GetStyleFromSelectorList(const AppStyleSheet *styleList, const char *selectorName)…
60 …const AppStyle *GetStyleFromSelector(const AppStyleList *styleList, const char *selectorName) cons…
63 const AppStyleItem *GetStyleItemFromStyle(const AppStyle *style, const char *itemName) const;
H A Dstylemgr_media_query_tdd_test.cpp398 const AppStyle *style = list->GetFirst(); in GetAppStyleCount()
416 int StyleMgrMediaQueryTddTest::GetAppStyleItemCount(const AppStyle *list) const in GetAppStyleItemCount()
432 const AppStyle *StyleMgrMediaQueryTddTest::GetStyleFromSelector(const AppStyleList *styleList, in GetStyleFromSelector()
438 const AppStyle *style = styleList->GetFirst(); in GetStyleFromSelector()
451 const AppStyle *StyleMgrMediaQueryTddTest::GetStyleFromSelectorList(const AppStyleSheet *list, in GetStyleFromSelectorList()
458 const AppStyle *selector = GetStyleFromSelector(list->classSelectors_, selectorName); in GetStyleFromSelectorList()
471 const AppStyle *selector = GetStyleFromSelectorList(list, selectorName); in GetItemCountOfSelector()
475 const AppStyleItem *StyleMgrMediaQueryTddTest::GetStyleItemFromStyle(const AppStyle *style, const c… in GetStyleItemFromStyle()
502 const AppStyle *style = GetStyleFromSelectorList(list, selectorName); in GetStyleItemByName()
562 const AppStyle *containerNewSelector = GetStyleFromSelectorList(styleSheet, "containerNew");
H A Dstylemgr_tdd_test.cpp374 AppStyle* sampleSelector = styleSheet->GetStyleFromIDSelectors(sample); in ACELiteStyleManagerInlineStyle003()
436 AppStyle* sampleSelector = styleSheet->GetStyleFromClassSelectors(sample); in ACELiteStyleManagerInlineStyle004()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dtab_bar_component.h71 const AppStyle* combinedStyle_;
H A Dclock_hand_component.h62 const AppStyle* combinedStyle_;
H A Dcomponent.cpp757 AppStyle *style = styleSheet->GetStyleFromKeyFramesSelectors(value); in SetAnimationKeyFrames()