Lines Matching refs:cellWidthPx
184 public int cellWidthPx; field in DeviceProfile
1125 return (cellWidthPx * numColumns) + (cellLayoutBorderSpacePx.x * (numColumns - 1))
1167 cellWidthPx = mResponsiveWorkspaceWidthSpec.getCellSizePx();
1170 if (cellWidthPx < iconSizePx) {
1172 iconSizePx = mIconSizeSteps.getIconSmallerThan(cellWidthPx);
1199 cellWidthPx = pxFromDp(inv.minCellSize[mTypeIndex].x, mMetrics, scale);
1202 if (cellWidthPx < iconSizePx) {
1206 int extraWidthRequired = (iconSizePx - cellWidthPx) * numColumns;
1208 cellWidthPx = iconSizePx;
1213 cellWidthPx = (cellWidthPx * numColumns
1215 iconSizePx = Math.min(iconSizePx, cellWidthPx);
1258 cellWidthPx = iconSizePx + iconDrawablePaddingPx;
2099 writer.println(prefix + pxToDpStr("cellWidthPx", cellWidthPx));