Searched refs:totalSpace (Results 1 – 3 of 3) sorted by relevance
267 int totalSpace; in updateMeasurements() local269 totalSpace = getWidth() - getPaddingRight() - getPaddingLeft(); in updateMeasurements()271 totalSpace = getHeight() - getPaddingBottom() - getPaddingTop(); in updateMeasurements()273 calculateItemBorders(totalSpace); in updateMeasurements()276 private void calculateItemBorders(int totalSpace) { in calculateItemBorders() argument278 || mCachedBorders[mCachedBorders.length - 1] != totalSpace) { in calculateItemBorders()282 int sizePerSpan = totalSpace / mSpanCount; in calculateItemBorders()283 int sizePerSpanRemainder = totalSpace % mSpanCount; in calculateItemBorders()
794 final int totalSpace = mLayoutManager.mOrientationHelper.getTotalSpace(); in getFirstLastChildrenTest() local801 holder.itemView.setMinimumWidth(totalSpace + 5); in getFirstLastChildrenTest()803 holder.itemView.setMinimumHeight(totalSpace + 5); in getFirstLastChildrenTest()
547 final int totalSpace = mLayoutManager.mPrimaryOrientation.getTotalSpace(); in getFirstLastChildrenTest() local554 holder.itemView.setMinimumWidth(totalSpace + 100); in getFirstLastChildrenTest()556 holder.itemView.setMinimumHeight(totalSpace + 100); in getFirstLastChildrenTest()