This site requires javascript.
Android Code Search
file:androidx/compose/ui/unit/Dp.kt class:androidx.compose.ui.unit.Dp
search
close
info_outline
more_vert
Result 1 of 1
content_copy
Search Result Root
androidx/platform/frameworks/support
keyboard_arrow_right
Branch
Branch
androidx-main
keyboard_arrow_right
Search Result Path
compose/ui/ui-unit/src/commonMain/kotlin/androidx/compose/ui/unit/
Dp.kt
content_copy
Preview
46:
47:
48:
@JvmInline
value
class
Dp
(
val
value: Float) : Comparable<Dp> {
/** Add two [Dp]s together. */
205:
206:
207:
@JvmInline
value
class
Dp
Offset(
val
packedValue: Long) {
/** The horizontal aspect of the offset in [Dp] */
291:
292:
293:
@JvmInline
value
class
Dp
Size
internal
constructor
(@PublishedApi
internal
val
packedValue: Long) {
/** The horizontal aspect of the Size in [Dp] */
405:
406:
407:
@Suppress(
"DataClassDefinition"
)
data
class
Dp
Rect(
@Stable
val
left: Dp,
chevron_left
1
chevron_right
Results per page
10
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Got it
Help
Open branch androidx-main