Lines Matching refs:mCellHeight
465 private static int mCellHeight = 0; // shared among all DayViews field in DayView
748 if (mCellHeight == 0) { in DayView()
749 mCellHeight = Utils.getSharedPreference(mContext, in DayView()
1007 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP); in setSelected()
1009 lastHour = (mGridAreaHeight - mFirstHourOffset) / (mCellHeight + HOUR_GAP) in setSelected()
1019 * (mCellHeight + HOUR_GAP) - mGridAreaHeight); in setSelected()
1025 + (mCellHeight + HOUR_GAP) + " lh " + lastHour + " gh " + mGridAreaHeight in setSelected()
1244 if (mCellHeight < mMinCellHeight) { in remeasure()
1245 mCellHeight = mMinCellHeight; in remeasure()
1302 mNumHours = mGridAreaHeight / (mCellHeight + HOUR_GAP); in remeasure()
1303 mEventGeometry.setHourHeight(mCellHeight); in remeasure()
1306 (MIN_EVENT_HEIGHT * DateUtils.MINUTE_IN_MILLIS / (mCellHeight / 60.0f)); in remeasure()
1310 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight; in remeasure()
1329 if (mFirstHourOffset >= mCellHeight + HOUR_GAP) { in remeasure()
1330 mFirstHourOffset = mCellHeight + HOUR_GAP - 1; in remeasure()
1332 mViewStartY = mFirstHour * (mCellHeight + HOUR_GAP) - mFirstHourOffset; in remeasure()
1658 mFirstHour = (mViewStartY + mCellHeight + HOUR_GAP - 1) / (mCellHeight + HOUR_GAP); in computeFirstHour()
1659 mFirstHourOffset = mFirstHour * (mCellHeight + HOUR_GAP) - mViewStartY; in computeFirstHour()
1698 mViewStartY -= (mCellHeight + HOUR_GAP); in adjustHourSelection()
1709 mViewStartY += (mCellHeight + HOUR_GAP); in adjustHourSelection()
2145 y = mFirstCell + mFirstHourOffset + (12 - mFirstHour) * (mCellHeight + HOUR_GAP) in drawAmPm()
2189 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in doDraw()
2190 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in doDraw()
2210 y += mCellHeight + HOUR_GAP; in drawHours()
2273 final float deltaY = mCellHeight + HOUR_GAP; in drawGridBackground()
2276 final float stopY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP); in drawGridBackground()
2333 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
2334 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
2346 int lineY = mCurrentTime.hour * (mCellHeight + HOUR_GAP) in drawBgColors()
2347 + ((mCurrentTime.minute * mCellHeight) / 60) + 1; in drawBgColors()
2727 int cellHeight = mCellHeight; in drawEvents()
3178 / (mCellHeight + DAY_GAP); in doScroll()
3219 mViewStartY = (int) ((mGestureCenterHour * (mCellHeight + DAY_GAP)) in doScroll()
3246 / (mCellHeight + DAY_GAP); in doScroll()
3358 mGestureCenterHour = (mViewStartY + gestureCenterInPixels) / (mCellHeight + DAY_GAP); in onScaleBegin()
3361 mCellHeightBeforeScaleGesture = mCellHeight; in onScaleBegin()
3364 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP); in onScaleBegin()
3367 + "\tmCellHeight:" + mCellHeight + " SpanY:" + detector.getCurrentSpanY()); in onScaleBegin()
3377 mCellHeight = (int) (mCellHeightBeforeScaleGesture * spanY / mStartingSpanY); in onScale()
3379 if (mCellHeight < mMinCellHeight) { in onScale()
3383 mCellHeight = mMinCellHeight; in onScale()
3385 } else if (mCellHeight > MAX_CELL_HEIGHT) { in onScale()
3387 mCellHeight = MAX_CELL_HEIGHT; in onScale()
3392 mViewStartY = (int) (mGestureCenterHour * (mCellHeight + DAY_GAP)) - gestureCenterInPixels; in onScale()
3393 mMaxViewStartY = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) - mGridAreaHeight; in onScale()
3396 float ViewStartHour = mViewStartY / (float) (mCellHeight + DAY_GAP); in onScale()
3399 + mCellHeight + " SpanY:" + detector.getCurrentSpanY()); in onScale()
3405 / (float) (mCellHeight + DAY_GAP); in onScale()
3409 / (float) (mCellHeight + DAY_GAP); in onScale()
3601 (adjustedY - mFirstHourOffset) / (mCellHeight + HOUR_GAP)); in setSelectionFromPosition()
3813 mCellHeight); in cleanup()