Home
last modified time | relevance | path

Searched refs:getBoundsInRoot (Results 1 – 25 of 125) sorted by relevance

12345

/compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/
DNavigationDrawerItemTest.kt38 import androidx.compose.ui.test.getBoundsInRoot
128 rule.onNodeWithText("Label", useUnmergedTree = true).getBoundsInRoot().left - in navigationDrawerItem_paddings()
129 rule.onNodeWithTag("icon", useUnmergedTree = true).getBoundsInRoot().right in navigationDrawerItem_paddings()
134 rule.onRoot().getBoundsInRoot().right - in navigationDrawerItem_paddings()
135 rule.onNodeWithText("Badge", useUnmergedTree = true).getBoundsInRoot().right in navigationDrawerItem_paddings()
DAppBarTest.kt70 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
404 val titleBounds = rule.onNodeWithTag(TitleTestTag).getBoundsInRoot() in <lambda>()
405 val subtitleBounds = rule.onNodeWithTag(SubtitleTestTag).getBoundsInRoot() in <lambda>()
783 val titleBounds = rule.onNodeWithTag(TitleTestTag).getBoundsInRoot() in <lambda>()
784 val subtitleBounds = rule.onNodeWithTag(SubtitleTestTag).getBoundsInRoot() in <lambda>()
822 val titleBounds = rule.onNodeWithTag(TitleTestTag).getBoundsInRoot() in <lambda>()
823 val subtitleBounds = rule.onNodeWithTag(SubtitleTestTag).getBoundsInRoot() in <lambda>()
1149 val titleBounds = rule.onNodeWithTag(TitleTestTag).getBoundsInRoot() in <lambda>()
1150 val subtitleBounds = rule.onNodeWithTag(SubtitleTestTag).getBoundsInRoot() in <lambda>()
1188 val titleBounds = rule.onNodeWithTag(TitleTestTag).getBoundsInRoot() in <lambda>()
[all …]
DDateInputTest.kt38 import androidx.compose.ui.test.getBoundsInRoot
385 val withoutErrorBounds = rule.onNodeWithTag(DateInputTestTag).getBoundsInRoot() in heightUnchangedWithError()
389 val withErrorBounds = rule.onNodeWithTag(DateInputTestTag).getBoundsInRoot() in heightUnchangedWithError()
DSnackbarTest.kt35 import androidx.compose.ui.test.getBoundsInRoot
214 val buttonBounds = rule.onNodeWithText("Undo").getBoundsInRoot() in snackbar_shortTextAndButton_alignment()
DTabTest.kt60 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
416 val tabRowBounds = rule.onNodeWithTag("tabRow").getBoundsInRoot() in <lambda>()
710 val tabRowBounds = rule.onNodeWithTag("tabRow").getBoundsInRoot() in <lambda>()
DTextFieldTest.kt100 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
206 .getBoundsInRoot() in <lambda>()
247 .getBoundsInRoot() in <lambda>()
277 .getBoundsInRoot() in <lambda>()
DSliderTest.kt63 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
1192 val thumbNodeBounds = rule.onNodeWithTag(it, true).getBoundsInRoot() in <lambda>()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/modifiers/
DSelectionControllerTest.kt38 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
132 rule.onNodeWithTag(boxTag).getBoundsInRoot().toRect().roundToIntRect().topLeft in <lambda>()
134 rule.onNodeWithTag(tag).getBoundsInRoot().toRect().roundToIntRect().centerRight in <lambda>()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/layout/
DLazyLayoutTest.kt42 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
114 assertThat(rule.onNodeWithTag("0").getBoundsInRoot()) in <lambda>()
116 assertThat(rule.onNodeWithTag("1").getBoundsInRoot()) in <lambda>()
140 assertThat(rule.onNodeWithTag("0x0").getBoundsInRoot()) in <lambda>()
142 assertThat(rule.onNodeWithTag("0x1").getBoundsInRoot()) in <lambda>()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/contextmenu/
DContextMenuCommon.kt29 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
153 with(density) { onAllNodes(isRoot()).onFirst().getBoundsInRoot().toRect().roundToIntRect() } in clickOffPopup()
DContextMenuAreaTest.kt40 import androidx.compose.ui.test.getBoundsInRoot
187 with(rule.density) { rule.onAllNodes(isRoot()).onFirst().getBoundsInRoot().toRect() } in whenContextMenu_clickOffPopup_closesPopup()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/list/
DLazyListItemDisappearanceAnimationTest.kt48 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
242 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
282 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/grid/
DLazyGridItemDisappearanceAnimationTest.kt42 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
286 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
326 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
DLazyGridTest.kt83 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
1220 val bounds1 = rule.onNodeWithTag("1").assertExists().getBoundsInRoot() in <lambda>()
1226 val bounds2 = rule.onNodeWithTag("2").assertExists().getBoundsInRoot() in <lambda>()
/compose/foundation/foundation/integration-tests/lazy-tests/src/androidTest/kotlin/androidx/compose/foundation/lazy/staggeredgrid/
DLazyStaggeredGridItemDisappearanceAnimationTest.kt42 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
237 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
277 val heightDp = rule.onNodeWithTag(ContainerTag).getBoundsInRoot().height in <lambda>()
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/actions/
DScrollToNodeTest.kt43 import androidx.compose.ui.test.getBoundsInRoot
199 val viewportBounds = rule.onNodeWithTag(containerTag).getBoundsInRoot().toPx() in scrollToTarget()
DScrollToTest.kt49 import androidx.compose.ui.test.getBoundsInRoot
196 val viewportBounds = rule.onNodeWithTag(containerTag).getBoundsInRoot().toPx() in scrollToTarget()
/compose/material/material/src/androidInstrumentedTest/kotlin/androidx/compose/material/
DTabTest.kt52 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
320 val tabRowBounds = rule.onNodeWithTag("tabRow").getBoundsInRoot() in <lambda>()
541 val tabRowBounds = rule.onNodeWithTag("tabRow").getBoundsInRoot() in <lambda>()
DButtonTest.kt65 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
210 rule.onNode(hasClickAction()).getBoundsInRoot().height.assertIsEqualTo(36.dp, "height") in <lambda>()
537 with(getBoundsInRoot()) { in <lambda>()
DSnackbarTest.kt41 import androidx.compose.ui.test.getBoundsInRoot
190 val buttonBounds = rule.onNodeWithText("Undo").getBoundsInRoot() in snackbar_shortTextAndButton_alignment()
/compose/ui/ui-test/src/androidInstrumentedTest/kotlin/androidx/compose/ui/test/assertions/
DBoundsAssertionsTest.kt58 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
308 getBoundsInRoot().let { in <lambda>()
585 assertThat(textNode.getBoundsInRoot().topLeft).isEqualTo(DpOffset(offset, offset)) in <lambda>()
/compose/foundation/foundation/src/androidInstrumentedTest/kotlin/androidx/compose/foundation/text/contextmenu/internal/
DDefaultTextContextMenuDropdownProviderTest.kt54 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
122 with(rule.density) { rule.onAllNodes(isRoot()).onFirst().getBoundsInRoot().toRect() } in <lambda>()
/compose/ui/ui-test/src/commonMain/kotlin/androidx/compose/ui/test/
DBoundsAssertions.kt158 fun SemanticsNodeInteraction.getBoundsInRoot(): DpRect { in SemanticsNodeInteraction() method
/compose/ui/ui/src/androidInstrumentedTest/kotlin/androidx/compose/ui/
DAndroidAccessibilityTest.kt169 import androidx.compose.ui.test.getBoundsInRoot in <lambda>()
3370 with(rule.density) { rule.onNodeWithTag(tag).getBoundsInRoot().toRect() } in <lambda>()
3404 with(rule.density) { rule.onNodeWithTag(childTwoTag).getBoundsInRoot().toRect() } in <lambda>()
3449 with(rule.density) { rule.onNodeWithTag(tag).getBoundsInRoot().toRect() } in <lambda>()
3471 val bounds = with(rule.density) { rule.onNodeWithTag(tag).getBoundsInRoot().toRect() } in <lambda>()
3523 val bounds = with(rule.density) { rule.onNodeWithTag(tag).getBoundsInRoot().toRect() } in <lambda>()
3550 with(rule.density) { rule.onNodeWithTag(innertag, true).getBoundsInRoot().toRect() } in <lambda>()
3707 val bounds = with(rule.density) { rule.onNodeWithTag(textTag).getBoundsInRoot().toRect() } in <lambda>()
4197 val bounds = with(rule.density) { rule.onNodeWithTag(tag).getBoundsInRoot().toRect() } in <lambda>()
/compose/ui/ui-test/bcv/native/
D1.7.0.txt216 …oidx.compose.ui.test/getBoundsInRoot(): androidx.compose.ui.unit/DpRect // androidx.compose.ui.tes…

12345