Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/
DGrids.kt98 var columnWidths = intArrayOf() in Grid() variable
123 if (sizeCache.columnWidths.size != columns) { in Grid()
124 sizeCache.columnWidths = IntArray(columns) { 0 } in Grid()
126 repeat(columns) { i -> sizeCache.columnWidths[i] = 0 } in Grid()
162 sizeCache.columnWidths[column] = in Grid()
163 max(sizeCache.columnWidths[column], placeable.width) in Grid()
169 for (column in sizeCache.columnWidths.indices) { in Grid()
170 totalWidth += sizeCache.columnWidths[column] in Grid()
/frameworks/base/core/java/android/widget/
DTableRow.java294 final int[] columnWidths = mColumnWidths; in getColumnsWidths() local
318 columnWidths[i] = width; in getColumnsWidths()
320 columnWidths[i] = 0; in getColumnsWidths()
323 columnWidths[i] = 0; in getColumnsWidths()
327 return columnWidths; in getColumnsWidths()
341 void setColumnsWidthConstraints(int[] columnWidths) { in setColumnsWidthConstraints() argument
342 if (columnWidths == null || columnWidths.length < getVirtualChildCount()) { in setColumnsWidthConstraints()
347 mConstrainedColumnWidths = columnWidths; in setColumnsWidthConstraints()