Home
last modified time | relevance | path

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

12

/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DContactInteractionUtilTest.java42 setLocale(Locale.US); in setUp()
47 setLocale(mOriginalLocale); in tearDown()
120 private void setLocale(Locale locale) { in setLocale() method in ContactInteractionUtilTest
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.java44 public void setLocale(final Locale locale, final Context context) { in setLocale() method in KeyboardTextsSet
49 setLocale(locale, res, resourcePackageName); in setLocale()
53 public void setLocale(final Locale locale, final Resources res, in setLocale() method in KeyboardTextsSet
DKeyboardBuilder.java284 params.mTextsSet.setLocale(params.mId.getLocale(), mContext); in parseKeyboardAttributes()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DProvisioningParamsTest.java136 .setLocale(TEST_LOCALE) in testNotEquals()
153 .setLocale(TEST_LOCALE) in testNotEquals()
217 .setLocale(TEST_LOCALE) in getCompleteProvisioningParams()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/
DDeviceOwnerInitializeProvisioningTask.java47 setLocale(mProvisioningParams.locale); in run()
67 private void setLocale(Locale locale) { in setLocale() method in DeviceOwnerInitializeProvisioningTask
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java62 textsSet.setLocale(locale, context); in testSwitchToAlphaKeyLabel()
88 textsSet.setLocale(locale, context); in testTextFromResources()
DMoreKeySpecStringReferenceTests.java42 mTextsSet.setLocale(TEST_LOCALE, testRes, testPackageName); in setUp()
DMoreKeySpecSplitTests.java42 mTextsSet.setLocale(TEST_LOCALE, targetRes, targetPackageName); in setUp()
DKeySpecParserTestsBase.java50 mTextsSet.setLocale(TEST_LOCALE, getContext()); in setUp()
/packages/apps/Settings/src/com/android/settings/search/
DDatabaseIndexingManager.java653 builder.setLocale(localeStr) in indexOneRaw()
776 headerBuilder.setLocale(localeStr) in indexFromResource()
811 builder.setLocale(localeStr) in indexFromResource()
899 builder.setLocale(localeStr) in indexFromProvider()
1131 public Builder setLocale(String locale) { in setLocale() method in DatabaseIndexingManager.DatabaseRow.Builder
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DDatabaseWrapper.java419 public void setLocale(final Locale locale) { in setLocale() method in DatabaseWrapper
420 mDatabase.setLocale(locale); in setLocale()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DProvisioningParams.java297 builder.setLocale(getStringAttrFromPersistableBundle(bundle, in createBuilderFromPersistableBundle()
447 public Builder setLocale(Locale locale) { in setLocale() method in ProvisioningParams.Builder
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DLocaleTestUtils.java83 public void setLocale(Locale locale) { in setLocale() method in LocaleTestUtils
DStringConcatenatorTest.java45 mLocaleTestUtils.setLocale(Locale.US); // sets a stable locale so tests behave consistently in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DDatabaseRowTest.java154 mBuilder.setLocale(LOCALE) in createBuilder()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java119 textsSet.setLocale(labelLocale, getContext()); in doTestActionKeysInLocaleWithKeyboardTextsSet()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParser.java129 .setLocale(StoreUtils.stringToLocale( in parse()
DExtrasProvisioningDataParser.java298 .setLocale(StoreUtils.stringToLocale( in parseAllSupportedProvisioningData()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DPropertiesProvisioningDataParserTest.java199 .setLocale(TEST_LOCALE) in testParse_nfcProvisioningIntent()
DExtrasProvisioningDataParserTest.java205 .setLocale(TEST_LOCALE) in testParse_trustedSourceProvisioningIntent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardSwitcher.java126 mKeyboardTextsSet.setLocale(mRichImm.getCurrentSubtypeLocale(), mThemeContext); in loadKeyboard()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java439 mResourceConfiguration.setLocale(Locale.TAIWAN);
/packages/apps/TV/src/com/android/tv/util/
DUtils.java768 config.setLocale(locale); in getTextForLocale()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java2789 public void setLocale(LocaleSet locales) { in setLocale() method in ContactsDatabaseHelper
2798 db.setLocale(locales.getPrimaryLocale()); in setLocale()
DContactsProvider2.java1891 mContactsHelper.setLocale(currentLocales); in updateLocaleInBackground()
1892 mProfileHelper.setLocale(currentLocales); in updateLocaleInBackground()
1918 contactsHelper.setLocale(currentLocales); in updateLocaleOffline()
1919 profileHelper.setLocale(currentLocales); in updateLocaleOffline()

12