Lines Matching defs:mCellHeight

473     private static int mCellHeight = 0; // shared among all DayViews
764 if (mCellHeight == 0) {
765 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
1260 if (mCellHeight < mMinCellHeight) {
1261 mCellHeight = mMinCellHeight;
1318 mNumHours = mGridAreaHeight / (mCellHeight + HOUR_GAP);
1319 mEventGeometry.setHourHeight(mCellHeight);
1322 (MIN_EVENT_HEIGHT * DateUtils.MINUTE_IN_MILLIS / (mCellHeight / 60.0f));
1326 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight;
1345 if (mFirstHourOffset >= mCellHeight + HOUR_GAP) {
1346 mFirstHourOffset = mCellHeight + HOUR_GAP - 1;
1348 mViewStartY = mFirstHour * (mCellHeight + HOUR_GAP) - mFirstHourOffset;
1928 mFirstHour = (mViewStartY + mCellHeight + HOUR_GAP - 1) / (mCellHeight + HOUR_GAP);
1929 mFirstHourOffset = mFirstHour * (mCellHeight + HOUR_GAP) - mViewStartY;
1966 mViewStartY -= (mCellHeight + HOUR_GAP);
1977 mViewStartY += (mCellHeight + HOUR_GAP);
2424 y = mFirstCell + mFirstHourOffset + (12 - mFirstHour) * (mCellHeight + HOUR_GAP)
2468 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2469 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2487 r.top = mSelectionHour * (mCellHeight + HOUR_GAP);
2488 r.bottom = r.top + mCellHeight + HOUR_GAP;
2508 int midY = r.top + mCellHeight / 2;
2509 int length = Math.min(mCellHeight, width) - NEW_EVENT_MARGIN * 2;
2511 int verticalPadding = (mCellHeight - length) / 2;
2535 y += mCellHeight + HOUR_GAP;
2598 final float deltaY = mCellHeight + HOUR_GAP;
2601 final float stopY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP);
2658 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2659 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2671 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP)
2672 + ((mCurrentTime.minute * mCellHeight) / 60) + 1;
2758 box.top = mSelectionHour * (mCellHeight + HOUR_GAP);
2759 box.bottom = box.top + mCellHeight + HOUR_GAP;
3092 int cellHeight = mCellHeight;
4129 mGestureCenterHour = (mViewStartY + gestureCenterInPixels) / (mCellHeight + DAY_GAP);
4132 mCellHeightBeforeScaleGesture = mCellHeight;
4135 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP);
4138 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4148 mCellHeight = (int) (mCellHeightBeforeScaleGesture * spanY / mStartingSpanY);
4150 if (mCellHeight < mMinCellHeight) {
4152 // gesture can bump the mCellHeight beyond MAX_CELL_HEIGHT
4154 mCellHeight = mMinCellHeight;
4156 } else if (mCellHeight > MAX_CELL_HEIGHT) {
4158 mCellHeight = MAX_CELL_HEIGHT;
4163 mViewStartY = (int) (mGestureCenterHour * (mCellHeight + DAY_GAP)) - gestureCenterInPixels;
4164 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight;
4167 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP);
4170 + mCellHeight + " SpanY:" + detector.getCurrentSpanY());
4176 / (float) (mCellHeight + DAY_GAP);
4180 / (float) (mCellHeight + DAY_GAP);
4550 (adjustedY - mFirstHourOffset) / (mCellHeight + HOUR_GAP));
4775 mCellHeight);