Searched refs:widthPx (Results 1 – 8 of 8) sorted by relevance
450 private fun createInsetRoundedRect(widthPx: Float, roundedRect: RoundRect) =452 left = widthPx,453 top = widthPx,454 right = roundedRect.width - widthPx,455 bottom = roundedRect.height - widthPx,456 topLeftCornerRadius = roundedRect.topLeftCornerRadius.shrink(widthPx),457 topRightCornerRadius = roundedRect.topRightCornerRadius.shrink(widthPx),458 bottomLeftCornerRadius = roundedRect.bottomLeftCornerRadius.shrink(widthPx),459 bottomRightCornerRadius = roundedRect.bottomRightCornerRadius.shrink(widthPx)
89 var widthPx: Int = 0 variable in androidx.compose.ui.text.android.style.PlaceholderSpan122 widthPx = in getSize()173 return widthPx in getSize()
102 val widthPx = max(width.roundToPx(), constraints.minWidth) in SimpleRelativeToSiblingsInColumn() constant104 layout(widthPx, heightPx, mapOf(start to 0, end to widthPx)) {} in SimpleRelativeToSiblingsInColumn()
73 val widthPx = with(density) { maxWidth.toPx() } in OffsetKeyframeWithSplineDemo() constant76 val maxXOff = (widthPx - sizePx) / 2f in OffsetKeyframeWithSplineDemo()
197 val widthPx = constraints.maxWidth.toFloat() in <lambda>() constant202 maxPx = max(widthPx - ThumbRadius.toPx(), 0f) in <lambda>()246 widthPx, in <lambda>()420 val widthPx = constraints.maxWidth.toFloat() in RangeSlider() constant425 maxPx = widthPx - ThumbRadius.toPx() in RangeSlider()508 widthPx, in RangeSlider()
48 assertThat(placeholderSpan.widthPx).isEqualTo((width * pxPerSp).toInt()) in width_isSp_equalsGiven()67 assertThat(placeholderSpan.widthPx).isEqualTo((width * fontSize).toInt()) in width_isEm_equalsGiven()559 placeholderSpan.widthPx in widthPx_accessBeforeGetSize()
321 getHorizontalPosition(start, true) - span.widthPx in <lambda>()323 val right = left + span.widthPx in <lambda>()
5748 val widthPx = max(width.roundToPx(), constraints.minWidth) in BaselineTestLayout() constant5751 widthPx, in BaselineTestLayout()