Home
last modified time | relevance | path

Searched defs:Int (Results 1 – 25 of 27) sorted by relevance

12

/compose/ui/ui-unit/src/commonMain/kotlin/androidx/compose/ui/unit/
DTextUnit.kt282 val Int.sp: TextUnit in takeOrElse() constant
287 val Int.em: TextUnit in takeOrElse() constant
/compose/foundation/foundation/src/androidMain/kotlin/androidx/compose/foundation/text/input/internal/
DHandwritingGesture.android.kt743 private fun Int.toTextGranularity(): TextGranularity { in toTextGranularity() method
830 private fun Int.isNewline(): Boolean { in isNewline() method
841 private fun Int.isWhitespace(): Boolean { in isWhitespace() method
849 private fun Int.isWhitespaceExceptNewline(): Boolean { in isWhitespaceExceptNewline() method
857 private fun Int.isPunctuation(): Boolean { in isPunctuation() method
/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/
DMultiParagraph.kt1135 fun Int.toLocalIndex(): Int { in toLocalIndex() method
1142 fun Int.toGlobalIndex(): Int { in toGlobalIndex() method
1150 fun Int.toLocalLineIndex(): Int { in toLocalLineIndex() method
1158 fun Int.toGlobalLineIndex(): Int { in toGlobalLineIndex() method
/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/
DGestureScope.kt517 private val Int.startFuzzed: Float constant
519 private val Int.endFuzzed: Float constant
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/
DNestedScrollInteropConnection.android.kt160 private fun Int.reverseAxis(): Float = this * -1f in Float() method
/compose/ui/ui-text/src/androidInstrumentedTest/kotlin/androidx/compose/ui/text/matchers/
DTypefaceSubject.kt198 private fun Int.toTypefaceStyleString(): String = in toTypefaceStyleString() method
/compose/material3/adaptive/adaptive-layout/src/androidUnitTest/kotlin/androidx/compose/material3/adaptive/layout/
DPaneMotionTest.kt315 private fun Int.toThreePaneScaffoldValue(): ThreePaneScaffoldValue { in toThreePaneScaffoldValue() method
/compose/integration-tests/macrobenchmark-target/src/main/java/androidx/compose/integration/macrobenchmark/target/
DPagerActivity.kt227 private fun Int.floorMod(other: Int): Int = in floorMod() method
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/pager/
DPagerMeasure.kt639 fun Int.reverseAware() = if (!reverseLayout) this else pagesCount - this - 1 in calculatePagesOffsets() method
DPagerState.kt717 private fun Int.coerceInPageRange() = in coerceInPageRange() method
/compose/ui/ui-graphics/src/androidInstrumentedTest/kotlin/androidx/compose/ui/graphics/
DColorTest.kt1424 fun Int.toHexString() = "0x${toUInt().toString(16).padStart(8, '0')}" method
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/
DLazyListMeasure.kt618 fun Int.reverseAware() = if (!reverseLayout) this else itemsCount - this - 1 in calculateItemsOffsets() method
/compose/foundation/foundation/src/commonMain/kotlin/androidx/compose/foundation/lazy/grid/
DLazyGridMeasure.kt570 fun Int.reverseAware() = if (!reverseLayout) this else linesCount - this - 1 in calculateItemsOffsets() method
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/grid/
DLazyGridBeyondBoundsTest.kt571 private fun Int.toDp(): Dp = with(rule.density) { toDp() } in <lambda>() method
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/
DScrollableFocusableInteractionTest.kt632 private fun Int.toDp(): Dp = with(rule.density) { this@toDp.toDp() } in <lambda>() method
DBasicMarqueeTest.kt98 private val Int.pxPerFrame: Dp in <lambda>() constant
101 private fun Int.toDp() = with(rule.density) { this@toDp.toDp() } in <lambda>() method
DLazyListFocusableInteractionTest.kt680 private fun Int.toDp(): Dp = with(rule.density) { this@toDp.toDp() } in <lambda>() method
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/accessibility/
DScrollingTest.kt541 private fun Int.toDp(): Dp = with(rule.density) { this@toDp.toDp() } in <lambda>() method
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/staggeredgrid/
DLazyStaggeredGridBeyondBoundsTest.kt648 private fun Int.toDp(): Dp = with(rule.density) { toDp() } in <lambda>() method
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/list/
DLazyListBeyondBoundsTest.kt569 private fun Int.toDp(): Dp = with(rule.density) { toDp() } in <lambda>() method
/compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/viewinterop/
DAndroidViewHolder.android.kt728 private fun Int.toComposeOffset() = toFloat() * -1 in toComposeOffset() method
/compose/ui/ui-inspection/src/main/java/androidx/compose/ui/inspection/
DComposeLayoutInspector.kt592 private fun Int.orElse(defaultValue: Int): Int = if (this == 0) defaultValue else this method
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/relocation/
DBringIntoViewScrollableInteractionTest.kt1181 private fun Int.toDp(): Dp = with(rule.density) { this@toDp.toDp() } in <lambda>() method
/compose/ui/ui-text/src/androidUnitTest/kotlin/androidx/compose/ui/text/
DAnnotatedStringBuilderTest.kt1319 private fun Int.toAnnotation() = StringAnnotation(this.toString()) in <lambda>() method
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/
DAndroidComposeViewAccessibilityDelegateCompatTest.kt1444 private fun Int.toDp(): Dp = with(rule.density) { this@toDp.toDp() } in <lambda>() method

12