Searched refs:theme_one (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/libs/androidfw/tests/ |
H A D | Theme_test.cpp | 245 std::unique_ptr<Theme> theme_one = assetmanager.NewTheme(); local 246 ASSERT_TRUE(theme_one->ApplyStyle(app::R::style::StyleOne)); 253 cookie = theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags); 260 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags)); 265 // Copy the theme to theme_one. 266 ASSERT_TRUE(theme_one->SetTo(*theme_two)); 272 EXPECT_EQ(kInvalidCookie, theme_one->GetAttribute(app::R::attr::attr_one, &value, &flags)); 275 cookie = theme_one->GetAttribute(app::R::attr::attr_six, &value, &flags); 289 auto theme_one = assetmanager_one.NewTheme(); local 290 ASSERT_TRUE(theme_one [all...] |
Completed in 650 milliseconds