Searched refs:toDp (Results 1 – 13 of 13) sorted by relevance
174 val left = boundingRect?.left?.toDp(context) ?: 0.dp in <lambda>()175 val top = boundingRect?.top?.toDp(context) ?: 0.dp in <lambda>()176 val right = boundingRect?.right?.toDp(context) ?: 0.dp in <lambda>()177 val bottom = boundingRect?.bottom?.toDp(context) ?: 0.dp in <lambda>()201 return point.x.toDp(context) in <lambda>()205 private fun Int.toDp(context: Context): Dp { in <lambda>() method
59 public FontScaleConverterImpl(@NonNull float[] fromSp, @NonNull float[] toDp) { in FontScaleConverterImpl() argument60 if (fromSp.length != toDp.length || fromSp.length == 0) { in FontScaleConverterImpl()65 mToDpValues = toDp; in FontScaleConverterImpl()
126 WindowInsets.safeDrawing.getBottom(this).toDp() in SystemUIDialogFactory()178 start = insets.getLeft(this, LocalLayoutDirection.current).toDp() + horizontalPadding, in Modifier()179 top = insets.getTop(this).toDp(), in Modifier()180 end = insets.getRight(this, LocalLayoutDirection.current).toDp() + horizontalPadding in Modifier()
146 toDp: newSizeDp181 const itemsToDp = currentScaleArray.items.map(d => d.toDp)
51 dpOffset = DpOffset(it.x.toDp(), it.y.toDp()) in CopyableBody()
71 MaterialTheme.typography.bodyMedium.lineHeight.toDp() in longSummary_notSingleLine_atLeastTwoLinesHeight()93 MaterialTheme.typography.bodyMedium.lineHeight.toDp() in longSummary_notSingleLine_onlyOneLineHeight()
37 state.initialOffsetPx.toDp() in <lambda>()
49 val screenCornerRadiusDp = with(LocalDensity.current) { screenCornerRadius.toDp() } in ScreenDecorProvider()
221 with(density) { dimen = (if (id == 0) 0 else res.getDimensionPixelSize(id)).toDp() } in getDimen()
472 x = (bounds.left - otherBounds.left).toDp(), in SemanticsNodeInteraction()473 y = (bounds.top - otherBounds.top).toDp(), in SemanticsNodeInteraction()
173 fun Int.toDp(context: Context): Int { in toDp() method
1298 val screenHeight = with(density) { windowMetrics.bounds.height().toDp() } in gridContentPadding()1299 val toolbarHeight = with(density) { Dimensions.ToolbarPaddingTop + toolbarSize.height.toDp() } in gridContentPadding()
403 snapOffset.toDp() in snapOffsetDp()