Lines Matching refs:value

58     zero-pad the value to that number of characters.
204 String value = Settings.System.getString(context.getContentResolver(),
207 if (value == null) {
225 value = "24";
227 value = "12";
230 value = "12";
235 sIs24Hour = !value.equals("12");
239 boolean b24 = !(value == null || value.equals("12"));
270 String value = Settings.System.getString(context.getContentResolver(),
273 return getDateFormatForSetting(context, value);
278 * as if the date format setting were set to <code>value</code>,
281 * @param value the date format setting string to interpret for
286 String value) {
287 String format = getDateFormatStringForSetting(context, value);
292 private static String getDateFormatStringForSetting(Context context, String value) {
293 if (value != null) {
294 int month = value.indexOf('M');
295 int day = value.indexOf('d');
296 int year = value.indexOf('y');
302 value = String.format(template, "yyyy", "MM", "dd");
304 value = String.format(template, "yyyy", "dd", "MM");
308 value = String.format(template, "MM", "dd", "yyyy");
310 value = String.format(template, "MM", "yyyy", "dd");
314 value = String.format(template, "dd", "MM", "yyyy");
316 value = String.format(template, "dd", "yyyy", "MM");
320 return value;
329 value = context.getString(R.string.numeric_date_format);
330 return value;
364 String value = getDateFormatString(context);
370 for (char c : value.toCharArray()) {
393 String value = Settings.System.getString(context.getContentResolver(),
396 return getDateFormatStringForSetting(context, value);