Searched defs:region (Results 1 - 9 of 9) sorted by relevance

/packages/apps/TV/src/com/android/tv/tuner/util/
H A DPostalCodeUtils.java117 * Checks whether a postcode matches the format of the specific region.
119 * @return {@code false} if the region is supported and the postcode doesn't match; {@code true}
122 public static boolean matches(@NonNull CharSequence postcode, @NonNull String region) { argument
123 Pattern pattern = REGION_PATTERN.get(region.toUpperCase());
128 * Gets the largest possible postcode length in the region.
130 * @return maximum postcode length if the region is supported; {@link #DEFAULT_MAX_LENGTH}
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) {
106 assertEquals(region, postal.region);
112 String neighborhood, String city, String region, String postcode, String country) {
118 postal.region = region;
98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
H A DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) {
122 assertEquals(region, postal.region);
128 String neighborhood, String city, String region, String postcode, String country) {
134 postal.region = region;
114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPostalSplitter.java37 public String region; field in class:PostalSplitter.Postal
46 region = values.getAsString(StructuredPostal.REGION);
56 values.put(StructuredPostal.REGION, region);
87 postal.region, postal.postcode, postal.country
104 final boolean hasRegion = !TextUtils.isEmpty(postal.region);
109 // Second block: [region][ ][city][ ][neighborhood]
133 builder.append(postal.region);
170 final boolean hasRegion = !TextUtils.isEmpty(postal.region);
175 // Second block: [city][, ][region][ ][postcode]
207 builder.append(postal.region);
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DLinearColorBar.java59 public void onRegionTapped(int region); argument
176 private int pickColor(int color, int region) { argument
177 if (isPressed() && (mLastRegion&region) != 0) {
180 if ((mColoredRegions&region) == 0) {
/packages/apps/TV/src/com/android/tv/data/epg/
H A DEpgFetcher.java131 public static EpgReader createEpgReader(Context context, String region) { argument
/packages/apps/TV/src/com/android/tv/tuner/ts/
H A DSectionParser.java991 for (RatingRegion region : usRatingRegions) {
992 String contentRating = getUsRating(region);
997 for (RatingRegion region : krRatingRegions) {
998 String contentRating = getKrRating(region);
1007 * Gets a list of {@link RatingRegion} in the specific region.
1010 * @param region the specific region
1011 * @return a list of {@link RatingRegion} in the specific region
1013 private static List<RatingRegion> getRatingRegions(List<TsDescriptor> descriptors, int region) { argument
1022 if (ratingRegion.getName() == region) {
[all...]
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
H A Dexoplayer_v2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer2/ ...

Completed in 449 milliseconds