Home
last modified time | relevance | path

Searched refs:setLocale (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DOverlayBaseTest.java77 private void setLocale(Locale locale) { in setLocale() method in OverlayBaseTest
350 setLocale(new Locale("sv", "SE")); in testMatrix100000()
357 setLocale(new Locale("sv", "SE")); in testMatrix100001()
364 setLocale(new Locale("sv", "SE")); in testMatrix100010()
371 setLocale(new Locale("sv", "SE")); in testMatrix100011()
378 setLocale(new Locale("sv", "SE")); in testMatrix100100()
385 setLocale(new Locale("sv", "SE")); in testMatrix100101()
392 setLocale(new Locale("sv", "SE")); in testMatrix100110()
399 setLocale(new Locale("sv", "SE")); in testMatrix100111()
406 setLocale(new Locale("sv", "SE")); in testMatrix101000()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/format/
DFormatterTest.java58 setLocale(mOriginalLocale); in tearDown()
64 setLocale(Locale.US); in testFormatBytes()
105 setLocale(new Locale("es", "ES")); in testFormatBytes()
111 setLocale(Locale.US); in testFormatBytesSi()
121 setLocale(Locale.US); in testFormatBytesIec()
137 setLocale(Locale.US); in testFormatShortElapsedTime()
165 setLocale(Locale.FRANCE); in testFormatShortElapsedTime()
171 setLocale(Locale.US); in testFormatShortElapsedTimeRoundingUpToMinutes()
214 setLocale(new Locale("ru", "RU")); in testFormatShortElapsedTimeRoundingUpToMinutes()
233 private void setLocale(Locale locale) { in setLocale() method in FormatterTest
/frameworks/base/core/tests/coretests/src/android/content/res/
DConfigurationTest.java81 final Locale arabic = new Locale.Builder().setLocale(new Locale("ar", "AE")).build(); in testReadWriteProto()
82 final Locale urdu = new Locale.Builder().setLocale(new Locale("ur", "IN")).build(); in testReadWriteProto()
83 final Locale urduExtension = new Locale.Builder().setLocale(new Locale("ur", "IN")) in testReadWriteProto()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h81 void setLocale(const char *locale);
112 void setLocale(const char* locale);
/frameworks/av/media/libmedia/
DMediaScanner.cpp35 setLocale(NULL); in ~MediaScanner()
40 void MediaScanner::setLocale(const char *locale) { in setLocale() function in android::MediaScanner
100 client.setLocale(locale()); in processDirectory()
DMediaScannerClient.cpp34 void MediaScannerClient::setLocale(const char* locale) in setLocale() function in android::MediaScannerClient
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DUsageStatsDatabaseTest.java188 config2.setLocale(new Locale("en", "US")); in populateIntervalStats()
228 .setLocale(new Locale("zh", "CN")) in populateIntervalStats()
231 config10.setLocale(locale10); in populateIntervalStats()
236 .setLocale(new Locale("zh", "CN")) in populateIntervalStats()
239 config11.setLocale(locale11); in populateIntervalStats()
/frameworks/base/core/tests/overlaytests/host/test-apps/UpdateOverlay/src/com/android/server/om/hosttest/update_overlay_test/
DUpdateOverlayTest.java41 defaultLocaleConfiguration.setLocale(Locale.US); in setUp()
/frameworks/base/core/java/com/android/internal/app/
DLocaleStore.java74 .setLocale(locale) in getParent()
157 .setLocale(mLocale) in getLangScriptKey()
DSuggestedLocaleAdapter.java148 configOverride.setLocale(locale); in setDisplayLocale()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseLocaleTest.java91 mDatabase.setLocale(new Locale("en", "US")); in testLocaleenUS()
/frameworks/av/media/libstagefright/
DStagefrightMediaScanner.cpp55 client.setLocale(locale()); in processFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/textservices/
DLocaleUtilsTest.java125 .setLocale(LOCALE_JA_JP) in testGetSuitableLocalesForSpellChecker()
/frameworks/base/core/java/android/widget/
DSpellChecker.java113 setLocale(mTextView.getSpellCheckerLocale()); in SpellChecker()
147 private void setLocale(Locale locale) { in setLocale() method in SpellChecker
225 setLocale(locale); in spellCheck()
/frameworks/base/media/java/android/media/
DAudioPresentation.java312 public @NonNull Builder setLocale(@NonNull ULocale language) { in setLocale() method in AudioPresentation.Builder
DMediaScanner.java478 setLocale(language + "_" + country); in MediaScanner()
480 setLocale(language); in MediaScanner()
1971 private native void setLocale(String locale);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
DAccessibilityUtils.java98 config.setLocale(locale); in getTextForLocale()
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/
DRemoteBridgeImpl.java95 params.setLocale(remoteParams.getLocale()); in setupRenderParams()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp332 mp->setLocale(localeStr); in android_media_MediaScanner_setLocale()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java344 if (useRootLocale) r.getConfiguration().setLocale(Locale.ROOT); in getCarrierDisplayNameFromWifiCallingOverride()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifierEvent.java627 public T setLocale(@Nullable ULocale locale) { in setLocale() method in TextClassifierEvent.Builder
/frameworks/base/libs/androidfw/tests/
DConfigLocale_test.cpp190 TEST(ConfigLocaleTest, setLocale) { in TEST() argument
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java1903 public void setLocale(Locale locale) { in setLocale() method in SQLiteDatabase
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2429 overrideConfig.setLocale(Locale.ROOT); in getResourcesForSubId()
/frameworks/base/core/java/android/content/res/
DConfiguration.java2040 public void setLocale(@Nullable Locale loc) { in setLocale() method in Configuration

12