Home | History | Annotate | Download | only in calendar

Lines Matching defs:in

5  * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
306 * in the method clearCachedEvents()).
371 private static float MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT = 28.0F; // in pixels
421 private static float MIN_EVENT_HEIGHT = 24.0F; // in pixels
439 // sizing for "box +n" in allDay events
481 /** Height of 1 hour in pixels at the start of a scaling gesture */
525 * Max of all day events in a given day in this view.
624 // Animates the height of events in the allday region
632 // tracks whether a touch originated in the allday area
790 // Allow focus in touch mode so that we can do keyboard shortcuts
859 // in the worst case.
906 // mLines is the array of points used with Canvas.drawLines() in
909 // drawLines() call in either of those methods.
950 * Returns the start of the selected time in milliseconds since the epoch.
952 * @return selected time in UTC milliseconds since the epoch.
990 * Returns the start of the selected time in minutes since midnight,
1145 * if it is in the visible time range.
1175 // in visible time
1228 // This would be about 1 day worth in a 7 day view
1275 // Allow the all-day area to grow in height depending on the
1287 // fade in.
1290 // Try to fit all the events in
1292 // But clip the area depending on which mode we're in
1364 * views. They differ in their base date.
1387 // have scrolled to a different part of the day in some other view
1388 // so the selection box in this view may no longer be visible.
1950 // are no more normal events earlier in the day, then jump to
2029 // load events in the background
2112 // number of all-day events in any one day. Also, keep track of
2113 // the earliest event in each day.
2155 // Also check the end hour in case the event spans more than
2201 // yTranslation which will be redone in the nextView's onDraw().
2260 // Draw the AM and PM indicators if we're in 12 hour mode
2896 // max number of events being drawn in one day of the allday area
2900 // The number of events that weren't drawn in each day
3049 // For each event in the selected event list "mSelectedEvents", find
3050 // its neighbors in the up and down directions. This could be done
3054 // Find the event in the same row as the previously selected all-day
3149 // Computes the "nearest" neighbor event in four directions (left, right,
3150 // up, down) for each of the events in the mSelectedEvents array.
3227 // For each event in the selected event list "mSelectedEvents", search
3228 // all the other events in that list for the nearest neighbor in 4
3380 // Take the closest neighbor in the y direction.
3394 // Pick the closest in the x direction
3404 // Take the closest neighbor in the y direction.
3418 // Pick the closest in the x direction
3692 // in order to show the "clicked" color. But since it is also setting the selected info
3699 // is in the selected time, do not show a click on an event to prevent a situation
3787 // calculate the height of individual events in order to fit
3867 // check if the tap was in the allday expansion area
3915 // Y location is affected by the position of the event in the scrolling
3951 // Scale gesture in progress
4026 // Calculate the top of the visible region in the calendar grid.
4078 Animation in = mViewSwitcher.getInAnimation();
4079 if (in != null) {
4081 in.scaleCurrentDuration(0);
4189 // If mStartingSpanY is too small, even a small increase in the
4590 setSelectedHour(mSelectionHour - 1); /* In the partially visible hour */
4717 // If there are any events in the selected region, then assign the
4735 // slot very close to an event in the previous hour slot. In
4824 // Turn off scrolling to make sure the view is in the correct state if we fling back to it
4916 // don't scroll vertically if this started in the allday area
4931 // don't fling vertically if this started in the allday area
4996 * Here we compute a "distance" that will be used in the computation of
4999 * size in order to reduce the variance in snap duration as a function
5029 * duration to be effected in a purely linear fashion. Instead, we use this