HomeSort by relevance Sort by last modified time
    Searched refs:mCellHeight (Results 1 - 6 of 6) sorted by null

  /development/samples/FixedGridLayout/src/com/example/android/fixedgridlayout/
FixedGridLayout.java 39 int mCellHeight;
53 mCellHeight = a.getDimensionPixelSize(
64 mCellHeight = px;
72 int cellHeightSpec = MeasureSpec.makeMeasureSpec(mCellHeight,
82 resolveSize(mCellHeight*count, heightMeasureSpec));
88 int cellHeight = mCellHeight;
  /frameworks/base/core/java/android/inputmethodservice/
Keyboard.java 141 private int mCellHeight;
656 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT;
660 final int gridHeight = GRID_HEIGHT * mCellHeight;
662 for (int y = 0; y < gridHeight; y += mCellHeight) {
668 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
670 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold) {
676 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
691 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
  /packages/apps/Gallery/src/com/android/camera/
GridViewSpecial.java 83 mCellHeight = dpToPx(h, metrics);
87 int mCellWidth, mCellHeight;
138 private int mBlockHeight; // Cache mSpec.mCellSpacing + mSpec.mCellHeight
223 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight;
263 int h = mSpec.mCellHeight;
512 top + mSpec.mCellHeight + mSpec.mCellSpacing);
523 int row = (mScrollY + y - spacing) / (mSpec.mCellHeight + spacing);
679 mSpec.mCellWidth, mSpec.mCellHeight);
758 mBlockHeight = mSpec.mCellSpacing + mSpec.mCellHeight;
    [all...]
  /packages/apps/Launcher2/src/com/android/launcher2/
CellLayout.java 41 private int mCellHeight;
81 mCellHeight = a.getDimensionPixelSize(R.styleable.CellLayout_cellHeight, 10);
407 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap);
425 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
444 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
452 return mCellHeight;
492 final int cellHeight = mCellHeight;
717 final int cellHeight = mCellHeight;
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
CalendarView.java 268 private int mCellHeight;
760 mCellHeight = (mGridAreaHeight - ((mNumHours + 1) * HOUR_GAP)) / mNumHours;
761 int usedGridAreaHeight = (mCellHeight + HOUR_GAP) * mNumHours + HOUR_GAP;
763 mEventGeometry.setHourHeight(mCellHeight);
766 mBitmapHeight = HOUR_GAP + 24 * (mCellHeight + HOUR_GAP) + bottomSpace;
786 if (mFirstHourOffset >= mCellHeight + HOUR_GAP) {
787 mFirstHourOffset = mCellHeight + HOUR_GAP - 1;
789 mViewStartY = mFirstHour * (mCellHeight + HOUR_GAP) - mFirstHourOffset;
    [all...]
MonthView.java 84 private int mCellHeight;
315 int row = (y - WEEK_GAP) / (WEEK_GAP + mCellHeight);
604 int row = (y - WEEK_GAP) / (WEEK_GAP + mCellHeight);
671 int y = WEEK_GAP + row * (WEEK_GAP + mCellHeight) - 1;
709 int y = WEEK_GAP + row*(WEEK_GAP + mCellHeight);
715 r.bottom = y + mCellHeight;
    [all...]

Completed in 705 milliseconds