Home
last modified time | relevance | path

Searched refs:bounded (Results 1 – 25 of 102) sorted by relevance

12345

/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DRipple.kt75 bounded: Boolean = true, in ripple()
80 if (bounded) return DefaultBoundedRipple else DefaultUnboundedRipple in ripple()
82 RippleNodeFactory(bounded, radius, color) in ripple()
122 bounded: Boolean = true, in ripple()
125 return RippleNodeFactory(bounded, radius, color) in ripple()
201 private val bounded: Boolean, constant in androidx.compose.material3.RippleNodeFactory
207 bounded: Boolean,
210 ) : this(bounded, radius, colorProducer, Color.Unspecified)
212 constructor(bounded: Boolean, radius: Dp, color: Color) : this(bounded, radius, null, color)
216 return DelegatingThemeAwareRippleNode(interactionSource, bounded, radius, colorProducer) in create()
[all …]
DTab.kt169 val ripple = ripple(bounded = true, color = selectedContentColor) in LeadingIconTab()
242 val ripple = ripple(bounded = true, color = selectedContentColor) in Tab()
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DRipple.kt75 bounded: Boolean = true, in ripple()
80 if (bounded) return DefaultBoundedRipple else DefaultUnboundedRipple in ripple()
82 RippleNodeFactory(bounded, radius, color) in ripple()
122 bounded: Boolean = true, in ripple()
125 return RippleNodeFactory(bounded, radius, color) in ripple()
232 private val bounded: Boolean, constant in androidx.compose.material.RippleNodeFactory
238 bounded: Boolean,
241 ) : this(bounded, radius, colorProducer, Color.Unspecified)
243 constructor(bounded: Boolean, radius: Dp, color: Color) : this(bounded, radius, null, color)
247 return DelegatingThemeAwareRippleNode(interactionSource, bounded, radius, colorProducer) in create()
[all …]
DIconButton.kt71 indication = ripple(bounded = false, radius = RippleRadius) in IconButton()
116 indication = ripple(bounded = false, radius = RippleRadius) in IconToggleButton()
DTab.kt164 val ripple = ripple(bounded = true, color = selectedContentColor) in LeadingIconTab()
234 val ripple = ripple(bounded = true, color = selectedContentColor) in Tab()
/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/
DRippleTest.kt95 bounded = true, in bounded_lightTheme_highLuminance_pressed()
117 bounded = true, in bounded_lightTheme_highLuminance_hovered()
139 bounded = true, in bounded_lightTheme_highLuminance_focused()
161 bounded = true, in bounded_lightTheme_highLuminance_dragged()
183 bounded = true, in bounded_lightTheme_lowLuminance_pressed()
205 bounded = true, in bounded_lightTheme_lowLuminance_hovered()
227 bounded = true, in bounded_lightTheme_lowLuminance_focused()
249 bounded = true, in bounded_lightTheme_lowLuminance_dragged()
271 bounded = true, in bounded_darkTheme_highLuminance_pressed()
293 bounded = true, in bounded_darkTheme_highLuminance_hovered()
[all …]
/compose/material/material-ripple/src/commonMain/kotlin/androidx/compose/material/ripple/
DCommonRipple.kt48 internal class CommonRipple(bounded: Boolean, radius: Dp, color: State<Color>) : in <lambda>()
49 Ripple(bounded, radius, color) { in <lambda>()
53 bounded: Boolean, in <lambda>()
59 CommonRippleIndicationInstance(bounded, radius, color, rippleAlpha) in <lambda>()
66 bounded: Boolean,
70 ) : RippleNode(interactionSource, bounded, radius, color, rippleAlpha) {
76 val origin = if (bounded) interaction.pressPosition else null in addRipple()
78 RippleAnimation(origin = origin, radius = targetRadius, bounded = bounded) in addRipple()
110 private val bounded: Boolean, constant in CommonRippleIndicationInstance
114 ) : RippleIndicationInstance(bounded, rippleAlpha), RememberObserver {
[all …]
DRipple.kt93 bounded: Boolean, in <lambda>()
98 return createPlatformRippleNode(interactionSource, bounded, radius, color, rippleAlpha) in <lambda>()
142 bounded: Boolean = true, in rememberRipple()
147 return remember(bounded, radius) { PlatformRipple(bounded, radius, colorState) } in rememberRipple()
153 bounded: Boolean, in createPlatformRippleNode()
182 private val bounded: Boolean, in createPlatformRippleNode() constant in androidx.compose.material.ripple.Ripple
204 rememberUpdatedRippleInstance(interactionSource, bounded, radius, color, rippleAlpha) in createPlatformRippleNode()
223 bounded: Boolean, in createPlatformRippleNode()
235 if (bounded != other.bounded) return false in createPlatformRippleNode()
243 var result = bounded.hashCode() in createPlatformRippleNode()
[all …]
DRippleAnimation.kt61 private val bounded: Boolean constant in androidx.compose.material.ripple.RippleAnimation
149 if (bounded) { in DrawScope()
168 internal fun Density.getRippleEndRadius(bounded: Boolean, size: Size): Float { in getRippleStartRadius()
170 return if (bounded) { in getRippleStartRadius()
/compose/material/material-ripple/src/androidMain/kotlin/androidx/compose/material/ripple/
DRipple.android.kt58 bounded: Boolean, in <lambda>()
62 ): DelegatableNode = AndroidRippleNode(interactionSource, bounded, radius, color, rippleAlpha) in <lambda>()
76 actual constructor(bounded: Boolean, radius: Dp, color: State<Color>) : in <lambda>()
77 Ripple(bounded, radius, color) { in <lambda>()
81 bounded: Boolean, in <lambda>()
88 AndroidRippleIndicationInstance(bounded, radius, color, rippleAlpha, view) in <lambda>()
101 bounded: Boolean,
105 ) : RippleNode(interactionSource, bounded, radius, color, rippleAlpha), RippleHostKey {
158 bounded = bounded, in addRipple()
198 private val bounded: Boolean, constant in AndroidRippleIndicationInstance
[all …]
DRippleHostView.android.kt78 private var bounded: Boolean? = null in <lambda>() variable
95 private fun createRipple(bounded: Boolean) { in <lambda>()
97 UnprojectedRipple(bounded).apply { in <lambda>()
128 bounded: Boolean, in <lambda>()
138 if (ripple == null || bounded != this.bounded) { in <lambda>()
139 createRipple(bounded) in <lambda>()
140 this.bounded = bounded in <lambda>()
145 if (bounded) { in <lambda>()
271 private class UnprojectedRipple(private val bounded: Boolean) : constant in UnprojectedRipple
279 /* mask */ if (bounded) ColorDrawable(android.graphics.Color.WHITE) else null
[all …]
/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DRippleTest.kt95 bounded = true, in bounded_lightTheme_pressed()
117 bounded = true, in bounded_lightTheme_hovered()
139 bounded = true, in bounded_lightTheme_focused()
161 bounded = true, in bounded_lightTheme_dragged()
183 bounded = false, in unbounded_lightTheme_pressed()
205 bounded = false, in unbounded_lightTheme_hovered()
227 bounded = false, in unbounded_lightTheme_focused()
249 bounded = false, in unbounded_lightTheme_dragged()
283 RippleBoxWithBackground(interactionSource, ripple(), bounded = true) in contentColorChangeDuringRipple_dragged()
331 RippleBoxWithBackground(interactionSource, ripple(), bounded = true) in rippleConfiguration_color_dragged()
[all …]
/compose/material/material-ripple/src/androidInstrumentedTest/kotlin/androidx/compose/material/ripple/
DRememberRippleTest.kt117 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in defaultColor()
146 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in hovered()
170 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in focused()
194 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in dragged()
243 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in themeChangeDuringRipple_dragged()
317 RippleBoxWithBackground(interactionSource, rememberRipple(), bounded = true) in compositionLocalChangeDuringRipple_dragged()
389 RippleBoxWithBackground(interactionSource, ripple, bounded = true) in compositionLocalProvidedAfterRipple()
471 bounded: Boolean in RippleBoxWithBackground()
478 val clip = if (bounded) Modifier.clip(shape) else Modifier in RippleBoxWithBackground()
DRippleModifierNodeTest.kt100 bounded = true, in create()
135 RippleBoxWithBackground(interactionSource, TestRipple, bounded = true) in pressed()
175 RippleBoxWithBackground(interactionSource, TestRipple, bounded = true) in pressed_rippleCreatedBeforeDraw()
284 RippleBoxWithBackground(interactionSource, TestRipple, bounded = true) in hovered()
306 RippleBoxWithBackground(interactionSource, TestRipple, bounded = true) in focused()
328 RippleBoxWithBackground(interactionSource, TestRipple, bounded = true) in dragged()
363 RippleBoxWithBackground(interactionSource, ripple, bounded = true) in colorChangeDuringRipple_dragged()
423 RippleBoxWithBackground(interactionSource, ripple, bounded = true) in rippleAlphaChange()
699 bounded: Boolean in RippleBoxWithBackground()
706 val clip = if (bounded) Modifier.clip(shape) else Modifier in RippleBoxWithBackground()
/compose/material/material-ripple/api/
D1.7.0-beta01.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
D1.7.0-beta02.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
Dcurrent.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
Drestricted_1.7.0-beta02.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
Drestricted_current.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
Drestricted_1.7.0-beta01.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
D1.8.0-beta01.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
Drestricted_1.8.0-beta01.txt17 …pose.foundation.interaction.InteractionSource interactionSource, boolean bounded, float radius, an…
18 …c androidx.compose.foundation.Indication rememberRipple(optional boolean bounded, optional float r…
/compose/ui/ui/src/androidUnitTest/kotlin/androidx/compose/ui/layout/
DConstraintsTest.kt100 val bounded = Constraints(3, 5, 3, 5) in hasBoundedDimensions() constant
101 assertTrue(bounded.hasBoundedWidth) in hasBoundedDimensions()
102 assertTrue(bounded.hasBoundedHeight) in hasBoundedDimensions()
/compose/material/material-ripple/src/commonStubsMain/kotlin/androidx/compose/material/ripple/
DRipple.commonStubs.kt26 bounded: Boolean,
/compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/
DSliderSamples.kt111 indication = ripple(bounded = false, radius = 20.dp) in LegacySliderSample()
423 indication = ripple(bounded = false, radius = 20.dp) in LegacyRangeSliderSample()
436 indication = ripple(bounded = false, radius = 20.dp) in LegacyRangeSliderSample()

12345