Home
last modified time | relevance | path

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

/aosp14/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp86 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
106 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
115 value = theme->GetAttribute(app::R::attr::attr_three); in TEST_F()
128 ASSERT_FALSE(theme->GetAttribute(0x7f000001)); in TEST_F()
147 value = theme->GetAttribute(app::R::attr::attr_six); in TEST_F()
154 value = theme->GetAttribute(app::R::attr::attr_five); in TEST_F()
177 value = theme->GetAttribute(app::R::attr::attr_six); in TEST_F()
184 value = theme->GetAttribute(app::R::attr::attr_five); in TEST_F()
280 value = theme->GetAttribute(app::R::attr::attr_two); in TEST_F()
293 value = theme->GetAttribute(app::R::attr::attr_one); in TEST_F()
[all …]
H A DTheme_bench.cpp74 theme->GetAttribute(kAttrId); in BM_ThemeGetAttribute()
H A DAttributeFinder_test.cpp35 inline uint32_t GetAttribute(const int index) const { return attrs_[index]; } in GetAttribute() function in android::MockAttributeFinder
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAttributeFinder.h126 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(current_); in JumpToClosestAttribute()
157 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(begin_); in Find()
182 current_attr_ = static_cast<const Derived*>(this)->GetAttribute(current_); in Find()
H A DAssetManager2.h566 std::optional<AssetManager2::SelectedValue> GetAttribute(uint32_t resid) const;
/aosp14/frameworks/base/libs/androidfw/
H A DAttributeResolution.cpp45 inline uint32_t GetAttribute(size_t index) const { in GetAttribute() function in android::__anon481c89860110::XmlAttributeFinder
61 inline uint32_t GetAttribute(const ResolvedBag::Entry* entry) const { in GetAttribute() function in android::__anon481c89860110::BagAttributeFinder
72 std::optional<AssetManager2::SelectedValue> value = theme->GetAttribute(theme_attribute_resid); in GetStyleBag()
106 if (std::optional<AssetManager2::SelectedValue> result = theme->GetAttribute(value.data)) { in GetXmlStyleBag()
176 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ResolveAttrs()
308 if (auto attr_value = theme->GetAttribute(cur_ident)) { in ApplyStyle()
H A DAssetManager2.cpp1592 std::optional<AssetManager2::SelectedValue> Theme::GetAttribute(uint32_t resid) const { in GetAttribute() function in android::Theme
1620 std::optional<AssetManager2::SelectedValue> result = GetAttribute(value.data); in ResolveAttributeReference()
/aosp14/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp272 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues()
304 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()
/aosp14/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h232 ProgramVar GetAttribute(const std::string& name) const;
H A Dshader_program.cpp934 ProgramVar ShaderProgram::GetAttribute(const std::string& name) const { in GetAttribute() function in android::filterfw::ShaderProgram
/aosp14/system/core/libprocessgroup/
H A Dprocessgroup.cpp110 const IProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePath()
125 const IProfileAttribute* attr = tp.GetAttribute(attr_name); in CgroupGetAttributePathForTask()
H A Dtask_profiles.h238 const IProfileAttribute* GetAttribute(std::string_view name) const;
H A Dtask_profiles.cpp988 const IProfileAttribute* TaskProfiles::GetAttribute(std::string_view name) const { in GetAttribute() function in TaskProfiles
/aosp14/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1123 auto value = theme->GetAttribute(def_style_attr); in NativeAttributeResolutionStack()
1400 auto value = theme->GetAttribute(static_cast<uint32_t>(resid)); in NativeThemeGetAttributeValue()