Searched defs:startTime (Results 1 - 17 of 17) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAnimationTime.java41 public static long startTime() { method in class:AnimationTime
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/
H A DStopwatchService.java324 private void writeToSharedPrefs(Long startTime, Long lapTimeElapsed, Long elapsedTime, argument
329 if (startTime != null) {
330 editor.putLong(Stopwatches.PREF_START_TIME, startTime);
331 mStartTime = startTime;
361 private void writeSharedPrefsStarted(long startTime, boolean updateCircle) { argument
362 writeToSharedPrefs(startTime, null, null, Stopwatches.STOPWATCH_RUNNING, updateCircle);
/packages/providers/CalendarProvider/
H A Dmaketests.py105 startTime = w.getAttribute("startTime") variable
107 instances.append((startTime,endTime))
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DHanziToPinyinTest.java39 private static long startTime = 0; field in class:HanziToPinyinTest
46 if (startTime == 0) {
47 startTime = SystemClock.elapsedRealtime();
70 long elapsedTimeMS = SystemClock.elapsedRealtime() - startTime;
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaListView.java184 long startTime = item.begin;
193 holderStartTime = startTime;
196 startTime = Utils.convertAlldayLocalToUTC(mTime, startTime, mTimeZone);
199 mTime.set(startTime);
202 startTime, endTime, 0, 0, CalendarController.EventInfo.buildViewExtraLong(
326 public boolean isAgendaItemVisible(Time startTime, long id) { argument
328 if (id == -1 || startTime == null) {
338 long milliTime = startTime.toMillis(true);
H A DAgendaByDayAdapter.java312 long startTime = cursor.getLong(AgendaWindowAdapter.INDEX_BEGIN);
317 startTime = Utils.convertAlldayUtcToLocal(tempTime, startTime, mTimeZone);
325 startTime = Math.max(startTime, adapterStartTime);
383 long nextMidnight = Utils.getNextMidnight(tempTime, startTime, mTimeZone);
388 rowInfo.add(new RowInfo(TYPE_MEETING, startDay, position, id, startTime,
392 rowInfo.add(new RowInfo(TYPE_MEETING, startDay, position, id, startTime, endTime,
450 RowInfo(int type, int julianDay, int position, long id, long startTime, long endTime, argument
456 mEventStartTimeMilli = startTime;
485 MultipleDayInfo(int position, int endDay, long id, long startTime, long endTime, long instanceId, boolean allDay) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertActivity.java125 private void dismissAlarm(long id, long eventId, long startTime) { argument
133 alarmIds.add(new AlarmId(eventId, startTime));
/packages/apps/Launcher2/src/com/android/launcher2/
H A DDeleteDropTarget.java324 long startTime, float friction) {
328 mPrevTime = startTime;
361 DragObject d, PointF vel, final long startTime, final int duration,
366 return new FlingAlongVectorAnimatorUpdateListener(dragLayer, vel, from, startTime,
390 final long startTime = AnimationUtils.currentAnimationTimeMillis();
407 startTime) / duration);
417 updateCb = createFlingAlongVectorAnimatorListener(dragLayer, d, vel, startTime,
323 FlingAlongVectorAnimatorUpdateListener(DragLayer dragLayer, PointF vel, Rect from, long startTime, float friction) argument
360 createFlingAlongVectorAnimatorListener(final DragLayer dragLayer, DragObject d, PointF vel, final long startTime, final int duration, ViewConfiguration config) argument
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DIndicatorControlWheelContainer.java173 public void startTimeLapseAnimation(int timeLapseInterval, long startTime) { argument
175 timeLapseInterval, startTime);
H A DIndicatorControlWheel.java414 public void startTimeLapseAnimation(int timeLapseInterval, long startTime) { argument
416 mRecordingStartTime = startTime;
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DUtilsTests.java235 Event buildTestEvent(int startTime, int endTime, boolean allDay, int startDay, int endDay) { argument
237 e.startTime = startTime;
242 e.startMillis = e.startDay * 1000L * 3600L * 24L + e.startTime * 60L * 1000L;
/packages/apps/Calendar/src/com/android/calendar/
H A DEvent.java130 public int startTime; // Start and end time are in minutes since midnight field in class:Event
167 e.startTime = startTime;
188 dest.startTime = startTime;
209 e.startTime = 0;
398 e.startTime = cEvents.getInt(PROJECTION_START_MINUTE_INDEX);
548 Log.e("Cal", "+ startTime = " + startTime);
572 && (startTime !
[all...]
H A DCalendarController.java162 public Time startTime; field in class:CalendarController.EventInfo
369 info.startTime = new Time(Utils.getTimeZone(mContext, mUpdateTimezone));
370 info.startTime.set(startMillis);
375 info.selectedTime = info.startTime;
415 info.startTime = start;
461 Log.d(TAG, "Start " + (event.startTime == null ? "null" : event.startTime.toString()));
468 if (event.startTime != null) {
469 startMillis = event.startTime.toMillis(false);
477 // selectedTime is not set so set mTime to startTime if
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventHelper.java617 * @param startTime the start time
620 protected long constructDefaultEndTime(long startTime) { argument
621 return startTime + DateUtils.HOUR_IN_MILLIS;
987 Time startTime = new Time(model.mTimezone);
988 startTime.set(model.mStart);
990 days[0] = EventRecurrence.timeDay2Day(startTime.weekDay);
1002 Time startTime = new Time(model.mTimezone);
1003 startTime.set(model.mStart);
1004 bymonthday[0] = startTime.monthDay;
1013 Time startTime
1306 offsetStartTimeIfNecessary(Time startTime, Time endTime, String rrule, CalendarEventModel model) argument
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java176 long startTime; field in class:AttachmentDownloadService.DownloadRequest
495 req.startTime = System.currentTimeMillis();
1002 pw.println(" Started: " + req.startTime + ", Callback: " +
1004 pw.println(" Elapsed: " + ((time - req.startTime) / 1000L) + "s");
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DCalendarSyncAdapter.java363 * @param startTime the start time for the Event
367 /*package*/ void setTimeRelatedValues(ContentValues cv, long startTime, long endTime, argument
369 // If there's no startTime, the event will be found to be invalid, so return
370 if (startTime < 0) return;
373 if (endTime < 0) endTime = startTime + (30*MINUTES);
377 startTime = CalendarUtilities.getUtcAllDayCalendarTime(startTime, mLocalTimeZone);
401 cv.put(Events.DTSTART, startTime);
405 cv.put(Events.DURATION, "P" + ((endTime - startTime) / DAYS) + "D");
408 cv.put(Events.DURATION, "P" + ((endTime - startTime) / MINUTE
836 exceptionParser(CalendarOperations ops, ContentValues parentCv, ArrayList<ContentValues> attendeeValues, int reminderMins, int busyStatus, long startTime, long endTime) argument
987 exceptionsParser(CalendarOperations ops, ContentValues cv, ArrayList<ContentValues> attendeeValues, int reminderMins, int busyStatus, long startTime, long endTime) argument
[all...]
/packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
H A DCalendarUtilities.java346 * @param startTime the start time for the test
348 * @param startInDaylightTime whether daylight time is in effect at the startTime
351 static GregorianCalendar findTransitionDate(TimeZone tz, long startTime, argument
357 while ((endTime - startTime) > MINUTES) {
358 long checkTime = ((startTime + endTime) / 2) + 1;
364 startTime = checkTime;
375 calendar.setTimeInMillis(startTime);
561 long startTime = cal.getTimeInMillis();
563 long endOfYearTime = startTime + (365*DAYS) + (DAYS>>2);
564 Date date = new Date(startTime);
1216 recurrenceFromRrule(String rrule, long startTime, Serializer s) argument
[all...]

Completed in 1139 milliseconds