Searched refs:date (Results 51 - 75 of 85) sorted by relevance

1234

/packages/apps/Calendar/src/com/android/calendar/month/
H A DSimpleWeekView.java538 String date = Utils.formatDateRange(context, millis, millis,
542 accessEvent.getText().add(date);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java58 // In MIME, en_US-like date format should be used. In other words "MMM" should be encoded to
197 String date = DATE_FORMAT.format(new Date(message.mTimeStamp));
198 writeHeader(writer, "Date", date);
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java156 d = date();
202 final public Date date() throws ParseException { method in class:DateTimeParser
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
H A DMimeMessageTest.java74 * MimeMessage depends on the date formatter, which may emit wrong date format
92 Date date = new Date(expectedTime);
94 message.setSentDate(date);
530 * Make sure the parser accepts the "eBay style" date format.
532 * Messages from ebay have been seen that they use the wrong date format.
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageItem.java156 long date = cursor.getLong(columnsMap.mColumnSmsDate);
157 mTimestamp = MessageUtils.formatTimeStampString(context, date);
273 // to show "Sending..." or the sent date.
H A DMessageUtils.java366 long date = cursor.getLong(MessageListAdapter.COLUMN_SMS_DATE);
367 details.append(MessageUtils.formatTimeStampString(context, date, true));
455 // If the message is from a different year, show the date and year.
459 // If it is from a different day than today, show only the date.
466 // If the caller has asked for full details, make sure to show the date
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java547 /** Top of the scrollable region i.e. below date labels and all day events */
1192 // Set the base date to the beginning of the week if we are displaying
1342 // When we change the base date, the number of all-day events may
1364 * views. They differ in their base date.
1620 Time date = view.mBaseDate;
1621 date.set(mBaseDate);
1623 date.monthDay -= mNumDays;
1625 date.monthDay += mNumDays;
1627 date.normalize(true /* ignore isDst */);
1632 Time end = new Time(date);
3089 drawEvents(int date, int dayIndex, int top, Canvas canvas, Paint p) argument
[all...]
H A DEventInfoFragment.java1176 // Set the date and repeats (if any)
1207 Time date = new Time(localTimezone);
1208 date.set(mStartMillis);
1210 date.timezone = Time.TIMEZONE_UTC;
1212 eventRecurrence.setStartDate(date);
/packages/apps/Browser/src/com/android/browser/
H A DSnapshotBar.java88 mDate = (TextView) findViewById(R.id.date);
/packages/apps/Contacts/src/com/android/contacts/
H A DPhoneCallDetailsHelper.java82 // The color to highlight the count and date in, if any. This is based on the first call.
86 // The date of this call, relative to the current time.
88 DateUtils.getRelativeTimeSpanString(details.date,
93 // Set the call count and date.
163 /** Sets the call count and date. */
166 // Combine the count (if present) and the date.
H A DCallDetailActivity.java598 long date = callCursor.getLong(DATE_COLUMN_INDEX);
638 new int[]{ callType }, date, duration,
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java206 public void testParseEmailDateTimeToMillis(String date) { argument
207 // Format for email date strings is 2010-02-23T16:00:00.000Z
221 public void testParseDateTimeToMillis(String date) { argument
222 // Format for calendar date strings is 20100223T160000000Z
381 // These next two fields should have a date only
825 Date date = new Date(entityValues.getAsLong(Events.DTSTART));
826 String dateTimeString = DateFormat.getDateTimeInstance().format(date);
/packages/apps/Exchange/tests/src/com/android/exchange/utility/
H A DCalendarUtilitiesTests.java216 public void testParseEmailDateTimeToMillis(String date) { argument
217 // Format for email date strings is 2010-02-23T16:00:00.000Z
231 public void testParseDateTimeToMillis(String date) { argument
232 // Format for calendar date strings is 20100223T160000000Z
391 // These next two fields should have a date only
835 Date date = new Date(entityValues.getAsLong(Events.DTSTART));
836 String dateTimeString = DateFormat.getDateTimeInstance().format(date);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarInstancesHelper.java343 for (long date : dates) {
347 initialValues.put(Instances.BEGIN, date);
348 long dtendMillis = date + durationMillis;
351 CalendarInstancesHelper.computeTimezoneDependentFields(date, dtendMillis,
/packages/apps/LegacyCamera/src/com/android/camera/
H A DUtil.java691 // The date (in milliseconds) used to generate the last name.
702 Date date = new Date(dateTaken);
703 String result = mFormat.format(date);
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogAdapter.java375 // Update the call log even if the cache it is up-to-date: it is possible that the cache
524 final long date = c.getLong(CallLogQuery.DATE);
569 // The contact info is no longer up to date, we should request it. However, we
597 callTypes, date, duration);
601 callTypes, date, duration, name, ntype, label, lookupUri, null);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DRawContactModifier.java1266 Date date = DateUtils.DATE_AND_TIME_FORMAT.parse(dateString, position);
1267 if (date == null) {
1269 date = DateUtils.NO_YEAR_DATE_FORMAT.parse(dateString, position);
1271 if (date != null) {
1279 calendar.setTime(date);
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java188 "SELECT sms._id AS _id,thread_id,address,body,date,date_sent,index_text,words._id " +
195 "AS body,pdu.date,pdu.date_sent,index_text,words._id " +
211 " GROUP BY thread_id ORDER BY thread_id ASC, date DESC";
598 long date = System.currentTimeMillis();
599 values.put(ThreadsColumns.DATE, date - date % 1000);
720 selection, selectionArgs, null, null, " date DESC");
782 * FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, ...
786 * HAVING date = MAX(date)
[all...]
/packages/apps/Mms/src/com/android/mms/widget/
H A DMmsWidgetService.java243 remoteViews.setTextViewText(R.id.date,
/packages/apps/Camera/src/com/android/camera/
H A DUtil.java749 // The date (in milliseconds) used to generate the last name.
760 Date date = new Date(dateTaken);
761 String result = mFormat.format(date);
/packages/apps/Gallery/src/com/android/camera/
H A DMenuHelper.java432 Date date = new Date(image.getDateTaken());
434 value = dateFormat.format(date);
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
H A DSoundRecorder.java601 Date date = new Date(current);
604 String title = formatter.format(date);
/packages/apps/Email/src/com/android/email/activity/
H A DMessageViewFragmentBase.java927 String date = formatDate(mMessage.mTimeStamp, true);
932 setDetailsRow(mDetailsExpanded, date, R.id.date, R.id.date_row);
1625 * @return the given date/time in a human readable form. The returned string always have
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetService.java236 updateTextView(views, R.id.date, View.VISIBLE, dayInfo.mDayLabel);
/packages/apps/DeskClock/src/com/android/deskclock/
H A DUtils.java75 * Intent to be used for checking if a clock's date has changed. Must be every fifteen
411 /** Clock views can call this to refresh their date. **/
419 dateDisplay = (TextView) clock.findViewById(R.id.date);

Completed in 482 milliseconds

1234