Home
last modified time | relevance | path

Searched refs:textPlaceY (Results 1 – 2 of 2) sorted by relevance

/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DSnackbar.kt282 val textPlaceY = (containerHeight - it.height) / 2 in TextOnlySnackbar() constant
283 it.placeRelative(0, textPlaceY) in TextOnlySnackbar()
339 val textPlaceY: Int in OneRowSnackbar() constant
346 textPlaceY = (containerHeight - textPlaceable.height) / 2 in OneRowSnackbar()
351 textPlaceY + firstTextBaseline - it in OneRowSnackbar()
358 textPlaceY = baselineOffset - firstTextBaseline in OneRowSnackbar()
360 val contentHeight = textPlaceY + textPlaceable.height in OneRowSnackbar()
366 textPlaceable.placeRelative(0, textPlaceY) in OneRowSnackbar()
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DSnackbar.kt362 val textPlaceY: Int in OneRowSnackbar() constant
369 textPlaceY = (containerHeight - textPlaceable.height) / 2 in OneRowSnackbar()
374 textPlaceY + firstTextBaseline - it in OneRowSnackbar()
384 textPlaceY = baselineOffset - firstTextBaseline in OneRowSnackbar()
386 val contentHeight = textPlaceY + textPlaceable.height in OneRowSnackbar()
403 textPlaceable.placeRelative(0, textPlaceY) in OneRowSnackbar()