Home
last modified time | relevance | path

Searched refs:plural (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tools/aapt2/
DBinaryResourceParser.cpp80 void visit(Plural& plural, ValueVisitorArgs&) override { in visit()
81 for (auto& item : plural.values) { in visit()
869 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in parsePlural() local
875 plural->values[Plural::Zero] = std::move(item); in parsePlural()
878 plural->values[Plural::One] = std::move(item); in parsePlural()
881 plural->values[Plural::Two] = std::move(item); in parsePlural()
884 plural->values[Plural::Few] = std::move(item); in parsePlural()
887 plural->values[Plural::Many] = std::move(item); in parsePlural()
890 plural->values[Plural::Other] = std::move(item); in parsePlural()
894 return plural; in parsePlural()
DDebug.cpp78 void visit(const Plural& plural, ValueVisitorArgs&) override { in visit()
79 plural.print(std::cout); in visit()
DLinker.h109 void visit(Plural& plural, ValueVisitorArgs& args) override;
DLinker.cpp276 void Linker::visit(Plural& plural, ValueVisitorArgs& a) { in visit() argument
279 for (auto& item : plural.values) { in visit()
DTableFlattener.cpp164 void visit(const Plural& plural, ValueVisitorArgs&) override { in visit() argument
165 const size_t count = plural.values.size(); in visit()
167 if (!plural.values[i]) { in visit()
202 flattenEntry(Reference(q), *plural.values[i]); in visit()
DResourceParser.cpp1263 std::unique_ptr<Plural> plural = util::make_unique<Plural>(); in parsePlural() local
1313 if (plural->values[index]) { in parsePlural()
1323 if (!(plural->values[index] = parseXml(&childParser, android::ResTable_map::TYPE_STRING, in parsePlural()
1333 return mTable->addResource(resourceName, mConfig, source, std::move(plural)); in parsePlural()
/frameworks/base/docs/html/guide/topics/resources/
Dstring-resource.jd221 write "<i>n</i> books". This distinction between singular and plural is very common, but other
304 <dd>A plural or singular string. The value can be a reference to another
383 {@code %d songs found}, the first {@code count} parameter selects the appropriate plural string and
384 the second {@code count} parameter is inserted into the {@code %d} placeholder. If your plural
/frameworks/base/docs/html/distribute/tools/promote/
Dbrand.jd30 <li>Android should always be capitalized and is never plural or possessive.</li>
/frameworks/base/docs/html/tools/data-binding/
Dguide.jd877 When a plural takes multiple parameters, all parameters should be passed:
/frameworks/base/api/
Dcurrent.txt33301 field public static final java.lang.String MULTIPLICITY_PLURAL = "android.plural";
Dsystem-current.txt35593 field public static final java.lang.String MULTIPLICITY_PLURAL = "android.plural";