Lines Matching refs:theme

67   std::unique_ptr<Theme> theme = assetmanager.NewTheme();  in TEST_F()  local
68 EXPECT_EQ(0u, theme->GetChangingConfigurations()); in TEST_F()
69 EXPECT_EQ(&assetmanager, theme->GetAssetManager()); in TEST_F()
73 EXPECT_EQ(kInvalidCookie, theme->GetAttribute(app::R::attr::attr_one, &value, &flags)); in TEST_F()
80 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
81 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleOne)); in TEST_F()
87 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
93 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
104 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
105 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
111 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
117 cookie = theme->GetAttribute(app::R::attr::attr_two, &value, &flags); in TEST_F()
126 cookie = theme->GetAttribute(app::R::attr::attr_three, &value, &flags); in TEST_F()
137 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
138 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
142 ASSERT_EQ(kInvalidCookie, theme->GetAttribute(0x7f000001, &value, &flags)); in TEST_F()
149 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
150 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
151 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree)); in TEST_F()
158 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
165 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
172 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
183 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
184 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleTwo)); in TEST_F()
185 ASSERT_TRUE(theme->ApplyStyle(app::R::style::StyleThree, true /* force */)); in TEST_F()
192 cookie = theme->GetAttribute(app::R::attr::attr_one, &value, &flags); in TEST_F()
199 cookie = theme->GetAttribute(app::R::attr::attr_six, &value, &flags); in TEST_F()
206 cookie = theme->GetAttribute(app::R::attr::attr_five, &value, &flags); in TEST_F()
218 std::unique_ptr<Theme> theme = assetmanager.NewTheme(); in TEST_F() local
219 ASSERT_TRUE(theme->ApplyStyle(libclient::R::style::Theme, false /*force*/)); in TEST_F()
226 cookie = theme->GetAttribute(libclient::R::attr::foo, &value, &flags); in TEST_F()
233 cookie = theme->GetAttribute(libclient::R::attr::bar, &value, &flags); in TEST_F()