/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/ |
H A D | DateBucket.java | 12 final SimpleDate date; field in class:DateBucket 18 public DateBucket(SimpleDate date, int unifiedStartIndex, int unifiedEndIndex, argument 20 this.date = date; 29 return date.toString(); 34 return date.hashCode(); 49 if (date == null) { 50 if (other.date != null) { 53 } else if (!date.equals(other.date)) { [all...] |
/packages/apps/UnifiedEmail/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/services/Telephony/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/Gallery2/src/com/android/gallery3d/ingest/ui/ |
H A D | DateTileView.java | 32 * Displays a date in a square tile. 87 public void setDate(SimpleDate date) { argument 88 setDate(date.getDay(), date.getMonth(), date.getYear()); 91 public void setDate(int date, int month, int year) { argument 92 if (date != mDate) { 93 mDate = date;
|
/packages/apps/Camera2/src/com/android/camera/app/ |
H A D | MediaSaver.java | 74 * @param date The date when the image is created. 86 void addImage(byte[] data, String title, long date, Location loc, int width, int height, argument 95 * @param date The date when the image is created. 108 void addImage(byte[] data, String title, long date, Location loc, int width, int height, argument 118 * @param date The date when the image is created. 126 void addImage(byte[] data, String title, long date, Location loc, int orientation, argument
|
/packages/apps/Calendar/src/com/android/calendar/ |
H A D | CalendarViewAdapter.java | 49 // 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 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/Camera2/src/com/android/camera/ |
H A D | MediaSaverImpl.java | 69 public void addImage(final byte[] data, String title, long date, Location loc, int width, argument 71 addImage(data, title, date, loc, width, height, orientation, exif, l, 76 public void addImage(final byte[] data, String title, long date, Location loc, int width, argument 83 ImageSaveTask t = new ImageSaveTask(data, title, date, 95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, argument 99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, 140 private final long date; field in class:MediaSaverImpl.ImageSaveTask 149 public ImageSaveTask(byte[] data, String title, long date, Location loc, argument 155 this.date = date; [all...] |
H A D | PanoUtil.java | 24 Date date = new Date(dateTaken); 26 return dateFormat.format(date);
|
H A D | Storage.java | 81 * @param date The date for the media file. 91 public static Uri addImage(ContentResolver resolver, String title, long date, argument 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 108 * @param date The date for the media file. 120 public static Uri addImage(ContentResolver resolver, String title, long date, argument 127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, 138 * @param date The date fo 149 addImageToMediaStore(ContentResolver resolver, String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument 172 getContentValuesForData(String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument 269 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument 395 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument [all...] |
/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/Contacts/src/com/android/contacts/interactions/ |
H A D | SmsInteraction.java | 56 Long date = getDate(); 57 return date == null ? -1 : date; 76 Long date = getDate(); 77 return date == null ? null : ContactInteractionUtil.formatDateStringFromTimestamp( 78 date, context);
|
H A D | CallLogInteraction.java | 74 Long date = getDate(); 75 return date == null ? -1 : date; 90 Long date = getDate(); 91 return date == null ? null : ContactInteractionUtil.formatDateStringFromTimestamp( 92 date, context);
|
/packages/apps/Camera2/src/com/android/camera/data/ |
H A D | NewestFirstComparator.java | 35 * creation dates using the supplied current date as a baseline. 37 * @param now present date to be used in comparisons to rule out dates in 52 // If creation date is in future, fall back to modified, b/19565464. 70 * Normal date comparison will sort these oldest first, 78 * Is the Date in the future from a base date. If the date is in the future 79 * (larger) than the base date provided, return true. 81 * @param date The date to check whether it is in the future 82 * @param base The date t 85 isFuture(Date date) argument [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
H A D | PanoUtil.java | 24 Date date = new Date(dateTaken); 26 return dateFormat.format(date);
|
/packages/apps/TV/tests/unit/src/com/android/tv/util/ |
H A D | UtilsTest_GetDurationString.java | 54 private static long getJanOfThisYearInMillis(int date, int hour, int minutes) { argument 55 return new GregorianCalendar(getThisYear(), Calendar.JANUARY, date, hour, minutes) 59 private static long getJanOfThisYearInMillis(int date, int hour) { argument 60 return getJanOfThisYearInMillis(date, hour, 0); 66 private static long getFebOfThisYearInMillis(int date, int hour, int minutes) { argument 67 return new GregorianCalendar(getThisYear(), Calendar.FEBRUARY, date, hour, minutes) 71 private static long getFebOfThisYearInMillis(int date, int hour) { argument 72 return getFebOfThisYearInMillis(date, hour, 0);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
H A D | DateUtils.java | 39 * When parsing a date without a year, the system assumes 1970, which wasn't a leap-year. 44 // Variations of ISO 8601 date format. Do not change the order - it does affect the 65 * Parses the supplied string to see if it looks like a date. 67 * @param string The string representation of the provided date 68 * @param mustContainYear If true, the string is parsed as a date containing a year. If false, 69 * the string is parsed into a valid date even if the year field is missing. 70 * @return A Calendar object corresponding to the date if the string is successfully parsed. 75 Date date; 83 date = CommonDateUtils.NO_YEAR_DATE_FORMAT.parse(string, parsePosition); 89 return getUtcDate(date, tru 105 getUtcDate(Date date, boolean noYear) argument [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
H A D | PhoneCallDetailsHelper.java | 114 // Set the call count, location, date and if voicemail, set the duration. 169 * Builds a string containing the call location and date. For voicemail logs only the call date 173 * @return The call location and date string. 189 // The date of this call 192 // Create a comma separated list from the call type or location, and call date. 233 * Get the call date/time of the call. For the call log this is relative to the current time. 244 return DateUtils.getRelativeTimeSpanString(details.date, getCurrentTimeMillis(), 249 * Get the granular version of the call date/time of the call. The result is always in the form 250 * 'DATE at TIME'. The date valu 270 getGranularDate(long date) argument 284 shouldShowYear(long date) argument [all...] |
/packages/apps/UnifiedEmail/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/services/Telephony/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/Bluetooth/src/com/android/bluetooth/pbapclient/ |
H A D | CallLogPullRequest.java | 82 Date date = null; 87 date = parser.parse(pair.second); 89 Log.d(TAG, "Failed to parse date " + pair.second); 97 if (date != null) { 98 values.put(CallLog.Calls.DATE, date.getTime());
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ContactPhotoUtils.java | 81 final Date date = new Date(System.currentTimeMillis()); 83 return "ContactPhoto-" + dateFormat.format(date) + ".jpg"; 87 final Date date = new Date(System.currentTimeMillis()); 89 return "ContactPhoto-" + dateFormat.format(date) + "-cropped.jpg";
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/utils/ |
H A D | ObexTime.java | 78 public ObexTime(Date date) { argument 79 mDate = date;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapAppParams.java | 844 Date date = new Date(mFilterPeriodBegin); 845 return format.format(date); // Format to YYYYMMDDTHHMMSS local time 854 Date date = format.parse(filterPeriodBegin); 855 this.mFilterPeriodBegin = date.getTime(); 863 Date date = new Date(mFilterPeriodBegin); 864 return format.format(date); // Format to YYYYMMDDTHHMMSS local time 872 Date date = format.parse(filterPeriodBegin); 873 this.mFilterPeriodBegin = date.getTime(); 884 Date date = new Date(mFilterPeriodEnd); 885 return format.format(date); // Forma [all...] |
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/ |
H A D | MapTestData.java | 124 long date = TEST_ACTIVITY_BEGIN; 125 Log.i(TAG, "Preparing messages... with data = " + date); 132 item.put("date", date+=TEST_ACTIVITY_INTERVAL); 144 item.put("date", date += TEST_ACTIVITY_INTERVAL); 156 item.put("date", date += TEST_ACTIVITY_INTERVAL); 169 item.put("date", date [all...] |