• Home
  • Raw
  • Download

Lines Matching refs:mCellHeight

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