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

123

/packages/apps/Camera/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);
H A DVideoCamera.java345 Date date = new Date(dateTaken);
349 return dateFormat.format(date);
554 // calculate the up-to-date orientationCompensation.
1955 // Keep preview size up to date.
2285 // Get the parameter to make sure we have the up-to-date zoom value.
2309 // Keep mParameters up to date. We do not getParameter again in
/packages/apps/DeskClock/src/com/android/deskclock/
H A DDeskClock.java75 // Alarm action for midnight (so we can update the date display).
236 // quickly stash away the x/y of the current date
254 mDate = (TextView) findViewById(R.id.date);
311 if (DEBUG) Log.d(LOG_TAG, "refreshing date..." + now);
413 // reload the date format in case the user has changed settings
479 mDate = (TextView) findViewById(R.id.date);
/packages/apps/Contacts/src/com/android/contacts/calllog/
H A DCallLogAdapter.java359 // Update the call log even if the cache it is up-to-date: it is possible that the cache
482 final long date = c.getLong(CallLogQuery.DATE);
527 // The contact info is no longer up to date, we should request it. However, we
555 callTypes, date, duration);
559 callTypes, date, duration, name, ntype, label, lookupUri, null);
/packages/apps/Contacts/src/com/android/contacts/model/
H A DEntityModifier.java1247 Date date = DateUtils.DATE_AND_TIME_FORMAT.parse(dateString, position);
1248 if (date == null) {
1250 date = DateUtils.NO_YEAR_DATE_FORMAT.parse(dateString, position);
1252 if (date != null) {
1260 calendar.setTime(date);
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DCalendarProvider2Test.java341 * 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...]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java179 "SELECT sms._id AS _id,thread_id,address,body,date,date_sent,index_text,words._id " +
186 "AS body,pdu.date,pdu.date_sent,index_text,words._id " +
202 " GROUP BY thread_id ORDER BY thread_id ASC, date DESC";
588 long date = System.currentTimeMillis();
589 values.put(ThreadsColumns.DATE, date - date % 1000);
695 selection, selectionArgs, null, null, " date DESC");
757 * FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, ...
761 * HAVING date = MAX(date)
[all...]
/packages/apps/Calendar/src/com/android/calendar/month/
H A DMonthWeekEventsView.java911 String date = Utils.formatDateRange(context, millis, millis,
915 accessEvent.getText().add(date);
/packages/apps/Contacts/src/com/android/contacts/
H A DCallDetailActivity.java554 long date = callCursor.getLong(DATE_COLUMN_INDEX);
594 new int[]{ callType }, date, duration,
/packages/apps/Gallery/src/com/android/camera/
H A DMenuHelper.java432 Date date = new Date(image.getDateTaken());
434 value = dateFormat.format(date);
/packages/apps/Mms/src/com/android/mms/ui/
H A DMessageUtils.java337 long date = cursor.getLong(MessageListAdapter.COLUMN_SMS_DATE);
338 details.append(MessageUtils.formatTimeStampString(context, date, true));
414 // If the message is from a different year, show the date and year.
418 // If it is from a different day than today, show only the date.
425 // If the caller has asked for full details, make sure to show the date
H A DComposeMessageActivity.java3283 void undeliveredMessageDialog(long date) { argument
3286 if (date >= 0) {
3288 MessageUtils.formatTimeStampString(this, 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.java226 updateTextView(views, R.id.date, View.VISIBLE, dayInfo.mDayLabel);
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java967 Date date = new Date(System.currentTimeMillis());
969 return dateFormat.format(date) + ".jpg";
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql10 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java496 protected Uri insertEvent(long rawContactId, int type, String date) { argument
501 values.put(Event.START_DATE, date);
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql12 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql11 CREATE TABLE calls (_id INTEGER PRIMARY KEY AUTOINCREMENT,number TEXT,date INTEGER,duration INTEGER,type INTEGER,new INTEGER,name TEXT,numbertype INTEGER,numberlabel TEXT);

Completed in 1803 milliseconds

123