Searched refs:mCellHeight (Results 1 - 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java40 private final int mCellHeight; field in class:ProximityInfo
52 mCellHeight = (height + mGridHeight - 1) / mGridHeight;
183 final int gridHeight = mGridHeight * mCellHeight;
185 for (int y = 0; y < gridHeight; y += mCellHeight) {
187 final int centerY = y + mCellHeight / 2;
197 mGridNeighbors[(y / mCellHeight) * mGridWidth + (x / mCellWidth)] = cell;
209 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java42 private int mCellHeight; field in class:PagedViewCellLayout
67 mOriginalCellHeight = mCellHeight =
75 mChildren.setCellDimensions(mCellWidth, mCellHeight);
86 return mCellHeight;
220 newHeight = mPaddingTop + mPaddingBottom + (mCellCountY * mCellHeight) +
246 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap);
279 bottom += mCellHeight / 2;
310 int smallerSize = Math.min(mCellWidth, mCellHeight);
353 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap));
363 mPaddingTop + (y * mCellHeight)
[all...]
H A DCellLayoutChildren.java35 private int mCellHeight; field in class:CellLayoutChildren
51 mCellHeight = cellHeight;
83 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
88 final int cellHeight = mCellHeight;
H A DPagedViewCellLayoutChildren.java35 private int mCellHeight; field in class:PagedViewCellLayoutChildren
63 mCellHeight = height;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
H A DCellLayout.java63 private int mCellHeight; field in class:CellLayout
158 mCellHeight = a.getDimensionPixelSize(R.styleable.CellLayout_cellHeight, 10);
259 mChildren.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
412 y += mCellHeight + mHeightGap;
740 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap);
758 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
774 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
790 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) + mCellHeight / 2;
798 return mCellHeight;
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java428 private static int mCellHeight = 0; // shared among all DayViews field in class:DayView
719 if (mCellHeight == 0) {
720 mCellHeight = Utils.getSharedPreference(mContext,
964 gotoY = mBaseDate.hour * (mCellHeight + HOUR_GAP);
966 lastHour = (mGridAreaHeight - mFirstHourOffset) / (mCellHeight + HOUR_GAP)
976 * (mCellHeight + HOUR_GAP) - mGridAreaHeight);
982 + (mCellHeight + HOUR_GAP) + " lh " + lastHour + " gh " + mGridAreaHeight
1200 if (mCellHeight < mMinCellHeight) {
1201 mCellHeight = mMinCellHeight;
1258 mNumHours = mGridAreaHeight / (mCellHeight
[all...]
/packages/apps/Gallery/src/com/android/camera/
H A DGridViewSpecial.java83 mCellHeight = dpToPx(h, metrics);
87 int mCellWidth, mCellHeight; field in class:GridViewSpecial.LayoutSpec
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;
960 mEmptyBitmap = Bitmap.createBitmap(mSpec.mCellWidth, mSpec.mCellHeight,
[all...]

Completed in 200 milliseconds