/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/voice/ |
H A D | SettingsUtil.java | 82 * @param defaultValue The default value to use if none can be found 83 * @return The value of the setting, or defaultValue if it couldn't be found 85 public static String getSettingsString(ContentResolver cr, String key, String defaultValue) { argument 87 return (result == null) ? defaultValue : result; 95 * @param defaultValue The default value to use if the setting couldn't be found or parsed 96 * @return The value of the setting, or defaultValue if it couldn't be found or parsed 98 public static int getSettingsInt(ContentResolver cr, String key, int defaultValue) { argument 99 return Settings.Secure.getInt(cr, key, defaultValue); 107 * @param defaultValue The default value to use if the setting couldn't be found or parsed 108 * @return The value of the setting, or defaultValue i 110 getSettingsFloat(ContentResolver cr, String key, float defaultValue) argument [all...] |
H A D | VoiceInput.java | 345 String gservicesKey, String intentExtraKey, String defaultValue) { 347 String s = SettingsUtil.getSettingsString(cr, gservicesKey, defaultValue); 344 putEndpointerExtra(ContentResolver cr, Intent i, String gservicesKey, String intentExtraKey, String defaultValue) argument
|
/packages/apps/IM/src/com/android/im/imps/ |
H A D | ImpsUtils.java | 156 public static int parseInt(String s, int defaultValue) { argument 161 return defaultValue; 165 public static long parseLong(String s, long defaultValue) { argument 170 return defaultValue;
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | JNIBindingsTestApp.java | 150 String defaultValue, JsPromptResult result) { 152 "Giving default value '%s'", message, url, defaultValue); 154 result.confirm(defaultValue);
|
H A D | TestWebChromeClient.java | 119 String defaultValue, JsPromptResult result) { 120 return mWrappedClient.onJsPrompt(view, url, message, defaultValue, result); 118 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument
|
H A D | PopularUrlsTest.java | 168 String defaultValue, JsPromptResult result) { 170 "Giving default value '%s'", message, url, defaultValue); 172 result.confirm(defaultValue);
|
/packages/apps/Email/src/com/android/email/mail/ |
H A D | Folder.java | 205 * @return the data saved by the Folder, or defaultValue if never set. 207 public String getPersistentString(String key, String defaultValue); argument
|
H A D | Store.java | 283 * @param defaultValue The data to return if no data was ever saved for this store 286 public String getPersistentString(String key, String defaultValue); argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | Utils.java | 62 static String getSharedPreference(Context context, String key, String defaultValue) { argument 64 return prefs.getString(key, defaultValue);
|
/packages/apps/IM/src/com/android/im/app/ |
H A D | PreferenceActivity.java | 111 private String getPreference(String prefName, String defaultValue) { argument 114 return value == null ? defaultValue : value;
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | EditPhoneNumberPreference.java | 389 protected void onSetInitialValue(boolean restoreValue, Object defaultValue) { argument 391 : (String) defaultValue);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | SocialProvider.java | 225 * {@code defaultValue}. 227 private long getThreadPublished(SQLiteDatabase db, String rawId, long defaultValue) { argument 229 long threadPublished = defaultValue;
|
H A D | ContactsDatabaseHelper.java | 2909 public String getProperty(String key, String defaultValue) { argument 2923 return value != null ? value : defaultValue;
|
H A D | ContactsProvider2.java | 5917 boolean defaultValue) { 5922 return defaultValue; 5927 return defaultValue; 5916 readBooleanQueryParameter(Uri uri, String parameter, boolean defaultValue) argument
|
/packages/apps/Email/src/com/android/email/mail/store/ |
H A D | LocalStore.java | 538 public String getPersistentString(String key, String defaultValue) { argument 539 return getPersistentString(-1, key, defaultValue); 550 * @param defaultValue The value to return if the row is not found 553 private String getPersistentString(long folderId, String key, String defaultValue) { argument 554 String result = defaultValue; 1552 public String getPersistentString(String key, String defaultValue) { argument 1553 return LocalStore.this.getPersistentString(mFolderId, key, defaultValue);
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
H A D | EntityDelta.java | 571 public Integer getAsInteger(String key, Integer defaultValue) { argument 577 return defaultValue;
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | Contact.java | 263 public synchronized Drawable getAvatar(Context context, Drawable defaultValue) { argument 270 return mAvatar != null ? mAvatar : defaultValue;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ViewImage.java | 678 SharedPreferences prefs, String key, int defaultValue) { 681 return value == null ? defaultValue : Integer.parseInt(value); 684 return defaultValue; 677 getPreferencesInteger( SharedPreferences prefs, String key, int defaultValue) argument
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
H A D | DockService.java | 753 private int getSettingInt(String key, int defaultValue) { argument 756 return sharedPref.getInt(key, defaultValue);
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarProvider2.java | 3443 boolean defaultValue) { 3446 ? defaultValue 3442 readBooleanQueryParameter(Uri uri, String name, boolean defaultValue) argument
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 2216 boolean defaultValue, boolean expectedValue) { 2218 Uri.parse(uriString), parameter, defaultValue)); 2215 assertBooleanUriParameter(String uriString, String parameter, boolean defaultValue, boolean expectedValue) argument
|