Lines Matching refs:time

108     // duration of the scroll to go to a specified time
136 * explicitly scrolls to an empty time slot, changes views, or deletes the event.
168 //Update the current time line every five minutes if the window is left open that long
544 /** Width of the time line (list of hours) to the left. */
628 // Animates the current time marker when Today is pressed
950 * Returns the start of the selected time in milliseconds since the epoch.
952 * @return selected time in UTC milliseconds since the epoch.
955 Time time = new Time(mBaseDate);
956 time.setJulianDay(mSelectionDay);
957 time.hour = mSelectionHour;
960 // out the correct DST value and not adjust the selected time based
962 return time.normalize(true /* ignore isDst */);
966 Time time = new Time(mBaseDate);
967 time.setJulianDay(mSelectionDay);
968 time.hour = mSelectionHour;
971 // out the correct DST value and not adjust the selected time based
973 time.normalize(true /* ignore isDst */);
974 return time;
978 Time time = new Time(mBaseDate);
979 time.setJulianDay(mSelectionDayForAccessibility);
980 time.hour = mSelectionHourForAccessibility;
983 // out the correct DST value and not adjust the selected time based
985 time.normalize(true /* ignore isDst */);
986 return time;
990 * Returns the start of the selected time in minutes since midnight,
991 * local time. The derived class must ensure that this is consistent
1007 public void setSelected(Time time, boolean ignoreTime, boolean animateToday) {
1008 mBaseDate.set(time);
1107 Time time = new Time(mBaseDate);
1108 time.setJulianDay(mSelectionDay);
1109 time.hour = mSelectionHour;
1112 // out the correct DST value and not adjust the selected time based
1114 time.normalize(true /* ignore isDst */);
1115 return time;
1143 * return a negative number if "time" is comes before the visible time
1144 * range, a positive number if "time" is after the visible time range, and 0
1145 * if it is in the visible time range.
1147 public int compareToVisibleTimeRange(Time time) {
1159 Log.d(TAG, "Diff " + time.toString());
1163 int diff = Time.compare(time, mBaseDate);
1168 diff = Time.compare(time, mBaseDate);
1175 // in visible time
1193 // 7 days at a time.
1207 private void adjustToBeginningOfWeek(Time time) {
1208 int dayOfWeek = time.weekDay;
1214 time.monthDay -= diff;
1215 time.normalize(true /* ignore isDst */);
1862 // We have to allocate these animation objects each time we switch views
1946 // If the selected hour is at least 2 time slots from the top and
2008 // Make sure our time zones are up to date
2475 // And the current time shows up somewhere on the screen
2537 String time = mHourStrs[i];
2538 canvas.drawText(time, HOURS_LEFT_MARGIN, y, p);
2661 // Draw a white background for the time later than current time
2674 // Draw today with a white background for the time later than current time
3669 TextView timeView = (TextView) mPopupView.findViewById(R.id.time);
3698 // If a time was selected (a blue selection box is visible) and the click location
3699 // is in the selected time, do not show a click on an event to prevent a situation
3929 // Select time
4949 long time = getSelectedTimeInMillis();
4956 mLongPressTitle = Utils.formatDateRange(mContext, time, time, flags);