Home
last modified time | relevance | path

Searched refs:amountLeft (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/nestedscroll/
DLargeTopAppBarNestedScrollConnection.kt65 val amountLeft = maxHeight() - currentHeight in <lambda>() constant
66 offsetAvailable.coerceAtMost(amountLeft) in <lambda>()
68 val amountLeft = minHeight() - currentHeight in <lambda>() constant
69 offsetAvailable.coerceAtLeast(amountLeft) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotificationScrimNestedScrollConnection.kt69 val amountLeft = maxScrimOffset - currentHeight in offsetAvailable() constant
70 offsetAvailable.coerceAtMost(amountLeft) in offsetAvailable()
72 val amountLeft = minScrimOffset() - currentHeight in offsetAvailable() constant
73 offsetAvailable.coerceAtLeast(amountLeft) in offsetAvailable()
/frameworks/base/core/tests/coretests/src/android/util/
DTouchModeFlexibleAsserts.java62 int amountLeft = MAX_DELAY_MILLIS; in assertNotInTouchModeAfterKey() local
64 while (checkForTouchMode.isInTouchMode() && amountLeft > 0) { in assertNotInTouchModeAfterKey()
65 amountLeft -= 200; in assertNotInTouchModeAfterKey()