Lines Matching refs:day

44  * display the week number, start the week on a given day, or show a reduced
72 * Which day the week should start on. {@link Time#SUNDAY} through
124 // The Julian day of the first day displayed by this item
126 // The month of the first day in this week
128 // The month of the last day in this week
139 // If this view contains the selected day
143 // Which day is selected [0-6] or -1 if no day is selected
145 // Which day is today [0-6] or -1 if no day is today
147 // Which day of the week to start on [0-6]
153 // The left edge of the selected day
155 // The right edge of the selected day
241 // Allocate space for caching the day numbers and focus values
261 // Now adjust our starting day based on the start day of the week
276 // Figure out what day today is
334 * Returns the month of the first day in this week
336 * @return The month the first day of this view is in
343 * Returns the month of the last day in this week
345 * @return The month the last day of this view is in
352 * Returns the julian day of the first day in this view.
354 * @return The julian day of the first day in the view.
361 * Calculates the day that the given x position is in, accounting for week
362 * number. Returns a Time referencing that day or null if
365 * @return A time object for the tapped day or null if the position wasn't
366 * in a day
373 // Selection is (x - start) / (pixels/day) == (x -s) * day / pixels
375 int day = mFirstJulianDay + dayPosition;
380 if (day < Time.EPOCH_JULIAN_DAY) {
381 day++;
382 } else if (day == Time.EPOCH_JULIAN_DAY) {
389 time.setJulianDay(day);
401 * This draws the selection highlight if a day is selected in this week.
424 * Draws the week and month day numbers for this week. Override this method
500 * This calculates the positions for the selected day lines.