Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/
DGrids.kt149 for (cellIndex in measurables.indices) { in Grid() method
153 column = cellIndex % columns in Grid()
154 row = cellIndex / columns in Grid()
156 column = cellIndex / rows in Grid()
157 row = cellIndex % rows in Grid()
160 val placeable = measurables[cellIndex].measure(childConstraints) in Grid()
184 val cellIndex = row * columns + column in Grid() constant
185 if (cellIndex < cells) { in Grid()
186 val placeable = placeables[cellIndex] in Grid()
/frameworks/libs/systemui/toruslib/torus-wallpaper-settings/src/main/java/com/google/android/torus/settings/inlinecontrol/
DColorChipsRowBuilder.kt89 for (cellIndex in 0..max(colorOptions.size - 1, minSpaces - 1)) { in create() constant
90 if (cellIndex < colorOptions.size) { in create()
95 cellIndex, in create()
115 cellIndex: Int, in makeColorOption()
126 option = colorOptions[cellIndex], in makeColorOption()
127 selected = cellIndex == selectedItem, in makeColorOption()
135 context, cellIndex, in makeColorOption()
140 cellIndex in makeColorOption()
145 .setContentDescription(res.getText(colorOptions[cellIndex].description)) in makeColorOption()