/packages/apps/Contacts/src/com/android/contacts/interactions/ |
H A D | CallLogInteraction.java | 83 Long date = getDate(); 84 return date == null ? -1 : date; 99 final Long date = getDate(); 100 if (date != null) { 102 callDetail.append(ContactInteractionUtil.formatDateStringFromTimestamp(date, context));
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
H A D | LogUtils.java | 390 * Try to make a date MIME(RFC 2822/5322)-compliant. 395 * We got a report saying eBay sends a date in this format 397 public static String cleanUpMimeDate(String date) { argument 398 if (TextUtils.isEmpty(date)) { 399 return date; 401 date = DATE_CLEANUP_PATTERN_WRONG_TIMEZONE.matcher(date).replaceFirst("$1"); 402 return date;
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
H A D | PhoneCallDetailsHelper.java | 105 // Set the call count, location, date and if voicemail, set the duration. 164 * Builds a string containing the call location and date. For voicemail logs only the call date is 168 * @return The call location and date string. 184 // The date of this call 187 // Create a comma separated list from the call type or location, and call date. 251 * Get the call date/time of the call. For the call log this is relative to the current time. e.g. 263 details.date, 270 * Get the granular version of the call date/time of the call. The result is always in the form 271 * 'DATE at TIME'. The date valu 291 getGranularDate(long date) argument 308 shouldShowYear(long date) argument [all...] |
H A D | CallLogGroupBuilder.java | 144 final long date = cursor.getLong(CallLogQuery.DATE); 145 groupDayGroup = getDayGroup(date, currentTime); 217 * Given a call date and the current date, determine which date group the call belongs in. 219 * @param date The call date. 220 * @param now The current date. 221 * @return The date group the call belongs in. 223 private int getDayGroup(long date, lon argument [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
H A D | ConversationItemViewCoordinates.java | 390 final TextView date = (TextView) view.findViewById(R.id.date); 391 dateX = getX(date); 392 dateXRight = dateX + date.getWidth(); 393 dateY = getY(date); 394 datePaddingStart = ViewUtils.getPaddingStart(date); 395 dateFontSize = date.getTextSize(); 396 dateYBaseline = dateY + getLatinTopAdjustment(date) + date.getBaseline();
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 229 public Date parse(String date) throws ParseException { argument 230 return super.get().parse(date); 235 * Generate a time in milliseconds from a date string that represents a date/time in GMT 236 * @param date string in format 20090211T180303Z (rfc2445, iCalendar). 239 public static long parseDateTimeToMillis(String date) throws ParseException { argument 240 return parseDateTimeToCalendar(date).getTimeInMillis(); 250 * Generate a GregorianCalendar from a date string that represents a date/time in GMT 251 * @param date strin 256 parseDateTimeToCalendar(String date) argument 281 parseEmailDateTimeToMillis(String date) argument 405 cleanUpMimeDate(String date) argument [all...] |
/packages/apps/Messaging/tools/messagegen/ |
H A D | fillsms | 196 add_sql "insert into threads (_id,date,message_count,recipient_ids,snippet,snippet_cs,read,type,error,has_attachment) values ($thread_id, $timestamp, $sms_per_thread, $addr_id, 'snippet', 0, 1, 0, 0, 0);" 204 date=$(( ( 1000 * $timestamp ) - $half_timestamp_inc * ( 2 * ($sms_per_thread - $j) + ( $i % 2 ) ) )) 207 add_sql "insert into sms (_id,thread_id,address,person,date,status,type,body,read,seen) values ($message_id, $thread_id, '$phone', '$phone', $date, -1, $message_type, '$message', 1, 1);" 221 date=$(( $timestamp - $half_timestamp_inc * ( 2 * ($mms_per_thread - $j) + ( ($i+1) % 2 ) ) )) 230 add_sql "insert into pdu (_id,thread_id,date,date_sent,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_type,v,m_size,pri,rr,tr_id,d_rpt,locked,seen,text_only) values ($message_id, $thread_id, $date, 0, $message_type, 1, 'hmma3p5s1a3m526@w.tmomail.net', 'no subject', 106, 'application/vnd.wap.multipart.related', 'personal', $m_type, 18, $size, 129, 129 , '$message_id', 129, 0, 1, 0);" 232 add_sql "insert into pdu (_id,thread_id,date,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_type,v,m_size,pri,rr,tr_id,d_rpt,locked,seen) values ($message_id, $thread_id, $date, $message_type, 1, 'hmma3p5s1a3m526@w.tmomail.net', 'no subject', 106, 'application/vnd.wap.multipart.related', 'personal', $m_type, 18, $size, 129, 129 , '$message_id', 129, 0, 1);"
|
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/pbapclient/ |
H A D | PbapParserTest.java | 115 // Find Entries in call log with type matching number and date. 116 // If number or date is null it will match any number or date respectively. 117 boolean verifyCallLog(String number, String date, String type) { argument 126 && (date == null || date.equals(foundDate))) {
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
H A D | ImapStringTest.java | 95 final ImapString date = new ImapSimpleString("01-Jan-2009 11:34:56 -0100"); 97 assertTrue(date.isDate()); 98 Date d = date.getDateOrNull();
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
H A D | AccountPreferenceBase.java | 158 protected String formatSyncDate(Date date) { argument 160 return mDateFormat.format(date) + " " + mTimeFormat.format(date);
|
/packages/apps/UnifiedEmail/src/com/android/mail/print/ |
H A D | HtmlPrintTemplates.java | 80 public void appendMessage(String senderName, String senderAddress, String date, argument 82 append(mMessage, senderName, senderAddress, date, recipients, bodyHtml, attachments);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapConvoContactElement.java | 160 Date date = new Date(mLastActivity); 161 return format.format(date); // Format to YYYYMMDDTHHMMSS local time 170 Date date = format.parse(lastActivity); 171 this.mLastActivity = date.getTime();
|
H A D | BluetoothMapSmsPdu.java | 221 public void cdmaChangeToDeliverPdu(long date){ argument 354 Date date = new Date(time); 355 String timeStr = format.format(date); // Format to YYMMDDTHHMMSS UTC time 391 * @param date the time stamp to include (The value is the number of milliseconds since Jan. 1, 1970 GMT.) 395 public void gsmChangeToDeliverPdu(long date, String originator) argument 417 gsmWriteDate(newPdu, date); 565 * for CDMA the date can be omitted (and will be ignored if supplied) 568 * @param date The delivery time stamp. 571 public static ArrayList<SmsPdu> getDeliverPdus(String messageText, String address, long date){ argument 583 currentPdu.cdmaChangeToDeliverPdu(date); [all...] |
H A D | BluetoothMapConvoListingElement.java | 141 Date date = new Date(mLastActivity); 142 return format.format(date); // Format to YYYYMMDDTHHMMSS local time 153 Date date = format.parse(lastActivity); 154 this.mLastActivity = date.getTime();
|
/packages/apps/Camera2/ |
H A D | version.mk | 90 date_string := $$(date +%m%d%y_%H%M%S)
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
H A D | UtilityTest.java | 36 private void testParseDateTimesHelper(String date, int year, int month, argument 38 GregorianCalendar cal = Utility.parseDateTimeToCalendar(date); 59 private void testParseEmailDateTimeHelper(String date, int year, int month, argument 64 long timeInMillis = Utility.parseEmailDateTimeToMillis(date);
|
/packages/apps/TV/ |
H A D | version.mk | 91 # - For eng build (t=0): M.mm.bbb eng.$(USER)-hh-date-ad 99 date_string := $(shell date +%Y-%m-%d)
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | DeleteEventHelper.java | 414 Time date = new Time(); 416 date.timezone = Time.TIMEZONE_UTC; 418 date.set(mStartMillis); 419 date.second--; 420 date.normalize(false); 424 date.switchTimezone(Time.TIMEZONE_UTC); 425 eventRecurrence.until = date.format2445();
|
/packages/apps/DeskClock/src/com/android/alarmclock/ |
H A D | DigitalAppWidgetProvider.java | 219 rv.setCharSequence(R.id.date, "setFormat12Hour", dateFormat); 220 rv.setCharSequence(R.id.date, "setFormat24Hour", dateFormat); 259 rv.setTextViewTextSize(R.id.date, COMPLEX_UNIT_PX, sizes.mFontSizePx); 297 // Configure the date to display the current date string. 299 final TextClock date = (TextClock) sizer.findViewById(R.id.date); 300 date.setFormat12Hour(dateFormat); 301 date.setFormat24Hour(dateFormat); 403 final TextClock date [all...] |
/packages/apps/Camera2/src/com/android/camera/session/ |
H A D | PlaceholderManager.java | 196 long date = cursor.getLong(dateIndex); 203 return new Placeholder(name, uri, date);
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
H A D | CallEntryFormatter.java | 39 * Formats the provided date into a value suitable for display in the current locale. 58 // We want the beginning of the date string to be capitalized, even if the word at the beginning 107 Date date = new Date(TimeUnit.SECONDS.toMillis(elapsedSeconds)); 109 String duration = format.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/Messaging/src/com/android/messaging/util/ |
H A D | FileUtil.java | 40 final Date date = new Date(System.currentTimeMillis()); 42 final String numberedFileNameFormat = dateFormat.format(date) + "_%02d" + "." + extension;
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | CallLogger.java | 59 final long date = c.getCreateTime(); 83 logCall(ci, logNumber, presentation, callLogType, date, duration);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastListItem.java | 57 mDateView = (TextView) findViewById(R.id.date); 94 // Speak the date first, then channel name, then message body
|