Home
last modified time | relevance | path

Searched refs:getDefault (Results 1 – 25 of 218) sorted by relevance

123456789

/packages/apps/Messaging/src/com/android/messaging/receiver/
DMmsWapPushReceiver.java39 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
41 final int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in onReceive()
50 if (!PhoneUtils.getDefault().isSmsEnabled()) { in mmsReceived()
DSmsReceiver.java95 final boolean carrierSmsEnabled = PhoneUtils.getDefault().isSmsEnabled(); in updateSmsReceiveHandler()
191 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in deliverSmsIntent()
232 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java102 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) { in getUserDictionaryLocalesSet()
103 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
143 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java343 String timezone = TimeZone.getDefault().getID(); in setMidnightUpdater()
366 String timezone = TimeZone.getDefault().getID(); in setQuarterHourUpdater()
497 final Locale l = Locale.getDefault(); in updateDate()
544 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), "hma"); in get12ModeFormat()
578 return DateFormat.getBestDateTimePattern(Locale.getDefault(), "Hm"); in get24ModeFormat()
655 return sLocaleUsedForWeekdays != Locale.getDefault(); in localeHasChanged()
686 sLocaleUsedForWeekdays = Locale.getDefault(); in generateShortAndLongWeekdaysIfNeeded()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java176 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRecipientEntry()
179 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRecipientEntry()
233 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRawPhoneBySystemLocale()
236 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySystemLocale()
259 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySimLocale()
368 PhoneUtils.getDefault().formatForDisplay(phoneNumber); in updatePhoneNumberForSelfIfChanged()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryList.java128 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) { in getUserDictionaryLocalesSet()
129 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
173 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
DInputMethodAndSubtypeUtil.java416 return Locale.getDefault(); in getDisplayLocale()
419 return Locale.getDefault(); in getDisplayLocale()
423 return Locale.getDefault(); in getDisplayLocale()
427 return Locale.getDefault(); in getDisplayLocale()
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java122 private Bitmap getBitmap(final Dimensions d, boolean getDefault) { in getBitmap() argument
138 final Bitmap[] cache = (getDefault) ? mDefaultBitmapCache : mBitmapBackgroundCache; in getBitmap()
145 if (getDefault) { in getBitmap()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DTwoDigitFormatter.java26 final Locale locale = Locale.getDefault(); in TwoDigitFormatter()
36 final Locale currentLocale = Locale.getDefault(); in format()
/packages/apps/TV/src/com/android/tv/data/
DChannelLogoFetcher.java143 .setDisplayName(c.getString(1).toUpperCase(Locale.getDefault())) in doInBackground()
298 data[INDEX_NAME].toUpperCase(Locale.getDefault()), in readTmsFile()
301 data[INDEX_SHORT_NAME].toUpperCase(Locale.getDefault()), in readTmsFile()
304 data[INDEX_CALL_SIGN].toUpperCase(Locale.getDefault()), in readTmsFile()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsModel.java43 SettingsDAO.setDefaultHomeTimeZone(mContext, TimeZone.getDefault()); in SettingsModel()
75 return homeTimeZone.getOffset(now) != TimeZone.getDefault().getOffset(now); in getShowHomeClock()
DCityDAO.java106 final String locale = Locale.getDefault().toString(); in getCities()
113 final String locale = Locale.getDefault().toString(); in getCities()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java39 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageLow()
53 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageOk()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java194 PhoneUtils.getDefault().getDefaultSmsAppLabel()); in updateSmsEnabledPreferences()
197 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in updateSmsEnabledPreferences()
225 || PhoneUtils.getDefault().isDefaultSmsApp(); in updateNotificationsPreferences()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java41 return new LocaleSet(LocaleList.getDefault(), in newDefault()
106 return Locale.getDefault(); in getPrimaryLocale()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DUserSwitchListenerService.java102 ActivityManagerNative.getDefault().switchUser(userId); in switchUserNow()
112 ActivityManagerNative.getDefault().registerUserSwitchObserver( in onCreate()
/packages/apps/Settings/src/com/android/settings/
DDeviceAdminAdd.java370 ActivityManagerNative.getDefault().stopAppSwitches(); in onCreate()
429 ActivityManagerNative.getDefault().resumeAppSwitches(); in continueRemoveAction()
437 ActivityManagerNative.getDefault().stopAppSwitches(); in continueRemoveAction()
469 ActivityManagerNative.getDefault().resumeAppSwitches(); in onPause()
497 ActivityManagerNative.getDefault().resumeAppSwitches(); in onCreateDialog()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java59 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()); in getDisplayedDatetime()
186 Formatter f = new Formatter(sb, Locale.getDefault()); in formatDateRange()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java337 return SmsManager.getDefault(); in getSmsManager()
640 public static PhoneUtils getDefault() { in getDefault() method in PhoneUtils
688 final String country = Locale.getDefault().getCountry(); in getLocaleCountry()
992 getDefault().toLMr1().getActiveSubscriptionInfoList(); in forEachActiveSubscription()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java89 && s.getCountries().contains(Locale.getDefault().getCountry())) { in getItemList()
140 && s.getCountries().contains(Locale.getDefault().getCountry())) { in setDefaultRatingSystemsIfNeeded()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java78 final boolean isDefaultSmsApp = PhoneUtils.getDefault().isDefaultSmsApp(); in scheduleProcessPendingMessagesAction()
284 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in executeAction()
346 .getOrCreateSelf(db, PhoneUtils.getDefault() in findNextMessageToSend()
/packages/apps/Contacts/src/com/android/contacts/util/
DPhonebookCollatorFactory.java28 return Collator.getInstance(Locale.getDefault()); in getCollator()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLocaleSetTest.java26 final Locale previousDefault = Locale.getDefault(); in testPrimaryLocale()
33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalWidgetViewsFactory.java192 final Calendar localCal = Calendar.getInstance(TimeZone.getDefault());
198 final Locale locale = Locale.getDefault();
/packages/apps/SpareParts/src/com/android/spare_parts/
DSpareParts.java190 ActivityManagerNative.getDefault().updateConfiguration(mCurConfig); in writeFontSizePreference()
229 ActivityManagerNative.getDefault().getConfiguration()); in readFontSizePreference()

123456789