Lines Matching refs:bottom
1315 mExpandAllDayRect.bottom = mFirstCell - EXPAND_ALL_DAY_BOTTOM_MARGIN; in remeasure()
1316 mExpandAllDayRect.top = mExpandAllDayRect.bottom in remeasure()
2182 dest.bottom = (int) (mViewHeight - yTranslate); in onDraw()
2306 r.bottom = DAY_HEADER_HEIGHT; in drawAllDayHighlights()
2314 r.bottom = mFirstCell - 1; in drawAllDayHighlights()
2333 r.bottom = mFirstCell - 1; in drawAllDayHighlights()
2345 mRect.bottom = mRect.top + mAlldayHeight + ALLDAY_TOP_MARGIN - 2; in drawAllDayHighlights()
2440 r.bottom = r.top + mCurrentTimeLine.getIntrinsicHeight(); in drawCurrentTimeLine()
2492 r.bottom = r.top + mCellHeight + HOUR_GAP; in drawSelectedRect()
2496 saveSelectionPosition(r.left, r.top, r.right, r.bottom); in drawSelectedRect()
2519 canvas.drawLine(midX, r.top + verticalPadding, midX, r.bottom - verticalPadding, p); in drawSelectedRect()
2651 r.bottom = mDestRect.bottom; in drawBgColors()
2669 r.bottom = mViewStartY + mViewHeight; in drawBgColors()
2682 r.bottom = mViewStartY + mViewHeight; in drawBgColors()
2692 r.bottom = mDestRect.bottom; in drawBgColors()
2701 r.bottom = mDestRect.bottom; in drawBgColors()
2753 private void saveSelectionPosition(float left, float top, float right, float bottom) { in saveSelectionPosition() argument
2757 mPrevBox.bottom = (int) bottom; in saveSelectionPosition()
2763 box.bottom = box.top + mCellHeight + HOUR_GAP; in getCurrentSelectionPosition()
2771 if (r.bottom <= r.top || r.right <= r.left) { in setupTextRect()
2772 r.bottom = r.top; in setupTextRect()
2777 if (r.bottom - r.top > EVENT_TEXT_TOP_MARGIN + EVENT_TEXT_BOTTOM_MARGIN) { in setupTextRect()
2779 r.bottom -= EVENT_TEXT_BOTTOM_MARGIN; in setupTextRect()
2788 if (r.bottom <= r.top || r.right <= r.left) { in setupAllDayTextRect()
2789 r.bottom = r.top; in setupAllDayTextRect()
2794 if (r.bottom - r.top > EVENT_ALL_DAY_TEXT_TOP_MARGIN + EVENT_ALL_DAY_TEXT_BOTTOM_MARGIN) { in setupAllDayTextRect()
2796 r.bottom -= EVENT_ALL_DAY_TEXT_BOTTOM_MARGIN; in setupAllDayTextRect()
2945 event.bottom = event.top + height - ALL_DAY_EVENT_RECT_BOTTOM_MARGIN; in drawAllDayEvents()
2953 } else if (event.bottom > allDayEventClip) { in drawAllDayEvents()
2958 event.bottom = allDayEventClip; in drawAllDayEvents()
2962 (int) event.bottom); in drawAllDayEvents()
2965 drawEventText(layout, r, canvas, r.top, r.bottom, true); in drawAllDayEvents()
3018 r.bottom = y + EVENT_SQUARE_WIDTH; in drawMoreAlldayEvents()
3101 selectionArea.bottom = selectionArea.top + cellHeight; in drawEvents()
3120 if (event.bottom < mViewStartY || event.top > viewEndY) { in drawEvents()
3133 if (r.top > viewEndY || r.bottom < mViewStartY) { in drawEvents()
3178 prevBottom = (int) mPrevSelectedEvent.bottom; in computeNeighbors()
3184 if (prevTop >= mPrevBox.bottom || prevBottom <= mPrevBox.top in computeNeighbors()
3188 prevBottom = mPrevBox.bottom; in computeNeighbors()
3196 if (prevBottom > mPrevBox.bottom) { in computeNeighbors()
3197 prevBottom = mPrevBox.bottom; in computeNeighbors()
3203 prevBottom = mPrevBox.bottom; in computeNeighbors()
3221 } else if (prevTop >= box.bottom) { in computeNeighbors()
3241 int bottom = (int) ev.bottom; in computeNeighbors() local
3242 if (bottom > box.bottom) { in computeNeighbors()
3243 bottom = box.bottom; in computeNeighbors()
3282 distance2 = prevTop - bottom; in computeNeighbors()
3284 if (bottom <= prevCenter) { in computeNeighbors()
3285 distance1 = prevCenter - bottom; in computeNeighbors()
3291 if (bottom <= prevCenter) { in computeNeighbors()
3292 distance1 = prevCenter - bottom; in computeNeighbors()
3381 int center = (top + bottom) / 2; in computeNeighbors()
3383 int neighborBottom = (int) neighbor.bottom; in computeNeighbors()
3405 int center = (top + bottom) / 2; in computeNeighbors()
3407 int neighborBottom = (int) neighbor.bottom; in computeNeighbors()
3441 r.bottom = Math.min((int) event.bottom - EVENT_RECT_BOTTOM_MARGIN, visibleBot); in drawEventRect()
3475 r.bottom = Math.min((int) event.bottom - EVENT_RECT_BOTTOM_MARGIN - ceilHalfStroke, in drawEventRect()
3528 r.bottom = (int) event.bottom - EVENT_RECT_BOTTOM_MARGIN; in drawEventRect()
3556 int bottom, boolean center) { in drawEventText() argument
3560 int height = rect.bottom - rect.top; in drawEventText()
3580 if (totalLineHeight == 0 || rect.top > bottom || rect.top + totalLineHeight + 2 < top) { in drawEventText()
3587 int padding = center? (rect.bottom - rect.top - totalLineHeight) / 2 : 0; in drawEventText()
3592 rect.bottom = totalLineHeight; in drawEventText()
3868 int bottom = mFirstCell; in doSingleTapUp() local
3870 || (!mShowAllAllDayEvents && mAnimateDayHeight == 0 && y < bottom && in doSingleTapUp()
3871 y >= bottom - MIN_UNEXPANDED_ALLDAY_EVENT_HEIGHT)) { in doSingleTapUp()
3914 (int)((mSelectedEvent.top + mSelectedEvent.bottom)/2); in doSingleTapUp()
4259 int bottom = mAlldayHeight + DAY_HEADER_HEIGHT + ALLDAY_TOP_MARGIN; in onTouchEvent() local
4260 if (ev.getY() < bottom) { in onTouchEvent()
4699 region.bottom = y + 10; in findSelectedEvent()