Home
last modified time | relevance | path

Searched refs:defaultValue (Results 1 – 8 of 8) sorted by relevance

/packages/apps/IM/src/com/android/im/imps/
DImpsUtils.java156 public static int parseInt(String s, int defaultValue) { in parseInt() argument
161 return defaultValue; in parseInt()
165 public static long parseLong(String s, long defaultValue) { in parseLong() argument
170 return defaultValue; in parseLong()
/packages/apps/Email/src/com/android/email/mail/
DFolder.java189 public String getPersistentString(String key, String defaultValue); in getPersistentString() argument
DStore.java301 public String getPersistentString(String key, String defaultValue); in getPersistentString() argument
/packages/apps/IM/src/com/android/im/app/
DPreferenceActivity.java111 private String getPreference(String prefName, String defaultValue) { in getPreference() argument
114 return value == null ? defaultValue : value; in getPreference()
/packages/apps/Phone/src/com/android/phone/
DEditPhoneNumberPreference.java383 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { in onSetInitialValue() argument
385 : (String) defaultValue); in onSetInitialValue()
/packages/apps/Email/src/com/android/email/mail/store/
DLocalStore.java514 public String getPersistentString(String key, String defaultValue) { in getPersistentString() argument
515 return getPersistentString(-1, key, defaultValue); in getPersistentString()
529 private String getPersistentString(long folderId, String key, String defaultValue) { in getPersistentString() argument
530 String result = defaultValue; in getPersistentString()
1523 public String getPersistentString(String key, String defaultValue) { in getPersistentString() argument
1524 return LocalStore.this.getPersistentString(mFolderId, key, defaultValue); in getPersistentString()
/packages/apps/Camera/src/com/android/camera/
DVideoCamera.java895 private int getIntPreference(String key, int defaultValue) { in getIntPreference() argument
897 int result = defaultValue; in getIntPreference()
906 private boolean getBooleanPreference(String key, boolean defaultValue) { in getBooleanPreference() argument
907 return getIntPreference(key, defaultValue ? 1 : 0) != 0; in getBooleanPreference()
DViewImage.java650 SharedPreferences prefs, String key, int defaultValue) { in getPreferencesInteger() argument
653 return value == null ? defaultValue : Integer.parseInt(value); in getPreferencesInteger()
656 return defaultValue; in getPreferencesInteger()