/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
D | JJTAddressListParserState.java | 9 private int sp; // number of nodes on stack field in JJTAddressListParserState 16 sp = 0; in JJTAddressListParserState() 32 sp = 0; in reset() 45 ++sp; in pushNode() 51 if (--sp < mk) { in popNode() 65 return sp - mk; in nodeArity() 70 while (sp > mk) { in clearNodeScope() 79 mk = sp; in openNodeScope()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | RecipientsEditor.java | 275 private static String getNumberAt(Spanned sp, int start, int end, Context context) { in getNumberAt() argument 276 return getFieldAt("number", sp, start, end, context); in getNumberAt() 279 private static int getSpanLength(Spanned sp, int start, int end, Context context) { in getSpanLength() argument 286 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getSpanLength() 288 return sp.getSpanEnd(a[0]); in getSpanLength() 293 private static String getFieldAt(String field, Spanned sp, int start, int end, in getFieldAt() argument 295 Annotation[] a = sp.getSpans(start, end, Annotation.class); in getFieldAt() 298 fieldValue = TextUtils.substring(sp, start, end); in getFieldAt() 384 SpannableString sp = new SpannableString(text + separator); in terminateToken() local 386 Object.class, sp, 0); in terminateToken() local [all …]
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | MessagingNotification.java | 331 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in updateNotification() local 333 if (!sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_ENABLED, true)) { in updateNotification() 370 boolean vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in updateNotification() 376 String ringtoneStr = sp in updateNotification() 441 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context); in notifyFailed() local 443 boolean enabled = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_ENABLED, true); in notifyFailed() 499 boolean vibrate = sp.getBoolean(MessagingPreferenceActivity.NOTIFICATION_VIBRATE, in notifyFailed() 505 String ringtoneStr = sp.getString(MessagingPreferenceActivity.NOTIFICATION_RINGTONE, in notifyFailed()
|
/packages/apps/Settings/src/com/android/settings/ |
D | PrivacySettings.java | 222 SharedPreferences sp = getSharedPreferences(PREFS_NAME, 0); in hasAgreedToUseLocation() local 223 if (sp == null) { in hasAgreedToUseLocation() 226 return sp.getBoolean(PREFS_USE_LOCATION, false); in hasAgreedToUseLocation()
|
D | RadioInfo.java | 536 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in onPrepareOptionsMenu() local 537 boolean value = sp.getBoolean(GSMPhone.DATA_DISABLED_ON_BOOT_KEY, false); in onPrepareOptionsMenu() 558 SharedPreferences sp = in updateQxdmState() local 560 mQxdmLogEnabled = sp.getBoolean("qxdmstatus", false); in updateQxdmState() 564 SharedPreferences.Editor editor = sp.edit(); in updateQxdmState() 577 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in setCiphPref() local 578 SharedPreferences.Editor editor = sp.edit(); in setCiphPref() 584 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in getCiphPref() local 585 boolean ret = sp.getBoolean(GSMPhone.CIPHERING_KEY, true); in getCiphPref() 1050 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(phone.getContext()); in toggleDataDisabledOnBoot() local [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | TelephonyProvider.java | 309 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in setPreferredApnId() local 310 SharedPreferences.Editor editor = sp.edit(); in setPreferredApnId() 316 SharedPreferences sp = getContext().getSharedPreferences(PREF_FILE, Context.MODE_PRIVATE); in getPreferredApnId() local 317 return sp.getLong(COLUMN_APN_ID, -1); in getPreferredApnId()
|
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/ |
D | LatinIME.java | 1080 SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this); in loadSettings() local 1081 mVibrateOn = sp.getBoolean(PREF_VIBRATE_ON, false); in loadSettings() 1082 mSoundOn = sp.getBoolean(PREF_SOUND_ON, false); in loadSettings() 1083 mAutoCap = sp.getBoolean(PREF_AUTO_CAP, true); in loadSettings() 1084 mQuickFixes = sp.getBoolean(PREF_QUICK_FIXES, true); in loadSettings() 1088 mShowSuggestions = sp.getBoolean(PREF_SHOW_SUGGESTIONS, true) & mQuickFixes; in loadSettings() 1089 boolean autoComplete = sp.getBoolean(PREF_AUTO_COMPLETE, in loadSettings()
|
/packages/apps/Phone/src/com/android/phone/ |
D | NotificationMgr.java | 931 SharedPreferences sp = in updateNetworkSelection() local 934 sp.getString(PhoneBase.NETWORK_SELECTION_NAME_KEY, ""); in updateNetworkSelection() 937 sp.getString(PhoneBase.NETWORK_SELECTION_KEY, ""); in updateNetworkSelection()
|