/packages/apps/Browser/src/com/android/browser/ |
H A D | BrowserBackupAgent.java | 114 mark.date = in.readLong(); 171 values.put(Bookmarks.DATE_MODIFIED, mark.date); 178 public long date; field in class:BrowserBackupAgent.Bookmark
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DayView.java | 547 /** 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 D | EventGeometry.java | 48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { argument 57 if (startDay > date || endDay < date) { 66 if (startDay < date) { 72 if (endDay > date) {
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
H A D | WeekNumberTest.java | 33 public Time date; field in class:WeekNumberTest.DateAndWeekNumber 38 date = new Time(); 41 date.set(0, 0, 0, day, month, year); 42 date.normalize(true /* ignore isDst */); 209 int weekNumber = test.date.getWeekNumber(); 211 long millis = test.date.toMillis(false /* use isDst */); 215 + " date: " + output 223 long millis = test.date.toMillis(false /* use isDst */); 227 + " date: " + output
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | Storage.java | 80 long date, Location location, int orientation, byte[] jpeg, 85 return addImage(resolver, title, date, location, orientation, 91 long date, Location location, int orientation, int jpegLength, 97 values.put(ImageColumns.DATE_TAKEN, date); 132 long date, int width, int height) { 137 values.put(ImageColumns.DATE_TAKEN, date); 79 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, byte[] jpeg, int width, int height) argument 90 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height) argument 131 newImage(ContentResolver resolver, String title, long date, int width, int height) argument
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | PhoneCallDetails.java | 41 /** The date of the call, in milliseconds since the epoch. */ 42 public final long date; field in class:PhoneCallDetails 63 String countryIso, String geocode, int[] callTypes, long date, long duration) { 64 this(number, formattedNumber, countryIso, geocode, callTypes, date, duration, "", 0, "", 70 String countryIso, String geocode, int[] callTypes, long date, long duration, 78 this.date = date; 62 PhoneCallDetails(CharSequence number, CharSequence formattedNumber, String countryIso, String geocode, int[] callTypes, long date, long duration) argument 69 PhoneCallDetails(CharSequence number, CharSequence formattedNumber, String countryIso, String geocode, int[] callTypes, long date, long duration, CharSequence name, int numberType, CharSequence numberLabel, Uri contactUri, Uri photoUri) argument
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | PhoneCallDetailsHelperTest.java | 43 /** The date of the call log entry. */ 256 /** Asserts that the date text field contains the given string value. */ 300 /** Sets the phone call details with default values and the given date. */ 301 private void setPhoneCallDetailsWithDate(long date) { argument 304 TEST_GEOCODE, new int[]{ Calls.INCOMING_TYPE }, date, TEST_DURATION),
|
/packages/apps/Contacts/tests/src/com/android/contacts/calllog/ |
H A D | CallLogFragmentTest.java | 463 * @param date In millisec since epoch. Use NOW to use the current time. 470 private void insertWithCachedValues(String number, long date, int duration, int type, argument 472 insert(number, date, duration, type); 492 * @param date In millisec since epoch. Use NOW to use the current time. 496 private void insert(String number, long date, int duration, int type) { argument 497 insertValues(getValuesToInsert(number, date, duration, type)); 511 * @param date In millisec since epoch. Use NOW to use the current time. 515 private Object[] getValuesToInsert(String number, long date, int duration, int type) { argument 519 values[CallLogQuery.DATE] = date == NOW ? new Date().getTime() : date; 537 insertVoicemail(String number, long date, int duration) argument 550 insertPrivate(long date, int duration) argument 559 insertUnknown(long date, int duration) argument 568 insertCalltoVoicemail(long date, int duration) argument [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/widget/swipeablelistview/ |
H A D | LogUtils.java | 317 * Try to make a date MIME(RFC 2822/5322)-compliant. 322 * We got a report saying eBay sends a date in this format 324 public static String cleanUpMimeDate(String date) { argument 325 if (TextUtils.isEmpty(date)) { 326 return date; 328 date = DATE_CLEANUP_PATTERN_WRONG_TIMEZONE.matcher(date).replaceFirst("$1"); 329 return date;
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 345 * Generate a time in milliseconds from a date string that represents a date/time in GMT 346 * @param date string in format 20090211T180303Z (rfc2445, iCalendar). 349 public static long parseDateTimeToMillis(String date) { argument 350 GregorianCalendar cal = parseDateTimeToCalendar(date); 355 * Generate a GregorianCalendar from a date string that represents a date/time in GMT 356 * @param date string in format 20090211T180303Z (rfc2445, iCalendar). 359 public static GregorianCalendar parseDateTimeToCalendar(String date) { argument 360 GregorianCalendar cal = new GregorianCalendar(Integer.parseInt(date 372 parseEmailDateTimeToMillis(String date) argument 502 cleanUpMimeDate(String date) argument [all...] |
/packages/apps/Email/src/com/android/mail/utils/ |
H A D | LogUtils.java | 389 * Try to make a date MIME(RFC 2822/5322)-compliant. 394 * We got a report saying eBay sends a date in this format 396 public static String cleanUpMimeDate(String date) { argument 397 if (TextUtils.isEmpty(date)) { 398 return date; 400 date = DATE_CLEANUP_PATTERN_WRONG_TIMEZONE.matcher(date).replaceFirst("$1"); 401 return date;
|
/packages/apps/Email/src/org/apache/commons/io/ |
H A D | FileUtils.java | 58 * <li>file last changed date
209 * closed without modifying it, but updating the file date and time.
212 * modified date of the file cannot be set. Also, as from v1.3 this method
542 * Copies a file to a directory preserving the file date.
562 * Copies a file to a directory optionally preserving the file date.
571 * @param preserveFileDate true if the file date of the copy
591 * Copies a file to a new location preserving the file date.
620 * @param preserveFileDate true if the file date of the copy
661 * @param preserveFileDate whether to preserve the file date
760 * @param preserveFileDate true if the file date o 1568 isFileNewer(File file, Date date) argument 1635 isFileOlder(File file, Date date) argument [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
H A D | DateTimeField.java | 35 private Date date;
field in class:DateTimeField 38 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
argument 40 this.date = date;
45 return date;
56 Date date = null;
62 date = DateTime.parse(body).getDate();
70 return new DateTimeField(name, body, raw, date, parseException);
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
H A D | DateTime.java | 33 private final Date date;
field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
83 return date;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
H A D | DateTimeParser.java | 156 d = date(); 202 final public Date date() throws ParseException { method in class:DateTimeParser
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/ |
H A D | CalendarUtilities.java | 234 // Internal structure for storing a time zone date from a SYSTEMTIME structure 235 // This date represents either the start or the end time for DST 328 * @return a GregorianCalendar with the given time zone and date 354 Date date = null; 359 date = new Date(checkTime); 360 boolean inDaylightTime = tz.inDaylightTime(date); 412 int date; field in class:CalendarUtilities.RRule 415 * Create an RRULE based on month and date 417 * @param _date the date in the month (1-31) 422 date 914 convertEmailDateTimeToCalendarDateTime(String date) argument [all...] |
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/utility/ |
H A D | CalendarUtilitiesTests.java | 206 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 D | CalendarUtilitiesTests.java | 216 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/apps/LegacyCamera/src/com/android/camera/ |
H A D | Storage.java | 52 public static Uri addImage(ContentResolver resolver, String title, long date, argument 74 values.put(ImageColumns.DATE_TAKEN, date);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ComposeMessageActivity.java | 3527 void undeliveredMessageDialog(long date) { argument 3530 if (date >= 0) { 3532 MessageUtils.formatTimeStampString(this, date));
|
/packages/apps/Phone/src/com/android/phone/ |
H A D | CallNotifier.java | 578 if (VDBG) log("- CallerInfo already up to date, using available data"); 1008 + ", date = " + c.getCreateTime()); 1146 final long date = c.getCreateTime(); 1207 callLogType, date, duration); 1216 showMissedCallNotification(c, date); 1793 final long date = c.getCreateTime(); 1818 callLogType, date, duration); 1824 showMissedCallNotification(c, date); 1863 private void showMissedCallNotification(Connection c, final long date) { argument 1865 PhoneUtils.startGetCallerInfo(mApplication, c, this, Long.valueOf(date)); [all...] |
H A D | NotificationMgr.java | 266 * Makes sure phone-related notifications are up to date on a 324 public long date; field in class:NotificationMgr.QueryHandler.NotificationInfo 409 notifyMissedCall(n.name, n.number, n.type, null, null, n.date); 425 notifyMissedCall(n.name, n.number, n.type, photo, photoIcon, n.date); 437 n.date = cursor.getLong(cursor.getColumnIndexOrThrow(Calls.DATE)); 481 * @param date the time when the missed call happened 484 String name, String number, String type, Drawable photo, Bitmap photoIcon, long date) { 500 + ", date: " + date); 537 .setWhen(date) 483 notifyMissedCall( String name, String number, String type, Drawable photo, Bitmap photoIcon, long date) argument [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ZonePicker.java | 211 final long date = Calendar.getInstance().getTimeInMillis(); 227 addItem(myData, id, displayName, date); 245 List<HashMap<String, Object>> myData, String id, String displayName, long date) { 250 final int offset = tz.getOffset(date); 244 addItem( List<HashMap<String, Object>> myData, String id, String displayName, long date) argument
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountPreferenceBase.java | 177 protected String formatSyncDate(Date date) { argument 179 return mDateFormat.format(date) + " " + mTimeFormat.format(date);
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
H A D | CalendarProvider2Test.java | 341 * a start date). 342 * If you just want to verify that an instance exists in a given date 361 // Convert all the instance date strings to UTC milliseconds 412 String date = DateUtils.formatDateRange(mContext, begin, begin, flags); 415 title, date); 429 * the given date range. 439 * contains a specific instance of an event (specified by "date"). 441 * @param startDate the beginning of the date range 442 * @param endDate the end of the date range 443 * @param date th 445 VerifyInstance(String startDate, String endDate, String date) argument [all...] |