Searched refs:date (Results 1 - 25 of 122) sorted by path

12345

/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapAppParams.java843 Date date = new Date(mFilterPeriodBegin);
844 return format.format(date); // Format to YYYYMMDDTHHMMSS local time
853 Date date = format.parse(filterPeriodBegin);
854 this.mFilterPeriodBegin = date.getTime();
862 Date date = new Date(mFilterPeriodBegin);
863 return format.format(date); // Format to YYYYMMDDTHHMMSS local time
871 Date date = format.parse(filterPeriodBegin);
872 this.mFilterPeriodBegin = date.getTime();
883 Date date = new Date(mFilterPeriodEnd);
884 return format.format(date); // Forma
[all...]
H A DBluetoothMapContent.java1162 long date = 0;
1164 date = c.getLong(fi.mSmsColDate);
1168 date = c.getLong(fi.mMmsColDate) * 1000L;
1172 /* date = c.getLong(c.getColumnIndex(Mms.DATE)) * 1000L; */
1174 /* date = c.getLong(c.getColumnIndex(Mms.DATE_SENT)) * 1000L; */
1178 date = c.getLong(fi.mMessageColDate);
1180 e.setDateTime(date);
1187 long date = 0;
1190 date = c.getLong(MMS_SMS_THREAD_COL_DATE);
1193 date
[all...]
H A DBluetoothMapContentObserver.java1050 // As we have observers, we already keep the counter up-to-date.
1080 // As we have observers, we already keep the counter up-to-date.
1365 String date = BluetoothMapUtils.getDateTimeString(
1398 mSmsType, date, subject, name, priority);
1401 mSmsType, date, subject, name, priority,
1524 String date = BluetoothMapUtils.getDateTimeString(
1546 TYPE.MMS, date, subject, address, priority);
1549 TYPE.MMS, date, subject, address, priority,
1676 String date = BluetoothMapUtils.getDateTimeString(
1691 mAccount.getType(), date, subjec
[all...]
H A DBluetoothMapConvoContactElement.java160 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 DBluetoothMapConvoListingElement.java141 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();
H A DBluetoothMapMessageListingElement.java85 Date date = new Date(mDateTime);
86 return format.format(date); // Format to YYYYMMDDTHHMMSS local time
H A DBluetoothMapSmsPdu.java221 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 DBluetoothMapUtils.java120 Date date = new Date(timestamp);
121 return format.format(date); // Format to YYYYMMDDTHHMMSS local time
H A DBluetoothMapbMessageMime.java140 private long date = INVALID_VALUE; field in class:BluetoothMapbMessageMime
194 Date dateObj = new Date(date);
198 return date;
200 public void setDate(long date) { argument
201 this.date = date;
363 if (date != INVALID_VALUE)
548 /* The date is not needed, as the time stamp will be set in the DB
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DObexTime.java80 public ObexTime(Date date) { argument
81 mDate = date;
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/pbapclient/
H A DPbapParserTest.java115 // 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/Calendar/src/com/android/calendar/
H A DCalendarUtils.java155 * Formats a date or a time range according to the local conventions.
157 * This formats a date/time range using Calendar's time zone and the
168 * @return a string containing the formatted date/time range.
172 String date;
181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags,
184 return date;
H A DCalendarViewAdapter.java49 // Day view: show day of the week + full date underneath
52 // Agenda view: show day of the week + full date underneath
66 // The current selected event's time, used to calculate the date and day of the week
76 private final boolean mShowDate; // Spinner mode indicator (view name or view name with date)
119 // Sets a thread to run 1 second after midnight and update the current date
120 // This is used to display correctly the date of yesterday/today/tomorrow
180 TextView date = (TextView) v.findViewById(R.id.top_button_date);
186 date.setText(buildFullDate());
195 date.setText(buildMonthYearDate());
199 date
[all...]
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);
3092 drawEvents(int date, int dayIndex, int top, Canvas canvas, Paint p) argument
[all...]
H A DDeleteEventHelper.java414 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();
H A DEventGeometry.java48 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) {
H A DEventInfoFragment.java1523 // Set the date and repeats (if any)
1554 Time date = new Time(localTimezone);
1555 date.set(mStartMillis);
1557 date.timezone = Time.TIMEZONE_UTC;
1559 eventRecurrence.setStartDate(date);
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java214 Time date = new Time(tzString);
215 date.set(begin);
221 displayName = tz.getDisplayName(date.isDst != 0, TimeZone.SHORT);
H A DAgendaByDayAdapter.java204 holder.dateView = (TextView) agendaDayView.findViewById(R.id.date);
223 Time date = mTmpTime;
224 long millis = date.setJulianDay(row.mDay);
231 // Build text for the date
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventView.java85 import com.android.datetimepicker.date.DatePickerDialog;
86 import com.android.datetimepicker.date.DatePickerDialog.OnDateSetListener;
350 // The start date was changed.
360 // Also update the end date to keep the duration constant.
366 // If the start date has changed then update the repeats.
372 // The end date was changed.
396 // Fills in the date and time fields
1800 // First update the start date and times
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java1069 String date = Utils.formatDateRange(context, millis, millis,
1073 accessEvent.getText().add(date);
H A DSimpleWeekView.java538 String date = Utils.formatDateRange(context, millis, millis,
542 accessEvent.getText().add(date);
/packages/apps/Calendar/src/com/android/calendar/recurrencepicker/
H A DRecurrencePickerDialog.java60 import com.android.datetimepicker.date.DatePickerDialog;
151 * BYDAY AND BYMONTHDAY: How to repeat monthly events? Same date of the
449 // End by date:
1213 // If either date or count strings don't translate well, such that we aren't assured
1218 // The date string does not have any text before the "%s" so we'll have to use the
1262 // so we'll just set the whole "Until a date" string.
/packages/apps/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java139 final String date = Utils.formatDateRange(context, millis, millis,
143 views.setTextViewText(R.id.date, date);
H A DCalendarAppWidgetService.java237 updateTextView(views, R.id.date, View.VISIBLE, dayInfo.mDayLabel);

Completed in 232 milliseconds

12345