Searched refs:geocodingLocale (Results 1 – 1 of 1) sorted by relevance
/external/libphonenumber/demo/src/com/google/phonenumbers/ |
D | PhoneNumberParserServlet.java | 108 Locale geocodingLocale = new Locale(languageCode, regionCode); in doPost() local 109 resp.sendRedirect(getPermaLinkURL(phoneNumber, defaultCountry, geocodingLocale, in doPost() 129 Locale geocodingLocale; in doGet() local 131 geocodingLocale = ENGLISH; // Default languageCode to English if nothing is entered. in doGet() 133 geocodingLocale = Locale.forLanguageTag(geocodingParam); in doGet() 138 getOutputForSingleNumber(phoneNumber, defaultCountry, geocodingLocale)); in doGet() 195 String phoneNumber, String defaultCountry, Locale geocodingLocale, boolean absoluteURL) { in getPermaLinkURL() argument 205 if (!geocodingLocale.getLanguage().equals(ENGLISH.getLanguage()) || in getPermaLinkURL() 206 !geocodingLocale.getCountry().isEmpty()) { in getPermaLinkURL() 208 URLEncoder.encode(geocodingLocale.toLanguageTag(), UTF_8.name())); in getPermaLinkURL() [all …]
|