Home
last modified time | relevance | path

Searched refs:part2 (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/androidfw/
DLocale.cpp89 const std::string& part2 = parts[1]; in InitFromFilterString() local
90 if ((part2.length() == 2 && is_alpha(part2)) || in InitFromFilterString()
91 (part2.length() == 3 && is_number(part2))) { in InitFromFilterString()
92 set_region(part2.c_str()); in InitFromFilterString()
93 } else if (part2.length() == 4 && is_alpha(part2)) { in InitFromFilterString()
94 set_script(part2.c_str()); in InitFromFilterString()
95 } else if (part2.length() >= 4 && part2.length() <= 8) { in InitFromFilterString()
96 set_variant(part2.c_str()); in InitFromFilterString()
/frameworks/wilhelm/tools/hashgen/
DMakefile12 IID_to_MPH.c : part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c
14 cat part1.c part2.c part3.c part4.c part5.c part6.c part7.c part8.c >> $@
18 part2.c : part23in.c
69 $(RM) part2.c part3.c part5.c part7.c
/frameworks/base/tools/aapt/
DAaptAssets.cpp232 const String8& part2 = parts[1]; in initFromFilterString() local
233 if ((part2.length() == 2 && isAlpha(part2)) || in initFromFilterString()
234 (part2.length() == 3 && isNumber(part2))) { in initFromFilterString()
235 setRegion(part2.string()); in initFromFilterString()
236 } else if (part2.length() == 4 && isAlpha(part2)) { in initFromFilterString()
237 setScript(part2.string()); in initFromFilterString()
238 } else if (part2.length() >= 4 && part2.length() <= 8) { in initFromFilterString()
239 setVariant(part2.string()); in initFromFilterString()
/frameworks/base/core/tests/coretests/src/android/util/
DPatternsTest.java469 String part2 = "roid"; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces() local
490 String url = part1 + emptySpace + part2; in testAutoLinkWebUrl_doesNotMatchUnicodeSpaces()