Searched defs:mCellHeight (Results 1 - 8 of 8) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayoutChildren.java35 private int mCellHeight; field in class:PagedViewCellLayoutChildren
63 mCellHeight = height;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
H A DShortcutAndWidgetContainer.java37 private int mCellHeight; field in class:ShortcutAndWidgetContainer
53 mCellHeight = cellHeight;
103 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
108 final int cellHeight = mCellHeight;
H A DPagedViewCellLayout.java42 private int mCellHeight; field in class:PagedViewCellLayout
67 mOriginalCellHeight = mCellHeight =
75 mChildren.setCellDimensions(mCellWidth, mCellHeight);
86 return mCellHeight;
215 newHeight = getPaddingTop() + getPaddingBottom() + (mCellCountY * mCellHeight) +
241 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap);
274 bottom += mCellHeight / 2;
305 int smallerSize = Math.min(mCellWidth, mCellHeight);
348 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeight + mHeightGap));
358 getPaddingTop() + (y * mCellHeight)
[all...]
H A DCellLayout.java63 private int mCellHeight; field in class:CellLayout
184 mCellHeight = a.getDimensionPixelSize(R.styleable.CellLayout_cellHeight, 10);
279 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
428 cd.setBounds(0, 0, mCellWidth, mCellHeight);
756 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap);
774 pointToCellExact(x + (mCellWidth / 2), y + (mCellHeight / 2), result);
790 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap);
818 result[1] = vStartPadding + cellY * (mCellHeight + mHeightGap) +
819 (spanY * mCellHeight + (spanY - 1) * mHeightGap) / 2;
833 final int top = vStartPadding + cellY * (mCellHeight
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DProximityInfo.java40 private final int mCellHeight; field in class:ProximityInfo
62 mCellHeight = (height + mGridHeight - 1) / mGridHeight;
87 mCellHeight = o.mCellHeight;
221 final int gridHeight = mGridHeight * mCellHeight;
223 for (int y = 0; y < gridHeight; y += mCellHeight) {
225 final int centerY = y + mCellHeight / 2;
233 mGridNeighbors[(y / mCellHeight) * mGridWidth + (x / mCellWidth)] =
269 int index = (y / mCellHeight) * mGridWidth + (x / mCellWidth);
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DKeyboard.java157 private int mCellHeight; field in class:Keyboard
703 mCellHeight = (getHeight() + GRID_HEIGHT - 1) / GRID_HEIGHT;
707 final int gridHeight = GRID_HEIGHT * mCellHeight;
709 for (int y = 0; y < gridHeight; y += mCellHeight) {
715 key.squaredDistanceFrom(x + mCellWidth - 1, y + mCellHeight - 1)
717 key.squaredDistanceFrom(x, y + mCellHeight - 1) < mProximityThreshold ||
718 key.isInside(x, y, mCellWidth, mCellHeight)) {
724 mGridNeighbors[(y / mCellHeight) * GRID_WIDTH + (x / mCellWidth)] = cell;
739 int index = (y / mCellHeight) * GRID_WIDTH + (x / mCellWidth);
/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...]
/packages/apps/Calendar/src/com/android/calendar/
H A DDayView.java473 private static int mCellHeight = 0; // shared among all DayViews field in class:DayView
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
[all...]

Completed in 823 milliseconds