Home
last modified time | relevance | path

Searched refs:colCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java229 public void setColumnCount(int colCount) { in setColumnCount() argument
230 if (colCount < 1 && colCount != COLUMN_COUNT_AUTO) { in setColumnCount()
232 colCount); in setColumnCount()
234 final boolean needsPopulate = colCount != mColCount; in setColumnCount()
235 mColCount = mColCountSetting = colCount; in setColumnCount()
634 final int colCount = widthSize / mMinColWidth; in onMeasure() local
635 if (colCount != mColCount) { in onMeasure()
636 mColCount = colCount; in onMeasure()
661 final int colCount = getWidth() / mMinColWidth; in populate() local
662 if (colCount != mColCount) { in populate()
[all …]
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPatternBouncer.kt88 val colCount = viewModel.columnCount in <lambda>() constant
229 .width((262 * colCount / 2).dp) in <lambda>()
288 val horizontalSpacing = containerSize.width.toFloat() / colCount in <lambda>()
295 dotCount = colCount, in <lambda>()
306 scale = (colCount * spacing) / containerSize.width in <lambda>()