Home | History | Annotate | Download | only in calendar

Lines Matching refs:mCellHeight

470     private static int mCellHeight = 0; // shared among all DayViews
763 if (mCellHeight == 0) {
764 mCellHeight = Utils.getSharedPreference(mContext,
1024 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP);
1026 lastHour = (mGridAreaHeight - mFirstHourOffset) / (mCellHeight + HOUR_GAP)
1036 * (mCellHeight + HOUR_GAP) - mGridAreaHeight);
1042 + (mCellHeight + HOUR_GAP) + " lh " + lastHour + " gh " + mGridAreaHeight
1261 if (mCellHeight < mMinCellHeight) {
1262 mCellHeight = mMinCellHeight;
1319 mNumHours = mGridAreaHeight / (mCellHeight + HOUR_GAP);
1320 mEventGeometry.setHourHeight(mCellHeight);
1323 (MIN_EVENT_HEIGHT * DateUtils.MINUTE_IN_MILLIS / (mCellHeight / 60.0f));
1327 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight;
1346 if (mFirstHourOffset >= mCellHeight + HOUR_GAP) {
1347 mFirstHourOffset = mCellHeight + HOUR_GAP - 1;
1349 mViewStartY = mFirstHour * (mCellHeight + HOUR_GAP) - mFirstHourOffset;
1929 mFirstHour = (mViewStartY + mCellHeight + HOUR_GAP - 1) / (mCellHeight + HOUR_GAP);
1930 mFirstHourOffset = mFirstHour * (mCellHeight + HOUR_GAP) - mViewStartY;
1969 mViewStartY -= (mCellHeight + HOUR_GAP);
1980 mViewStartY += (mCellHeight + HOUR_GAP);
2428 y = mFirstCell + mFirstHourOffset + (12 - mFirstHour) * (mCellHeight + HOUR_GAP)
2472 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2473 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2491 r.top = mSelectionHour * (mCellHeight + HOUR_GAP);
2492 r.bottom = r.top + mCellHeight + HOUR_GAP;
2512 int midY = r.top + mCellHeight / 2;
2513 int length = Math.min(mCellHeight, width) - NEW_EVENT_MARGIN * 2;
2515 int verticalPadding = (mCellHeight - length) / 2;
2539 y += mCellHeight + HOUR_GAP;
2602 final float deltaY = mCellHeight + HOUR_GAP;
2605 final float stopY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP);
2662 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2663 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2675 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2676 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2762 box.top = mSelectionHour * (mCellHeight + HOUR_GAP);
2763 box.bottom = box.top + mCellHeight + HOUR_GAP;
3096 int cellHeight = mCellHeight;
3987 / (mCellHeight + DAY_GAP);
4028 mViewStartY = (int) ((mGestureCenterHour * (mCellHeight + DAY_GAP))
4055 / (mCellHeight + DAY_GAP);
4167 mGestureCenterHour = (mViewStartY + gestureCenterInPixels) / (mCellHeight + DAY_GAP);
4170 mCellHeightBeforeScaleGesture = mCellHeight;
4173 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP);
4176 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4186 mCellHeight = (int) (mCellHeightBeforeScaleGesture * spanY / mStartingSpanY);
4188 if (mCellHeight < mMinCellHeight) {
4190 // gesture can bump the mCellHeight beyond MAX_CELL_HEIGHT
4192 mCellHeight = mMinCellHeight;
4194 } else if (mCellHeight > MAX_CELL_HEIGHT) {
4196 mCellHeight = MAX_CELL_HEIGHT;
4201 mViewStartY = (int) (mGestureCenterHour * (mCellHeight + DAY_GAP)) - gestureCenterInPixels;
4202 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight;
4205 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP);
4208 + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4214 / (float) (mCellHeight + DAY_GAP);
4218 / (float) (mCellHeight + DAY_GAP);
4593 (adjustedY - mFirstHourOffset) / (mCellHeight + HOUR_GAP));
4819 mCellHeight);