Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/tests/
DTheme_test.cpp78 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleOne).has_value()); in TEST_F()
98 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo).has_value()); in TEST_F()
127 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo).has_value()); in TEST_F()
136 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo).has_value()); in TEST_F()
137 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree).has_value()); in TEST_F()
166 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo).has_value()); in TEST_F()
167 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree, true /* force */).has_value()); in TEST_F()
197 ASSERT_TRUE(theme->ApplyStyle(libclient::R::style::Theme, false /*force*/).has_value()); in TEST_F()
222 ASSERT_TRUE(theme_one->ApplyStyle(app::R::style::StyleOne).has_value()); in TEST_F()
235 ASSERT_TRUE(theme_two->ApplyStyle(app::R::style::StyleThree).has_value()); in TEST_F()
[all …]
DAttributeResolution_bench.cpp67 theme->ApplyStyle(app::R::style::StyleTwo); in BM_ApplyStyle()
76 ApplyStyle(theme.get(), &xml_tree, 0u /*def_style_attr*/, 0u /*def_style_res*/, attrs.data(), in BM_ApplyStyle()
141 theme->ApplyStyle(Theme_Material_Light); in BM_ApplyStyleFramework()
162 ApplyStyle(theme.get(), &xml_tree, 0x01010084u /*def_style_attr*/, 0u /*def_style_res*/, in BM_ApplyStyleFramework()
DTheme_bench.cpp42 theme->ApplyStyle(kStyleId, false /* force */); in BM_ThemeApplyStyleFramework()
71 theme->ApplyStyle(kStyleId, false /* force */); in BM_ThemeGetAttribute()
DAttributeResolution_test.cpp80 ASSERT_TRUE(ApplyStyle(theme.get(), nullptr /*xml_parser*/, 0u /*def_style_attr*/, in TEST()
105 ASSERT_TRUE(theme->ApplyStyle(R::style::StyleTwo).has_value()); in TEST_F()
210 ASSERT_TRUE(theme->ApplyStyle(R::style::StyleTwo).has_value()); in TEST_F()
217 ASSERT_TRUE(ApplyStyle(theme.get(), &xml_parser_, 0u /*def_style_attr*/, 0u /*def_style_res*/, in TEST_F()
/frameworks/base/libs/androidfw/include/androidfw/
DAttributeResolution.h56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser,
DAssetManager2.h521 base::expected<std::monostate, NullOrIOError> ApplyStyle(uint32_t resid, bool force = false);
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle() function
DAssetManager2.cpp1429 base::expected<std::monostate, NullOrIOError> Theme::ApplyStyle(uint32_t resid, bool force) { in ApplyStyle() function in android::Theme
1483 ApplyStyle(style_ids[i], force[i]); in Rebase()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp1125 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle()
1281 theme->ApplyStyle(static_cast<uint32_t>(resid), force); in NativeThemeApplyStyle()