• Home
  • Raw
  • Download

Lines Matching refs:left

1311         mExpandAllDayRect.left = Math.max((mHoursWidth - allDayIconWidth) / 2,  in remeasure()
1313 mExpandAllDayRect.right = Math.min(mExpandAllDayRect.left + allDayIconWidth, mHoursWidth in remeasure()
2183 dest.left = 0; in onDraw()
2307 r.left = 0; in drawAllDayHighlights()
2315 r.left = 0; in drawAllDayHighlights()
2334 r.left = computeDayLeftPosition(startIndex) + 1; in drawAllDayHighlights()
2347 mRect.left = computeDayLeftPosition(daynum) + 1; in drawAllDayHighlights()
2436 r.left = computeDayLeftPosition(day) - CURRENT_TIME_LINE_SIDE_BUFFER + 1; in drawCurrentTimeLine()
2493 r.left = computeDayLeftPosition(daynum) + 1; in drawSelectedRect()
2496 saveSelectionPosition(r.left, r.top, r.right, r.bottom); in drawSelectedRect()
2510 int width = r.right - r.left; in drawSelectedRect()
2511 int midX = r.left + width / 2; in drawSelectedRect()
2517 canvas.drawLine(r.left + horizontalPadding, midY, r.right - horizontalPadding, in drawSelectedRect()
2525 canvas.drawText(mNewEventHintString, r.left + EVENT_TEXT_LEFT_MARGIN, in drawSelectedRect()
2652 r.left = 0; in drawBgColors()
2666 r.left = mHoursWidth; in drawBgColors()
2679 r.left = computeDayLeftPosition(todayIndex) + 1; in drawBgColors()
2689 r.left = computeDayLeftPosition(todayIndex + 1) + 1; in drawBgColors()
2698 r.left = computeDayLeftPosition(0) + 1; in drawBgColors()
2753 private void saveSelectionPosition(float left, float top, float right, float bottom) { in saveSelectionPosition() argument
2754 mPrevBox.left = (int) left; in saveSelectionPosition()
2765 box.left = computeDayLeftPosition(daynum) + 1; in getCurrentSelectionPosition()
2771 if (r.bottom <= r.top || r.right <= r.left) { in setupTextRect()
2773 r.right = r.left; in setupTextRect()
2781 if (r.right - r.left > EVENT_TEXT_LEFT_MARGIN + EVENT_TEXT_RIGHT_MARGIN) { in setupTextRect()
2782 r.left += EVENT_TEXT_LEFT_MARGIN; in setupTextRect()
2788 if (r.bottom <= r.top || r.right <= r.left) { in setupAllDayTextRect()
2790 r.right = r.left; in setupAllDayTextRect()
2798 if (r.right - r.left > EVENT_ALL_DAY_TEXT_LEFT_MARGIN + EVENT_ALL_DAY_TEXT_RIGHT_MARGIN) { in setupAllDayTextRect()
2799 r.left += EVENT_ALL_DAY_TEXT_LEFT_MARGIN; in setupAllDayTextRect()
2942 event.left = computeDayLeftPosition(startIndex); in drawAllDayEvents()
3017 r.left = x; in drawMoreAlldayEvents()
3094 int left = computeDayLeftPosition(dayIndex) + 1; in drawEvents() local
3095 int cellWidth = computeDayLeftPosition(dayIndex + 1) - left + 1; in drawEvents()
3102 selectionArea.left = left; in drawEvents()
3103 selectionArea.right = selectionArea.left + cellWidth; in drawEvents()
3115 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) { in drawEvents()
3179 prevLeft = (int) mPrevSelectedEvent.left; in computeNeighbors()
3185 || prevRight <= mPrevBox.left || prevLeft >= mPrevBox.right) { in computeNeighbors()
3189 prevLeft = mPrevBox.left; in computeNeighbors()
3204 prevLeft = mPrevBox.left; in computeNeighbors()
3213 } else if (prevRight <= box.left) { in computeNeighbors()
3235 int left = (int) ev.left; in computeNeighbors() local
3270 if (left >= prevCenter) { in computeNeighbors()
3271 distance1 = left - prevCenter; in computeNeighbors()
3277 if (left >= prevCenter) { in computeNeighbors()
3278 distance1 = left - prevCenter; in computeNeighbors()
3289 distance2 = left - prevRight; in computeNeighbors()
3312 int neighborLeft = (int) neighbor.left; in computeNeighbors()
3317 if (neighborLeft < right && neighborRight > left) { in computeNeighbors()
3323 int center = (left + right) / 2; in computeNeighbors()
3325 int currentLeft = (int) upEvent.left; in computeNeighbors()
3348 if (neighborLeft < right && neighborRight > left) { in computeNeighbors()
3354 int center = (left + right) / 2; in computeNeighbors()
3356 int currentLeft = (int) downEvent.left; in computeNeighbors()
3396 int currentDistance = (int) rightEvent.left - right; in computeNeighbors()
3402 } else if (neighborRight <= left) { in computeNeighbors()
3419 int neighborDistance = left - neighborRight; in computeNeighbors()
3420 int currentDistance = left - (int) leftEvent.right; in computeNeighbors()
3442 r.left = (int) event.left + EVENT_RECT_LEFT_MARGIN; in drawEventRect()
3477 r.left += floorHalfStroke; in drawEventRect()
3529 r.left = (int) event.left + EVENT_RECT_LEFT_MARGIN; in drawEventRect()
3559 int width = rect.right - rect.left; in drawEventText()
3588 canvas.translate(rect.left, rect.top + padding); in drawEventText()
3589 rect.left = 0; in drawEventText()
4632 int left = computeDayLeftPosition(mSelectionDay - mFirstJulianDay); in findSelectedEvent() local
4696 region.left = x - 10; in findSelectedEvent()
4706 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) { in findSelectedEvent()