Home
last modified time | relevance | path

Searched refs:BadgedBox (Results 1 – 25 of 77) sorted by relevance

1234

/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/
DBadgeScreenshotTest.kt59 BadgedBox(badge = { Badge { Text("8") } }) { Icon(Icons.Filled.Favorite, null) } in darkTheme_withContent()
76 BadgedBox(badge = { Badge() }) { Icon(Icons.Filled.Favorite, null) } in lightTheme_noContent_bottomNavigation()
97 BadgedBox( in lightTheme_shortContent_bottomNavigation()
124 BadgedBox( in lightTheme_longContent_bottomNavigation()
145 text = { BadgedBox(badge = { Badge() }) { Text("TAB") } }, in lightTheme_badge_noContent_tab()
163 BadgedBox(badge = { Badge { Text("8", textAlign = TextAlign.Center) } }) { in lightTheme_badge_shortContent_tab()
184 BadgedBox(badge = { Badge { Text("99+", textAlign = TextAlign.Center) } }) { in lightTheme_badge_longContent_tab()
205 BadgedBox(badge = { Badge { Text("8", textAlign = TextAlign.Center) } }) { in lightTheme_badge_shortContent_leadingIconTab()
DBadgeTest.kt131 BadgedBox(badge = { Badge(Modifier.testTag(TestBadgeTag)) }) { in badgeBox_noContent_position()
150 BadgedBox(badge = { Badge { Text("8") } }) { in badgeBox_shortContent_position()
170 BadgedBox(badge = { Badge { Text("999+") } }) { in badgeBox_longContent_position()
256 BadgedBox( in badge_notMergingDescendants_withOwnContentDescription()
278 BadgedBox(badge = { Badge { Text("999+") } }) { Icon(icon, null) } in badgeBox_size()
/compose/material3/material3/samples/src/main/java/androidx/compose/material3/samples/
DBadgeSamples.kt23 import androidx.compose.material3.BadgedBox
41 BadgedBox( in NavigationBarItemWithBadge()
57 BadgedBox( in NavigationBarItemWithBadge()
79 BadgedBox( in NavigationBarItemWithBadge()
DTabSamples.kt40 import androidx.compose.material3.BadgedBox in <lambda>()
239 BadgedBox(badge = { Badge(modifier = Modifier) { Text("999+") } }) { in LeadingIconTabs()
/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DBadgeTest.kt123 BadgedBox(badge = { Badge(Modifier.testTag(TestBadgeTag)) }) { in badgeBox_noContent_position()
139 BadgedBox(badge = { Badge { Text("8") } }) { in badgeBox_shortContent_position()
158 BadgedBox(badge = { Badge { Text("999+") } }) { in badgeBox_longContent_position()
177 BadgedBox( in badge_notMergingDescendants_withOwnContentDescription()
199 BadgedBox(badge = { Badge { Text("999+") } }) { Icon(icon, null) } in badgeBox_size()
219 BadgedBox( in badgeBox_smallGreatGrandParentAndLargeAnchor_adjustedBadge()
DBadgeScreenshotTest.kt57 BadgedBox(badge = { Badge() }) { Icon(Icons.Filled.Favorite, null) } in lightTheme_noContent()
71 BadgedBox(badge = { Badge() }) { Icon(Icons.Filled.Favorite, null) } in darkTheme_noContent()
85 BadgedBox(badge = { Badge { Text("8") } }) { Icon(Icons.Filled.Favorite, null) } in lightTheme_withContent()
99 BadgedBox(badge = { Badge { Text("8") } }) { Icon(Icons.Filled.Favorite, null) } in darkTheme_withContent()
/compose/material/material/samples/src/main/java/androidx/compose/material/samples/
DBadgeSamples.kt21 import androidx.compose.material.BadgedBox
39 BadgedBox( in BottomNavigationItemWithBadge()
/compose/material3/benchmark/src/androidTest/java/androidx/compose/material3/benchmark/
DBadgeBenchmark.kt22 import androidx.compose.material3.BadgedBox
50 BadgedBox(badge = { Spacer(Modifier.size(10.dp)) }) { Spacer(Modifier.size(24.dp)) } in MeasuredContent()
/compose/material/material/integration-tests/material-demos/src/main/java/androidx/compose/material/demos/
DBadgeDemo.kt26 import androidx.compose.material.BadgedBox in <lambda>()
317 BadgedBox( in DemoBadgedBox()
/compose/material/material/src/commonMain/kotlin/androidx/compose/material/
DBadge.kt58 fun BadgedBox( in <lambda>() method
/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/
DBadge.kt64 fun BadgedBox( in <lambda>() method
Dcompose-material-3-documentation.md35 | | [BadgedBox] | M3 badged box …
/compose/material3/material3-adaptive-navigation-suite/src/commonMain/kotlin/androidx/compose/material3/adaptive/navigationsuite/
DNavigationSuiteScaffold.kt37 import androidx.compose.material3.BadgedBox in <lambda>()
1602 BadgedBox(badge = { badge.invoke() }) { icon() } in NavigationItemIcon()
/compose/docs/
Dcompose-component-api-guidelines.md1225 * @param modifier the [Modifier] to be applied to this BadgedBox
1230 fun BadgedBox(
/compose/material/material/bcv/native/
D1.7.0.txt340BadgedBox(kotlin/Function1<androidx.compose.foundation.layout/BoxScope, kotlin/Unit>, androidx.com…
D1.8.0-beta02.txt727BadgedBox(kotlin/Function1<androidx.compose.foundation.layout/BoxScope, kotlin/Unit>, androidx.com…
Dcurrent.txt734BadgedBox(kotlin/Function1<androidx.compose.foundation.layout/BoxScope, kotlin/Unit>, androidx.com…
/compose/material/material/api/
Drestricted_1.1.0-beta03.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.3.0-beta02.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.2.0-beta01.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.2.0-beta02.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.1.0-beta04.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.3.0-beta01.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.2.0-beta03.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…
Drestricted_1.3.0-beta03.txt52 …method @androidx.compose.runtime.Composable public static void BadgedBox(kotlin.jvm.functions.Func…

1234