Searched refs:widthPx (Results 1 – 2 of 2) sorted by relevance
152 val widthPx = TypedValue.complexToDimensionPixelSize(widthDimen, metrics) in testCreateComplexDimension_appliesUnits() constant153 assertEquals(widthFloat.roundToInt(), widthPx) in testCreateComplexDimension_appliesUnits()
3531 private void setViewBounds(View view, int widthPx, int heightPx) {3534 lp = new LayoutParams(widthPx, heightPx);3538 lp.width = widthPx;