Searched defs:mHeightGap (Results 1 - 4 of 4) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayoutChildren.java37 private int mHeightGap; field in class:PagedViewCellLayoutChildren
57 mHeightGap = heightGap;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
H A DShortcutAndWidgetContainer.java40 private int mHeightGap; field in class:ShortcutAndWidgetContainer
55 mHeightGap = heightGap;
103 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
111 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap);
H A DPagedViewCellLayout.java46 private int mHeightGap; field in class:PagedViewCellLayout
71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1;
76 mChildren.setGap(mWidthGap, mHeightGap);
201 mHeightGap = Math.min(mMaxGap,numHeightGaps > 0 ? (vFreeSpace / numHeightGaps) : 0);
203 mChildren.setGap(mWidthGap, mHeightGap);
206 mHeightGap = mOriginalHeightGap;
216 ((mCellCountY - 1) * mHeightGap);
241 return mCellCountY * mCellHeight + (mCellCountY - 1) * Math.max(0, mHeightGap);
298 mOriginalHeightGap = mHeightGap = heightGap;
348 int n = Math.max(1, (availHeight + mHeightGap) / (mCellHeigh
[all...]
H A DCellLayout.java71 private int mHeightGap; field in class:CellLayout
186 mHeightGap = mOriginalHeightGap = a.getDimensionPixelSize(R.styleable.CellLayout_heightGap, 0);
279 mShortcutsAndWidgets.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
756 result[1] = (y - vStartPadding) / (mCellHeight + mHeightGap);
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 + mHeightGap);
835 top + (spanY * mCellHeight + (spanY - 1) * mHeightGap));
858 return mHeightGap;
[all...]

Completed in 63 milliseconds