Searched refs:ApplyStyle (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 78 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 …]
|
D | AttributeResolution_bench.cpp | 67 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()
|
D | Theme_bench.cpp | 42 theme->ApplyStyle(kStyleId, false /* force */); in BM_ThemeApplyStyleFramework() 71 theme->ApplyStyle(kStyleId, false /* force */); in BM_ThemeGetAttribute()
|
D | AttributeResolution_test.cpp | 80 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/ |
D | AttributeResolution.h | 56 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser,
|
D | AssetManager2.h | 521 base::expected<std::monostate, NullOrIOError> ApplyStyle(uint32_t resid, bool force = false);
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 220 base::expected<std::monostate, IOError> ApplyStyle(Theme* theme, ResXMLParser* xml_parser, in ApplyStyle() function
|
D | AssetManager2.cpp | 1429 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/ |
D | android_util_AssetManager.cpp | 1125 ApplyStyle(theme, xml_parser, static_cast<uint32_t>(def_style_attr), in NativeApplyStyle() 1281 theme->ApplyStyle(static_cast<uint32_t>(resid), force); in NativeThemeApplyStyle()
|