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

  /packages/apps/Launcher2/src/com/android/launcher2/
PagedViewCellLayout.java 45 private int mWidthGap;
71 mOriginalWidthGap = mOriginalHeightGap = mWidthGap = mHeightGap = -1;
76 mChildren.setGap(mWidthGap, mHeightGap);
205 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0);
208 mChildren.setGap(mWidthGap, mHeightGap);
210 mWidthGap = mOriginalWidthGap;
219 ((mCellCountX - 1) * mWidthGap);
253 return mCellCountX * mCellWidth + (mCellCountX - 1) * Math.max(0, mWidthGap);
302 mOriginalWidthGap = mWidthGap = widthGap;
338 int n = Math.max(1, (availWidth + mWidthGap) / (mCellWidth + mWidthGap))
    [all...]
CellLayoutChildren.java 37 private int mWidthGap;
52 mWidthGap = widthGap;
83 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
91 lp.setup(cellWidth, cellHeight, mWidthGap, mHeightGap);
PagedViewCellLayoutChildren.java 36 private int mWidthGap;
56 mWidthGap = widthGap;
94 lp.setup(mCellWidth, mCellHeight, mWidthGap, mHeightGap,
CellLayout.java 70 private int mWidthGap;
159 mWidthGap = mOriginalWidthGap = a.getDimensionPixelSize(R.styleable.CellLayout_widthGap, 0);
259 mChildren.setCellDimensions(mCellWidth, mCellHeight, mWidthGap, mHeightGap);
398 int x = getPaddingLeft() - (mWidthGap / 2) - (width / 2);
414 x += mCellWidth + mWidthGap;
739 result[0] = (x - hStartPadding) / (mCellWidth + mWidthGap);
773 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap);
789 result[0] = hStartPadding + cellX * (mCellWidth + mWidthGap) + mCellWidth / 2;
802 return mWidthGap;
843 mWidthGap = Math.min(mMaxGap, numWidthGaps > 0 ? (hFreeSpace / numWidthGaps) : 0)
    [all...]

Completed in 904 milliseconds