/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
|
H A D | BrowserSnapshotPage.java | 288 TextView date = (TextView) view.findViewById(R.id.date); 290 date.setText(dateFormat.format(new Date(timestamp)));
|
H A D | DateSortedExpandableListAdapter.java | 31 * ExpandableListAdapter which separates data into categories based on date. 75 // The cursor is sorted by date 86 long date = getLong(mDateIndex); 87 int index = mDateSorter.getIndex(date);
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarUtils.java | 154 * Formats a date or a time range according to the local conventions. 156 * This formats a date/time range using Calendar's time zone and the 167 * @return a string containing the formatted date/time range. 171 String date; 180 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, 183 return date;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetProvider.java | 139 final String date = Utils.formatDateRange(context, millis, millis, 143 views.setTextViewText(R.id.date, date);
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
H A D | SendTransaction.java | 95 // Update the 'date' field of the PDU right before sending it. 96 long date = System.currentTimeMillis() / 1000L; 97 sendReq.setDate(date); 99 // Persist the new date value into database. 101 values.put(Mms.DATE, date);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | ConversationListItem.java | 87 mDateView = (TextView) findViewById(R.id.date); 186 // When there is not an error icon, the attachment icon is left of the date text. 191 attachmentLayout.addRule(RelativeLayout.LEFT_OF, R.id.date); 217 (hasError ? R.id.error : R.id.date));
|
H A D | ManageSimMessages.java | 238 Long date = cursor.getLong(cursor.getColumnIndexOrThrow("date")); 242 Sms.Inbox.addMessage(mContentResolver, address, body, null, date, true /* read */); 244 Sms.Sent.addMessage(mContentResolver, address, body, null, date);
|
/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/Calendar/src/com/android/calendar/agenda/ |
H A D | AgendaAdapter.java | 214 Time date = new Time(tzString); 215 date.set(begin); 221 displayName = tz.getDisplayName(date.isDst != 0, TimeZone.SHORT);
|
H A D | AgendaByDayAdapter.java | 201 holder.dateView = (TextView) agendaDayView.findViewById(R.id.date); 220 Time date = mTmpTime; 221 long millis = date.setJulianDay(row.mDay); 228 // Build text for the date
|
/packages/apps/Exchange/exchange2/tests/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapterTests.java | 88 String date = adapter.formatDateTime(calendar); 89 assertEquals("2008-12-11T18:19:20.000Z", date); 92 date = adapter.formatDateTime(calendar); 93 assertEquals("2012-01-02T23:00:01.000Z", date);
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
H A D | EmailSyncAdapterTests.java | 88 String date = adapter.formatDateTime(calendar); 89 assertEquals("2008-12-11T18:19:20.000Z", date); 92 date = adapter.formatDateTime(calendar); 93 assertEquals("2012-01-02T23:00:01.000Z", date);
|
/packages/apps/Camera/src/com/android/camera/ |
H A D | CameraHolder.java | 103 String date = sDateFormat.format(new Date(s.time)); 104 Log.d(TAG, "State " + i + " at " + date);
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
H A D | DateSortedExpandableListAdapter.java | 36 * ExpandableListAdapter which separates data into categories based on date. Copied from 96 // The cursor is sorted by date 107 long date = getLong(mDateIndex); 108 int index = mDateSorter.getIndex(date);
|
/packages/apps/Phone/src/com/android/phone/ |
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...] |
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...] |
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | Recycler.java | 202 null, "date DESC"); // get in newest to oldest order 223 "locked=0 AND date<" + latestDate, 236 long date = cursor.getLong(COLUMN_SMS_DATE); 237 String dateStr = MessageUtils.formatTimeStampString(context, date, true); 242 "\n date: " + dateStr + 243 "\n date: " + date + 263 null, "date DESC"); // get in newest to oldest order 349 null, "date DESC"); // get in newest to oldest order 395 null, "date DES [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | ManageAccountsSettings.java | 225 Date date = new Date(); 291 date.setTime(lastSuccessTime); 292 final String timeString = formatSyncDate(date);
|
H A D | AccountSyncSettings.java | 365 Date date = new Date(); 407 date.setTime(successEndTime); 408 final String timeString = formatSyncDate(date);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Utils.java | 297 final Date date = new Date(); 298 date.setTime(System.currentTimeMillis()); 300 new SimpleDateFormat("yyyyMMdd-HHmmssZ").format(date);
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
H A D | RequestHandler.java | 186 String date = DateFormat.getDateTimeInstance(
189 stream.write(date.getBytes());
|
/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/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/com/android/email/widget/ |
H A D | EmailWidget.java | 403 // Get a nicely formatted date string (relative to today) 404 String date = DateUtils.getRelativeTimeSpanString(mContext, timestamp).toString(); 405 // Add style to date 406 CharSequence styledDate = addStyle(date, sDateFontSize, sDefaultTextColor); 408 views.setContentDescription(R.id.widget_date, date);
|