Home | History | Annotate | Download | only in calendar

Lines Matching refs:HOUR_GAP

226     private static final int HOUR_GAP = 1;
431 mEventGeometry.setHourGap(HOUR_GAP);
835 mCellHeight = (mGridAreaHeight - ((mNumHours + 1) * HOUR_GAP)) / mNumHours;
836 int usedGridAreaHeight = (mCellHeight + HOUR_GAP) * mNumHours + HOUR_GAP;
841 mBitmapHeight = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) + bottomSpace;
861 if (mFirstHourOffset >= mCellHeight + HOUR_GAP) {
862 mFirstHourOffset = mCellHeight + HOUR_GAP - 1;
864 mViewStartY = mFirstHour * (mCellHeight + HOUR_GAP) - mFirstHourOffset;
1210 mFirstHour = (mViewStartY + mCellHeight + HOUR_GAP - 1) / (mCellHeight + HOUR_GAP);
1211 mFirstHourOffset = mFirstHour * (mCellHeight + HOUR_GAP) - mViewStartY;
1248 mViewStartY -= (mCellHeight + HOUR_GAP);
1259 mViewStartY += (mCellHeight + HOUR_GAP);
1486 int y = mFirstCell + mFirstHourOffset + 2 * mHoursTextHeight + HOUR_GAP;
1493 y = mFirstCell + mFirstHourOffset + (12 - mFirstHour) * (mCellHeight + HOUR_GAP)
1494 + 2 * mHoursTextHeight + HOUR_GAP;
1528 int lineY = mCurrentTime.hour*(mCellHeight + HOUR_GAP)
1540 drawEvents(cell, x, HOUR_GAP, canvas, p);
1558 r.bottom = 24 * (mCellHeight + HOUR_GAP) + HOUR_GAP;
1572 r.top = mSelectionHour * (mCellHeight + HOUR_GAP);
1573 r.bottom = r.top + mCellHeight + 2 * HOUR_GAP;
1580 r.top += HOUR_GAP;
1581 r.bottom -= HOUR_GAP;
1594 r.top += HOUR_GAP;
1595 r.bottom -= HOUR_GAP;
1611 int y = HOUR_GAP + mHoursTextHeight;
1616 y += mCellHeight + HOUR_GAP;
1815 float deltaY = mCellHeight + HOUR_GAP;
1824 float stopY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP);
1891 box.top = mSelectionHour * (mCellHeight + HOUR_GAP);
1892 box.bottom = box.top + mCellHeight + HOUR_GAP;
2104 selectionArea.top = top + mSelectionHour * (cellHeight + HOUR_GAP);
3146 hour = (y - mFirstCell - mFirstHourOffset) / (mCellHeight + HOUR_GAP);