Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DAssetManager2.cpp889 struct ThemeType { struct
901 std::array<util::unique_cptr<ThemeType>, kTypeCount> types;
918 ThemeType* last_type = nullptr; in ApplyStyle()
952 util::unique_cptr<ThemeType>& type = last_package->types[type_idx]; in ApplyStyle()
956 type.reset(reinterpret_cast<ThemeType*>( in ApplyStyle()
957 calloc(sizeof(ThemeType) + (entry_idx + 1) * sizeof(ThemeEntry), 1))); in ApplyStyle()
963 type.reset(reinterpret_cast<ThemeType*>( in ApplyStyle()
964 realloc(type.release(), sizeof(ThemeType) + (new_count * sizeof(ThemeEntry))))); in ApplyStyle()
998 const ThemeType* type = package->types[type_idx].get(); in GetAttribute()
1080 const ThemeType* type = package->types[t].get(); in SetTo()
[all …]