This site requires javascript.
Android Code Search
file:androidx/health/connect/client/units/Length.kt symbol:inches
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
health/connect/connect-client/src/main/java/androidx/health/connect/client/units/
Length.kt
content_copy
Preview
42:
43:
44:
@
get
:JvmName(
"getInches"
)
val
in
Inches
: Double
get
() = get(type = Type.INCHES)
91:
92:
93:
/** Creates [Length] with the specified value in inches. */
@JvmStatic
fun
inches
(value: Double): Length = Length(value, Type.INCHES)
107:
108:
109:
},
INCHES
{
override
val
metersPerUnit: Double =
0.0254
180:
181:
182:
@
get
:JvmSynthetic
val
Double.
inches
: Length
get
() = Length.inches(value = this)
185:
186:
187:
@
get
:JvmSynthetic
val
Float.
inches
: Length
get
() = toDouble().inches
190:
191:
192:
@
get
:JvmSynthetic
val
Long.
inches
: Length
get
() = toDouble().inches
195:
196:
197:
@
get
:JvmSynthetic
val
Int.
inches
: Length
get
() = toDouble().inches
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