Home | History | Annotate | Download | only in calendar

Lines Matching full:left

136     //Update the current time line every five minutes if the window is left open that long
427 mEventTextPaint.setTextAlign(Paint.Align.LEFT);
1297 src.left = 0;
1302 dest.left = 0;
1337 // This isn't really the upper-left corner. It's the square area just
1338 // below the upper-left corner, above the hours and to the left of the
1344 r.left = 0;
1354 r.left = 0;
1359 r.left = r.right;
1372 r.left = mHoursWidth + daynum * (mCellWidth + DAY_GAP);
1373 r.right = r.left + mCellWidth;
1440 private void drawCurrentTimeLine(Rect r, int left, int top, Canvas canvas, Paint p) {
1445 r.left = left + CURRENT_TIME_LINE_SIDE_BUFFER;
1446 r.right = r.left + mCellWidth - 2 * CURRENT_TIME_LINE_SIDE_BUFFER;
1489 r.left = 0;
1493 // Fill the bottom left corner with the default grid background
1504 r.left = 0;
1511 r.left = mHoursWidth + daynum * (mCellWidth + DAY_GAP);
1512 r.right = r.left + mCellWidth;
1520 path.addRect(r.left, r.top, r.right, r.bottom, Direction.CW);
1522 saveSelectionPosition(r.left, r.top, r.right, r.bottom);
1588 r.left = 0;
1667 private void saveSelectionPosition(float left, float top, float right, float bottom) {
1668 mPrevBox.left = (int) left;
1679 box.left = mHoursWidth + daynum * (mCellWidth + DAY_GAP);
1680 box.right = box.left + mCellWidth + DAY_GAP;
1687 p.setTextAlign(Paint.Align.LEFT);
1693 r.left = mHoursWidth;
1694 r.right = r.left + mNumDays * (mCellWidth + DAY_GAP);
1699 r.left = r.right;
1721 float left = mHoursWidth;
1750 event.left = left + startIndex * (mCellWidth + DAY_GAP) + 2;
1751 event.right = left + endIndex * (mCellWidth + DAY_GAP) + mCellWidth - 1;
1782 left = mHoursWidth + daynum * (mCellWidth + DAY_GAP) + 1;
1783 float right = left + mCellWidth + DAY_GAP - 1;
1790 path.addRect(left, top, right, bottom, Direction.CW);
1873 rf.left = event.left;
1877 rf.left += 2;
1882 private void drawEvents(int date, int left, int top, Canvas canvas, Paint p) {
1891 selectionArea.left = left;
1892 selectionArea.right = selectionArea.left + cellWidth;
1900 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) {
1923 // Computes the "nearest" neighbor event in four directions (left, right,
1953 prevLeft = (int) mPrevSelectedEvent.left;
1959 || prevRight <= mPrevBox.left || prevLeft >= mPrevBox.right) {
1963 prevLeft = mPrevBox.left;
1978 prevLeft = mPrevBox.left;
1987 } else if (prevRight <= box.left) {
1988 // The previously selected event was to the left of us.
2009 int left = (int) ev.left;
2027 Log.i("Cal", "left: " + left + " right: " + right + " top: " + top
2044 if (left >= prevCenter) {
2045 distance1 = left - prevCenter;
2051 if (left >= prevCenter) {
2052 distance1 = left - prevCenter;
2063 distance2 = left - prevRight;
2079 // For each neighbor, figure out if it is above or below or left
2086 int neighborLeft = (int) neighbor.left;
2091 if (neighborLeft < right && neighborRight > left) {
2097 int center = (left + right) / 2;
2099 int currentLeft = (int) upEvent.left;
2122 if (neighborLeft < right && neighborRight > left) {
2128 int center = (left + right) / 2;
2130 int currentLeft = (int) downEvent.left;
2170 int currentDistance = (int) rightEvent.left - right;
2176 } else if (neighborRight <= left) {
2177 // This neighbor is entirely to the left of me.
2193 int neighborDistance = left - neighborRight;
2194 int currentDistance = left - (int) leftEvent.right;
2258 rf.left = event.left;
2271 rf.left += 2;
2293 float width = rf.right - rf.left;
2371 canvas.drawText(fragment, rf.left + 1, top, p);
2425 mPopup.showAtLocation(this, Gravity.BOTTOM | Gravity.LEFT, mHoursWidth, 5);
2966 int left = mHoursWidth + (mSelectionDay - mFirstJulianDay) * (cellWidth + DAY_GAP);
3020 region.left = x - 10;
3030 if (!geometry.computeEventRect(date, left, top, cellWidth, event)) {