Lines Matching refs:top
48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { in computeEventRect() argument
87 event.top = top; in computeEventRect()
88 event.top += (int) (startTime * cellMinuteHeight); in computeEventRect()
89 event.top += startHour * mHourGap; in computeEventRect()
91 event.bottom = top; in computeEventRect()
96 if (event.bottom < event.top + mMinEventHeight) { in computeEventRect()
97 event.bottom = event.top + mMinEventHeight; in computeEventRect()
111 && event.top < selection.bottom && event.bottom >= selection.top) { in eventIntersectsSelection()
123 float top = event.top; in pointToEvent() local
128 if (y >= top) { in pointToEvent()
137 return top - y; in pointToEvent()
142 if (y < top) { in pointToEvent()
144 float dy = top - y; in pointToEvent()
157 if (y < top) { in pointToEvent()
159 float dy = top - y; in pointToEvent()