/frameworks/base/awt/javax/imageio/plugins/bmp/ |
H A D | BMPImageWriteParam.java | 46 * @param locale 49 public BMPImageWriteParam(Locale locale) { argument 50 super(locale);
|
/frameworks/base/awt/java/awt/ |
H A D | ComponentOrientation.java | 102 Locale locale = bdl.getLocale(); 103 if (locale == null) { 104 locale = Locale.getDefault(); 106 return getOrientation(locale); 110 * Gets the orientation for the specified locale. 112 * @param locale 116 public static ComponentOrientation getOrientation(Locale locale) { argument 117 String lang = locale.getLanguage();
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 28 * user-specified configuration options (locale and scaling) as well 49 * Current user preference for the locale. 51 public Locale locale; field in class:Configuration 229 if (o.locale != null) { 230 locale = (Locale) o.locale.clone(); 254 sb.append(locale); 287 locale = null; 328 if (delta.locale != null 329 && (locale [all...] |
H A D | PluralRules.java | 72 static final PluralRules ruleForLocale(Locale locale) { argument 73 String lang = locale.getLanguage();
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | LocaleTest.java | 34 * Test some locale-dependent stuff for Android. This test mainly ensures that 43 Locale locale = new Locale("en"); 44 assertEquals("en", locale.toString()); 46 locale = new Locale("en", "US"); 47 assertEquals("en_US", locale.toString()); 49 locale = new Locale("en", "", "POSIX"); 50 assertEquals("en__POSIX", locale.toString()); 52 locale = new Locale("en", "US", "POSIX"); 53 assertEquals("en_US_POSIX", locale.toString()); 91 * checks for stuff in the "de" locale, becaus [all...] |
/frameworks/base/tools/localize/ |
H A D | Configuration.cpp | 9 n = locale.compare(that.locale); 40 if (locale.length() > 0) { 44 s += locale;
|
H A D | merge_res_and_xliff_test.cpp | 9 english.locale = "en_US"; 11 translated.locale = "zz_ZZ";
|
H A D | file_utils.h | 11 string translated_file_name(const string& file, const string& locale);
|
/frameworks/base/core/java/android/provider/ |
H A D | UserDictionary.java | 30 * frequency information and locale information. 78 * The locale that this word belongs to. Null if it pertains to all 82 public static final String LOCALE = "locale"; 90 /** The locale type to specify that the word is common to all locales. */ 93 /** The locale type to specify that the word is for the current locale. */ 102 * specified locale type. 106 * @param localeType the locale type for this word. It should be one of 120 String locale = null; 122 // TODO: Verify if this is the best way to get the current locale [all...] |
/frameworks/base/include/media/ |
H A D | mediascanner.h | 45 void setLocale(const char *locale); 51 const char *locale() const; 54 // current locale (like "ja_JP"), created/destroyed with strdup()/free() 71 void setLocale(const char* locale);
|
/frameworks/base/awt/org/apache/harmony/awt/im/ |
H A D | InputMethodContext.java | 66 private final Map<Locale, InputMethod> localeIM; // Map<Locale, InputMethod> last user-selected IM for locale 305 public boolean selectInputMethod(Locale locale) { argument 307 if ((inputMethod != null) && inputMethod.setLocale(locale)) { 311 // take last user-selected IM for locale 312 InputMethod newIM = localeIM.get(locale); 322 locale); 329 return switchToIM(locale, newIM); 332 private boolean switchToIM(Locale locale, InputMethod newIM) { argument 339 initIM(newIM, locale); 351 void selectIM(InputMethodDescriptor imd, Locale locale) { argument 367 getIMInstance(Iterator<InputMethodDescriptor> descriptors, Locale locale) argument 391 initIM(InputMethod im, Locale locale) argument [all...] |
/frameworks/base/media/libmedia/ |
H A D | MediaScannerClient.cpp | 40 void MediaScannerClient::setLocale(const char* locale) argument 42 if (!locale) return; 44 if (!strncmp(locale, "ja", 2)) 46 else if (!strncmp(locale, "ko", 2)) 48 else if (!strncmp(locale, "zh", 2)) { 49 if (!strcmp(locale, "zh_CN")) { 209 // if the locale encoding matches, then assume we have a native encoding.
|
H A D | MediaScanner.cpp | 32 void MediaScanner::setLocale(const char *locale) { argument 37 if (locale) { 38 mLocale = strdup(locale); 42 const char *MediaScanner::locale() const { function in class:android::MediaScanner 67 client.setLocale(locale());
|
/frameworks/base/awt/java/awt/im/ |
H A D | InputContext.java | 73 public boolean selectInputMethod(Locale locale) { argument
|
/frameworks/base/awt/java/awt/im/spi/ |
H A D | InputMethod.java | 65 public boolean setLocale(Locale locale); argument
|
/frameworks/base/awt/javax/imageio/spi/ |
H A D | IIOServiceProvider.java | 100 * @param locale 104 public abstract String getDescription(Locale locale); argument
|
/frameworks/base/awt/javax/imageio/ |
H A D | ImageWriter.java | 60 * The locale. 62 protected Locale locale; field in class:ImageWriter 217 Locale locale = warningLocales.get(i); 222 rb = ResourceBundle.getBundle(bundle, locale, contextClassloader); 225 rb = ResourceBundle.getBundle(bundle, locale); 613 * Gets the current locale of this ImageWriter. 615 * @return the current locale of this ImageWriter. 618 return locale; 931 * Sets the locale of this ImageWriter. 933 * @param locale 936 setLocale(Locale locale) argument [all...] |
/frameworks/base/awt/org/apache/harmony/awt/gl/ |
H A D | CommonGraphicsEnvironment.java | 44 public String[] getAvailableFontFamilyNames(Locale locale) { argument 49 String name = element.getFamily(locale);
|
/frameworks/base/location/java/android/location/ |
H A D | GeocoderParams.java | 28 * language, country and variant information from the Geocoder's locale 48 public GeocoderParams(Context context, Locale locale) { argument 49 mLocale = locale; 54 * returns the Geocoder's locale
|
H A D | Geocoder.java | 56 * @param locale the desired Locale for the query results 60 public Geocoder(Context context, Locale locale) { argument 61 if (locale == null) { 62 throw new NullPointerException("locale == null"); 64 mParams = new GeocoderParams(context, locale); 82 * The returned addresses will be localized for the locale 132 * returned addresses will be localized for the locale provided to 174 * returned addresses will be localized for the locale provided to
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | GeocoderTest.java | 35 Locale locale = new Locale("en", "us"); 36 Geocoder g = new Geocoder(mContext, locale);
|
/frameworks/base/awt/org/apache/harmony/x/imageio/plugins/jpeg/ |
H A D | JPEGImageWriterSpi.java | 53 public String getDescription(Locale locale) { argument
|
/frameworks/base/awt/org/apache/harmony/x/imageio/spi/ |
H A D | FileIISSpi.java | 50 public String getDescription(Locale locale) { argument
|
H A D | FileIOSSpi.java | 49 public String getDescription(Locale locale) { argument
|
H A D | InputStreamIISSpi.java | 39 public String getDescription(Locale locale) { argument
|