[go: nahoru, domu]

Searched refs:totalSpace (Results 1 - 4 of 4) sorted by relevance

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java274 int totalSpace;
276 totalSpace = getWidth() - getPaddingRight() - getPaddingLeft();
278 totalSpace = getHeight() - getPaddingBottom() - getPaddingTop();
280 calculateItemBorders(totalSpace);
306 * @param totalSpace Total available space after padding is removed
308 private void calculateItemBorders(int totalSpace) { argument
309 mCachedBorders = calculateItemBorders(mCachedBorders, mSpanCount, totalSpace);
315 * @param totalSpace total available space after padding is removed
319 static int[] calculateItemBorders(int[] cachedBorders, int spanCount, int totalSpace) { argument
321 || cachedBorders[cachedBorders.length - 1] != totalSpace) {
[all...]
H A DStaggeredGridLayoutManager.java908 void updateMeasureSpecs(int totalSpace) { argument
909 mSizePerSpan = totalSpace / mSpanCount;
912 totalSpace, mSecondaryOrientation.getMode());
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java212 final int totalSpace = mLayoutManager.mOrientationHelper.getTotalSpace();
219 holder.itemView.setMinimumWidth(totalSpace + 5);
221 holder.itemView.setMinimumHeight(totalSpace + 5);
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java353 final int totalSpace = mLayoutManager.mPrimaryOrientation.getTotalSpace();
360 holder.itemView.setMinimumWidth(totalSpace + 100);
362 holder.itemView.setMinimumHeight(totalSpace + 100);

Completed in 59 milliseconds