/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 164 public Time endTime; field in CalendarController.EventInfo 383 info.endTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone)); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 384 info.endTime.set(endMillis); in sendEventRelatedEventWithExtraWithTitleWithCalendarId() 423 info.endTime = end; in sendEvent() 468 Log.d(TAG, "End " + (event.endTime == null ? "null" : event.endTime.toString())); in sendEvent() 487 || (event.endTime != null && mtimeMillis > event.endTime.toMillis(false))) { in sendEvent() 504 Log.d(TAG, "End " + (event.endTime == null ? "null" : event.endTime.toString())); in sendEvent() 598 long endTime = (event.endTime == null) ? -1 : event.endTime.toMillis(false); in sendEvent() local 600 launchCreateEvent(event.startTime.toMillis(false), endTime, in sendEvent() local 605 launchViewEvent(event.id, event.startTime.toMillis(false), endTime, in sendEvent() [all …]
|
D | Event.java | 131 public int endTime; field in Event 168 e.endTime = endTime; in clone() 189 dest.endTime = endTime; in copyTo() 210 e.endTime = 0; in newInstance() 402 e.endTime = cEvents.getInt(PROJECTION_END_MINUTE_INDEX); in generateEventFromCursor() 549 Log.e("Cal", "+ endTime = " + endTime); in dump() 565 if (endTime < startMinute) { in intersects() 571 if (endTime == startMinute in intersects() 572 && (startTime != endTime || startDay != endDay)) { in intersects()
|
D | EventGeometry.java | 62 int endTime = event.endTime; in computeEventRect() local 73 endTime = DayView.MINUTES_PER_DAY; in computeEventRect() 79 int endHour = endTime / 60; in computeEventRect() 84 if (endHour * 60 == endTime) in computeEventRect() 92 event.bottom += (int) (endTime * cellMinuteHeight); in computeEventRect()
|
D | SearchActivity.java | 193 event.startTime.toMillis(false), event.endTime.toMillis(false), in showEventInfo() 206 … EXTRA_EVENT_END_TIME, event.endTime != null ? event.endTime.toMillis(true) : -1); in showEventInfo() 357 long endTime = (event.endTime == null) ? -1 : event.endTime.toMillis(false); in handleEvent() local 361 deleteEvent(event.id, event.startTime.toMillis(false), endTime); in handleEvent()
|
D | Utils.java | 992 event.endTime = DAY_IN_MINUTES - 1; in createDNAStrands() 996 if (event.endTime < minOtherMinutes) { in createDNAStrands() 997 event.endTime = minOtherMinutes; in createDNAStrands() 1004 event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 1010 event.endTime = Math.min(event.startTime + minOtherMinutes, in createDNAStrands() 1013 } else if (event.endTime > WORK_DAY_END_MINUTES) { in createDNAStrands() 1015 event.endTime = Math.min(event.endTime + minOtherMinutes, DAY_IN_MINUTES - 1); in createDNAStrands() 1017 if (event.endTime - event.startTime < minOtherMinutes) { in createDNAStrands() 1018 event.startTime = event.endTime - minOtherMinutes; in createDNAStrands() 1033 + event.endTime, startMinute + minMinutes); in createDNAStrands() [all …]
|
D | AllInOneActivity.java | 666 info.endTime = new Time(); in initFragments() 667 info.endTime.set(end); in initFragments() 1005 if (event.endTime != null) { in setTitleInActionBar() 1006 end = event.endTime.toMillis(false /* use isDst */); in setTitleInActionBar() 1156 if (event.startTime != null && event.endTime != null) { in handleEvent() 1162 event.endTime, event.endTime.toMillis(false), mTimeZone); in handleEvent() 1164 mController.sendEvent(this, EventType.GO_TO, event.startTime, event.endTime, in handleEvent() 1190 intent.putExtra(EXTRA_EVENT_END_TIME, event.endTime.toMillis(false)); in handleEvent() 1197 event.endTime.toMillis(false), response, true, in handleEvent()
|
D | DayView.java | 2158 hour = event.endTime / 60; in computeEventRelations() 2734 event.endTime = event.startTime + MINUTES_PER_HOUR; in getNewEvent() 3234 int endTime = ev.endTime; in computeNeighbors() local 3314 if (neighbor.endTime <= startTime) { in computeNeighbors() 3318 int distance = startTime - neighbor.endTime; in computeNeighbors() 3345 } else if (neighbor.startTime >= endTime) { in computeNeighbors() 3349 int distance = neighbor.startTime - endTime; in computeNeighbors() 3935 Time endTime = new Time(startTime); in doSingleTapUp() local 3936 endTime.hour++; in doSingleTapUp() 3939 mController.sendEvent(this, EventType.GO_TO, startTime, endTime, -1, ViewType.CURRENT, in doSingleTapUp() [all …]
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | EpgDataCleanupServiceTests.java | 85 final long endTime; field in EpgDataCleanupServiceTests.Program 87 Program(long startTime, long endTime) { in Program() argument 88 this(-1, startTime, endTime); in Program() 91 Program(long id, long startTime, long endTime) { in Program() argument 94 this.endTime = endTime; in Program() 105 && Objects.equals(endTime, that.endTime); in equals() 110 return Objects.hash(id, startTime, endTime); in hashCode() 115 return "Program(id=" + id + ",start=" + startTime + ",end=" + endTime + ")"; in toString() 138 values.put(Programs.COLUMN_END_TIME_UTC_MILLIS, program.endTime); in insertPrograms() 177 values.put(WatchedPrograms.COLUMN_WATCH_END_TIME_UTC_MILLIS, program.endTime); in insertWatchedPrograms()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventView.java | 244 Time endTime = mEndTime; in onTimeSet() local 253 int hourDuration = endTime.hour - startTime.hour; in onTimeSet() 254 int minuteDuration = endTime.minute - startTime.minute; in onTimeSet() 261 endTime.hour = hourOfDay + hourDuration; in onTimeSet() 262 endTime.minute = minute + minuteDuration; in onTimeSet() 269 endTime.hour = hourOfDay; in onTimeSet() 270 endTime.minute = minute; in onTimeSet() 274 if (endTime.before(startTime)) { in onTimeSet() 275 endTime.monthDay = startTime.monthDay + 1; in onTimeSet() 280 endMillis = endTime.normalize(true); in onTimeSet() [all …]
|
D | EditEventHelper.java | 1223 Time endTime = new Time(timezone); in getContentValuesFromModel() local 1226 endTime.set(model.mEnd); in getContentValuesFromModel() 1227 offsetStartTimeIfNecessary(startTime, endTime, rrule, model); in getContentValuesFromModel() 1244 endTime.hour = 0; in getContentValuesFromModel() 1245 endTime.minute = 0; in getContentValuesFromModel() 1246 endTime.second = 0; in getContentValuesFromModel() 1247 endTime.timezone = timezone; in getContentValuesFromModel() 1248 endMillis = endTime.normalize(true); in getContentValuesFromModel() 1256 endMillis = endTime.toMillis(true); in getContentValuesFromModel() 1306 private void offsetStartTimeIfNecessary(Time startTime, Time endTime, String rrule, in offsetStartTimeIfNecessary() argument [all …]
|
D | EditEventActivity.java | 141 info.endTime = new Time(); in getEventInfoFromIntent() 143 info.endTime.timezone = Time.TIMEZONE_UTC; in getEventInfoFromIntent() 145 info.endTime.set(end); in getEventInfoFromIntent()
|
D | EditEventFragment.java | 476 if (mEvent.endTime != null) { in startQuery() 477 mEnd = mEvent.endTime.toMillis(true); in startQuery() 944 if (mEvent.endTime != null) { in onSaveInstanceState()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaByDayAdapter.java | 313 long endTime = cursor.getLong(AgendaWindowAdapter.INDEX_END); in calculateDays() local 318 endTime = Utils.convertAlldayUtcToLocal(tempTime, endTime, mTimeZone); in calculateDays() 385 endTime, instanceId, allDay)); in calculateDays() 392 rowInfo.add(new RowInfo(TYPE_MEETING, startDay, position, id, startTime, endTime, in calculateDays() 450 RowInfo(int type, int julianDay, int position, long id, long startTime, long endTime, in RowInfo() argument 457 mEventEndTimeMilli = endTime; in RowInfo() 485 MultipleDayInfo(int position, int endDay, long id, long startTime, long endTime, in MultipleDayInfo() argument 491 mEventEndTimeMilli = endTime; in MultipleDayInfo()
|
D | AgendaListView.java | 185 long endTime = item.end; in onItemClick() local 197 endTime = Utils.convertAlldayLocalToUTC(mTime, endTime, mTimeZone); in onItemClick() 202 startTime, endTime, 0, 0, CalendarController.EventInfo.buildViewExtraLong( in onItemClick()
|
D | AgendaFragment.java | 410 event.endTime.timezone = Time.TIMEZONE_UTC; in showEventInfo() 416 Log.d(TAG, "showEventInfo: end: " + new Date(event.endTime.toMillis(true))); in showEventInfo() 422 long endMillis = event.endTime.toMillis(true); in showEventInfo()
|
D | AgendaWindowAdapter.java | 666 long endTime; in sendViewEvent() local 669 endTime = Utils.convertAlldayLocalToUTC(null, item.end, mTimeZone); in sendViewEvent() 672 endTime = item.end; in sendViewEvent() 679 item.id, startTime, endTime, 0, in sendViewEvent()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | TvProvider.java | 764 String endTime = String.valueOf(Long.parseLong(paramEndTime)); in createSqlParams() local 766 + Programs.COLUMN_END_TIME_UTC_MILLIS + ">=?", endTime, startTime); in createSqlParams() 1237 Long endTime = values.getAsLong(WatchedPrograms.COLUMN_END_TIME_UTC_MILLIS); in consolidateRow() local 1238 boolean needsToSplit = endTime != null && endTime < watchEndTime; in consolidateRow() 1244 String.valueOf(needsToSplit ? endTime : watchEndTime)); in consolidateRow() 1263 count += consolidateRow(duplicatedId, endTime, watchEndTime, channelId, dryRun); in consolidateRow() 1303 Long endTime = values.getAsLong(WatchedPrograms.COLUMN_END_TIME_UTC_MILLIS); in scheduleConsolidationIfNeeded() local 1305 if (endTime != null && endTime < minEndTime in scheduleConsolidationIfNeeded() 1306 && endTime > System.currentTimeMillis()) { in scheduleConsolidationIfNeeded() 1307 minEndTime = endTime; in scheduleConsolidationIfNeeded()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | ChartNetworkSeriesView.java | 208 final long endTime = startTime + entry.bucketDuration; in generatePath() local 211 final float endX = mHoriz.convertToPoint(endTime); in generatePath() 234 lastTime = endTime; in generatePath() 294 public void setEndTime(long endTime) { in setEndTime() argument 295 mEndTime = endTime; in setEndTime()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | VideoUtils.java | 240 double endTime = endMs / 1000; in trimUsingMp4Parser() local 260 endTime = correctTimeToSyncSample(track, endTime, true); in trimUsingMp4Parser() 281 if (currentTime <= endTime) { in trimUsingMp4Parser()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertService.java | 609 final long endTime = alertCursor.getLong(ALERT_INDEX_END); in processQuery() local 681 .append(" endTime:").append(endTime) in processQuery() 755 description, beginTime, endTime, eventId, allDay, newAlert); in processQuery() 814 getGracePeriodMs(beginTime, endTime, allDay); in processQuery() 839 private static long getGracePeriodMs(long beginTime, long endTime, boolean allDay) { 845 return Math.max(MIN_DEPRIORITIZE_GRACE_PERIOD_MS, ((endTime - beginTime) / 4));
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | RequestPermissionActivity.java | 232 long endTime = System.currentTimeMillis() + (long) mTimeout * 1000; in proceedAndFinish() local 234 this, endTime); in proceedAndFinish() 236 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(this, endTime); in proceedAndFinish()
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | UtilsTests.java | 235 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { in buildTestEvent() argument 238 e.endTime = endTime; in buildTestEvent() 243 e.endMillis = e.endDay * 1000L * 3600L * 24L + e.endTime * 60L * 1000L; in buildTestEvent()
|
/packages/providers/CalendarProvider/ |
D | maketests.py | 106 endTime = w.getAttribute("endTime") variable 107 instances.append((startTime,endTime))
|
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
D | StrictModeActivity.java | 144 long endTime = SystemClock.uptimeMillis(); in onCreate() 145 Log.d(TAG, "Time for " + iters + ": " + (endTime - startTime) + ", avg=" + in onCreate() 146 (endTime - startTime) / (double) iters); in onCreate()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ImageCaptureManager.java | 549 long endTime = SystemClock.currentThreadTimeMillis(); 550 long totTime = endTime - startTime;
|