Home | History | Annotate | Download | only in aapt2

Lines Matching defs:styleable

237     std::string input = "<declare-styleable name=\"Styleable\">\n"
239 "</declare-styleable>\n"
250 std::string input = "<declare-styleable name=\"Theme\">"
252 "</declare-styleable>\n"
253 "<declare-styleable name=\"Window\">\n"
255 "</declare-styleable>";
415 std::string input = "<declare-styleable name=\"foo\">\n"
418 "</declare-styleable>";
430 const Styleable* styleable = findResource<Styleable>(ResourceName{
432 ASSERT_NE(styleable, nullptr);
433 ASSERT_EQ(2u, styleable->entries.size());
435 EXPECT_EQ((ResourceName{u"android", ResourceType::kAttr, u"bar"}), styleable->entries[0].name);
436 EXPECT_EQ((ResourceName{u"android", ResourceType::kAttr, u"bat"}), styleable->entries[1].name);