Searched refs:newDefault (Results 1 – 6 of 6) sorted by relevance
135 ComponentName newDefault = name != null ? ComponentName.unflattenFromString(name) : null; in loadDefaultsFromSettings() local146 mPaymentDefaults.settingsDefault = newDefault; in loadDefaultsFromSettings()147 if (newDefault != null && !newDefault.equals(mPaymentDefaults.currentPreferred)) { in loadDefaultsFromSettings()149 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()150 } else if (newDefault == null && mPaymentDefaults.currentPreferred != null) { in loadDefaultsFromSettings()152 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()159 mCallback.onPreferredPaymentServiceChanged(newDefault); in loadDefaultsFromSettings()
33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()37 assertEquals(Locale.JAPANESE, LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()
448 mLocales = LocaleSet.newDefault(); in ContactLocaleUtils()469 sSingleton = new ContactLocaleUtils(LocaleSet.newDefault()); in getInstance()
40 public static LocaleSet newDefault() { in newDefault() method in LocaleSet
1653 mCurrentLocales = LocaleSet.newDefault(); in initForDefaultLocale()1905 final LocaleSet currentLocales = LocaleSet.newDefault(); in updateLocaleOffline()
3550 final LocaleSet locales = LocaleSet.newDefault(); in upgradeLocaleData()