/cts/tests/tests/content/src/android/content/res/cts/ |
PluralResourcesTest.java | 54 cs = res.getQuantityText(R.plurals.plurals_test, 0); 60 cs = res.getQuantityText(R.plurals.plurals_test, 1); 66 cs = res.getQuantityText(R.plurals.plurals_test, 2); 69 cs = res.getQuantityText(R.plurals.plurals_test, 5); 72 cs = res.getQuantityText(R.plurals.plurals_test, 500); 81 cs = res.getQuantityText(R.plurals.plurals_test, 0); 87 cs = res.getQuantityText(R.plurals.plurals_test, 1); 93 cs = res.getQuantityText(R.plurals.plurals_test, 2); 99 cs = res.getQuantityText(R.plurals.plurals_test, 5); 102 cs = res.getQuantityText(R.plurals.plurals_test, 500) [all...] |
ResourcesTest.java | 432 final String strGo = mResources.getQuantityString(R.plurals.plurals_test, 1, ""); 444 final String strGo = mResources.getQuantityString(R.plurals.plurals_test, 1); 616 cs = res.getQuantityText(R.plurals.plurals_test, 0); 619 cs = res.getQuantityText(R.plurals.plurals_test, 1); 622 cs = res.getQuantityText(R.plurals.plurals_test, 2); 625 cs = res.getQuantityText(R.plurals.plurals_test, 5); 628 cs = res.getQuantityText(R.plurals.plurals_test, 500); [all...] |
/development/tools/findunused/ |
findunusedtranslations | 49 if (/<plurals [^>]*name="([^"]*)"/) { 50 $plurals{$1} = 1; 75 if (/<plurals [^>]*name="([^"]*)"/) { 76 if ($plurals{$1} == 0) { 90 if (/<\/plurals/) {
|
findunusedstrings | 32 for i in $(grep -Rs "\(string\|plurals\) name=" res | sed 's/.*string name=\"//' | sed 's/.*plurals name=\"//'|sed 's/".*$//'|sort -u) 34 echo $i $(grep -Rws R.plurals.$i\\\|R.string.$i\\\|@string/$i .|wc -l)
|
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/ |
StaxPluralsLoader.java | 11 private final List<Plural> plurals = new ArrayList<>(); field in class:StaxPluralsLoader 32 plurals.add(new Plural(quantity, buf.toString())); 49 resourceTable.addResource(attrType, name, new PluralRules(new ArrayList<>(plurals), resType, xmlContext)); 50 plurals.clear();
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
ValuePathStatus.java | 86 PluralInfo plurals = supplementalDataInfo2.getPlurals(sourceFile.getLocaleID()); local 87 return plurals == null || !plurals.hasSamples(c, digits); // ok if no samples
|
PluralSnapshot.java | 28 public enum Plurals { 32 Plurals(String s) { 36 Plurals() { 60 EnumSet<Plurals> coveredBy01 = EnumSet.noneOf(Plurals.class); 61 EnumSet<Plurals> not01 = EnumSet.noneOf(Plurals.class); 63 Plurals[] plurals = new Plurals[LEN] field in class:PluralSnapshot 82 PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); local [all...] |
CoreCoverageInfo.java | 39 plurals, enum constant in enum:CoreCoverageInfo.CoreItems 119 // (01) Plural rules [supplemental/plurals.xml and ordinals.xml] 122 result.add(CoreItems.plurals); 124 detailedErrors.put(CoreItems.plurals, "//supplementalData/plurals[@type=\"cardinal\"]"); 129 detailedErrors.put(CoreItems.ordinals, "//supplementalData/plurals[@type=\"ordinal\"]");
|
/developers/build/prebuilts/gradle/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/ |
WelcomeActivity.java | 43 (R.plurals.welcome_page_countdown, secondsRemaining, secondsRemaining));
|
/developers/samples/android/input/autofill/AutofillFramework/Application/src/main/java/com/example/android/autofill/app/ |
WelcomeActivity.java | 43 (R.plurals.welcome_page_countdown, secondsRemaining, secondsRemaining));
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
WelcomeActivity.kt | 38 .getQuantityString(R.plurals.welcome_page_countdown, secondsRemaining,
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/app/ |
WelcomeActivity.kt | 38 .getQuantityString(R.plurals.welcome_page_countdown, secondsRemaining,
|
/external/icu/icu4c/source/data/misc/ |
miscfiles.mk | 28 zoneinfo64.txt supplementalData.txt likelySubtags.txt plurals.txt \
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
ShowPlurals.java | 134 final PluralInfo plurals = supplementalDataInfo.getPlurals(pluralType, locale); local 141 String rules = plurals.getRules(); 144 PluralRules pluralRules = plurals.getPluralRules(); 145 //final Map<PluralInfo.Count, String> typeToExamples = plurals.getCountToStringExamplesMap(); 147 Set<Count> counts = plurals.getCounts(); 150 FixedDecimalSamples exampleList = pluralRules.getDecimalSamples(keyword, PluralRules.SampleType.INTEGER); // plurals.getSamples9999(count);
|
/external/autotest/cli/ |
action_common.py | 247 plurals = reversed(sorted(self.add_remove_things.keys())) 248 for what in plurals:
|
/developers/build/prebuilts/gradle/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/ |
MainActivity.java | 199 R.plurals.already_confirmed_device_credentials_within_last_x_seconds,
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 111 R.plurals.attractions_found, count, count))
|
/developers/samples/android/security/ConfirmCredential/Application/src/main/java/com/example/android/confirmcredential/ |
MainActivity.java | 199 R.plurals.already_confirmed_device_credentials_within_last_x_seconds,
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Wearable/src/main/java/com/example/android/xyztouristattractions/service/ |
ListenerService.java | 112 R.plurals.attractions_found, count, count))
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
SearchableDictionary.java | 97 String countString = getResources().getQuantityString(R.plurals.search_results,
|
/development/samples/browseable/XYZTouristAttractions/Wearable/src/com.example.android.xyztouristattractions/service/ |
ListenerService.java | 111 R.plurals.attractions_found, count, count))
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
TestSupplementalInfo.java | 460 PluralInfo plurals = SUPPLEMENTAL.getPlurals(row[0]); local 461 SampleList uset = plurals.getSamples9999(Count.valueOf(row[1]), 567 PluralInfo plurals = SUPPLEMENTAL.getPlurals(row[0]); local 568 countToDigits = exceptions.get(plurals); 571 plurals, 591 PluralInfo plurals = SUPPLEMENTAL.getPlurals(locale); local 592 if (seen.contains(plurals)) { // skip identicals 595 Relation<Count, Integer> countToDigits = exceptions.get(plurals); 599 for (Count c : plurals.getCounts()) { 608 boolean hasSamples = plurals.hasSamples(c, digits) [all...] |
/developers/build/prebuilts/gradle/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
SetTimerActivity.java | 66 res.getQuantityString(R.plurals.timer_minutes, i + 1, i + 1),
|
/developers/samples/android/deprecated/wearable/wear/Timer/Wearable/src/main/java/com/example/android/wearable/timer/ |
SetTimerActivity.java | 66 res.getQuantityString(R.plurals.timer_minutes, i + 1, i + 1),
|
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/ |
SetTimerActivity.java | 66 res.getQuantityString(R.plurals.timer_minutes, i + 1, i + 1),
|