Searched refs:columnWidth (Results 1 – 5 of 5) sorted by relevance
37 final int columnWidth = 200; in testMeasure_spanCountIsRounded() local47 recyclerView.setColumnWidth(columnWidth); in testMeasure_spanCountIsRounded()60 final int columnWidth = size; in testSetMinimumSpanCount_resultSmallerThanMinSpanCount() local71 recyclerView.setColumnWidth(columnWidth); in testSetMinimumSpanCount_resultSmallerThanMinSpanCount()85 final int columnWidth = 300; in testSetMinimumSpanCount_resultLargerThanMinSpanCount() local86 final int expectedSpanCount = size / columnWidth; in testSetMinimumSpanCount_resultLargerThanMinSpanCount()97 recyclerView.setColumnWidth(columnWidth); in testSetMinimumSpanCount_resultLargerThanMinSpanCount()
30 public void setColumnWidth(int columnWidth) { in setColumnWidth() argument31 super.setColumnWidth(columnWidth); in setColumnWidth()32 if (mInternalRequestedColumnWidth != columnWidth) { in setColumnWidth()33 mInternalRequestedColumnWidth = columnWidth; in setColumnWidth()
64 public void setColumnWidth(int columnWidth) { in setColumnWidth() argument65 mColumnWidth = columnWidth; in setColumnWidth()
238 int columnWidth = mLargeColumnWidth; in makeAndAddColumn() local251 columnWidth = mSmallColumnWidth; in makeAndAddColumn()267 ? columnWidth / ASPECT_RATIO in makeAndAddColumn()268 : columnWidth * ASPECT_RATIO)); in makeAndAddColumn()270 int widthSpec = MeasureSpec.makeMeasureSpec(columnWidth, MeasureSpec.EXACTLY); in makeAndAddColumn()272 int childLeft = forward ? x : x - columnWidth; in makeAndAddColumn()273 child.layout(childLeft, nextTop, childLeft + columnWidth, nextTop + heightSize); in makeAndAddColumn()
80 final int columnWidth = in layout() local83 || !fitInWidth(rowStartIndex, index + 1, columnWidth)) { in layout()