Searched refs:newDefault (Results 1 – 6 of 6) sorted by relevance
136 ComponentName newDefault = name != null ? ComponentName.unflattenFromString(name) : null; in loadDefaultsFromSettings() local147 mPaymentDefaults.settingsDefault = newDefault; in loadDefaultsFromSettings()148 if (newDefault != null && !newDefault.equals(mPaymentDefaults.currentPreferred)) { in loadDefaultsFromSettings()150 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()151 } else if (newDefault == null && mPaymentDefaults.currentPreferred != null) { in loadDefaultsFromSettings()153 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()160 mCallback.onPreferredPaymentServiceChanged(newDefault); in loadDefaultsFromSettings()
33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()37 assertEquals(Locale.JAPANESE, LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()
515 mLocales = LocaleSet.newDefault(); in ContactLocaleUtils()536 sSingleton = new ContactLocaleUtils(LocaleSet.newDefault()); in getInstance()
41 public static LocaleSet newDefault() { in newDefault() method in LocaleSet
2748 final LocaleSet locales = LocaleSet.newDefault(); in upgradeLocaleData()
1600 mCurrentLocales = LocaleSet.newDefault(); in initForDefaultLocale()1856 final LocaleSet currentLocales = LocaleSet.newDefault(); in updateLocaleOffline()