Home
last modified time | relevance | path

Searched defs:widthDp (Results 1 – 7 of 7) sorted by relevance

/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/layout/
DLayoutCooperationTest.kt75 val widthDp = width.toDp() in <lambda>() constant
/compose/ui/ui-tooling-preview/src/androidMain/kotlin/androidx/compose/ui/tooling/preview/
DPreview.android.kt67 val widthDp: Int = -1, constant in androidx.compose.ui.tooling.preview.Preview
/compose/ui/ui-text/benchmark/src/main/java/androidx/compose/ui/text/benchmark/
DTextBenchmarkTestRule.kt51 val widthDp: Float = 160f constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/textfield/
DTextFieldScrollTest.kt421 val widthDp = with(density) { width.toDp() } in <lambda>() constant
471 val widthDp = with(density) { width.toDp() } in <lambda>() constant
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DSlider.kt688 val widthDp: Dp in SliderImpl() constant
732 val widthDp: Dp in RangeSliderImpl() constant
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/
DBasicTextLinkTest.kt1089 val widthDp = (fontSize * 22).toDp() // to fit text in the middle of the second link in TextWithLinks() constant
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/draw/
DGraphicsLayerTest.kt1306 val widthDp = 200.dp in <lambda>() constant