Home
last modified time | relevance | path

Searched refs:onElement (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/transformation/
DEdgeTranslateTest.kt69 before { onElement(TestElements.Foo).assertDoesNotExist() } in testEntersFromTop_startsOutsideLayoutBounds()
70 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, (-100).dp) } in testEntersFromTop_startsOutsideLayoutBounds()
71 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } in testEntersFromTop_startsOutsideLayoutBounds()
72 at(64) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsOutsideLayoutBounds()
73 after { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsOutsideLayoutBounds()
80 before { onElement(TestElements.Foo).assertDoesNotExist() } in testEntersFromTop_startsInsideLayoutBounds()
81 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 0.dp) } in testEntersFromTop_startsInsideLayoutBounds()
82 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 50.dp) } in testEntersFromTop_startsInsideLayoutBounds()
83 at(64) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsInsideLayoutBounds()
84 after { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(100.dp, 100.dp) } in testEntersFromTop_startsInsideLayoutBounds()
[all …]
DAnchoredTranslateTest.kt54 before { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(20.dp, 40.dp) } in testAnchoredTranslateExit()
55 at(0) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(20.dp, 40.dp) } in testAnchoredTranslateExit()
56 at(16) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(25.dp, 30.dp) } in testAnchoredTranslateExit()
57 at(32) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(30.dp, 20.dp) } in testAnchoredTranslateExit()
58 at(48) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(35.dp, 10.dp) } in testAnchoredTranslateExit()
59 after { onElement(TestElements.Bar).assertDoesNotExist() } in testAnchoredTranslateExit()
78 before { onElement(TestElements.Bar).assertDoesNotExist() } in testAnchoredTranslateEnter()
79 at(0) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(0.dp, 80.dp) } in testAnchoredTranslateEnter()
80 at(16) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(5.dp, 70.dp) } in testAnchoredTranslateEnter()
81 at(32) { onElement(TestElements.Bar).assertPositionInRootIsEqualTo(10.dp, 60.dp) } in testAnchoredTranslateEnter()
[all …]
DSharedElementTest.kt62 onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) in testSharedElement()
63 onElement(TestElements.Foo).assertSizeIsEqualTo(20.dp, 80.dp) in testSharedElement()
68 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
70 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
75 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
77 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
82 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
84 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
89 onElement(TestElements.Foo, TestScenes.SceneA).assertIsNotDisplayed() in testSharedElement()
91 onElement(TestElements.Foo, TestScenes.SceneB) in testSharedElement()
[all …]
DTranslateTest.kt52 before { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } in testTranslateExit()
53 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(10.dp, 50.dp) } in testTranslateExit()
54 at(16) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(15.dp, 40.dp) } in testTranslateExit()
55 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(20.dp, 30.dp) } in testTranslateExit()
56 at(48) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(25.dp, 20.dp) } in testTranslateExit()
57 after { onElement(TestElements.Foo).assertDoesNotExist() } in testTranslateExit()
75 before { onElement(TestElements.Foo).assertDoesNotExist() } in testTranslateEnter()
76 at(0) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(30.dp, 10.dp) } in testTranslateEnter()
77 at(16) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(25.dp, 20.dp) } in testTranslateEnter()
78 at(32) { onElement(TestElements.Foo).assertPositionInRootIsEqualTo(20.dp, 30.dp) } in testTranslateEnter()
[all …]
DScaleSizeTest.kt51 before { onElement(TestElements.Foo).assertDoesNotExist() } in testScaleSize()
52 at(0) { onElement(TestElements.Foo).assertSizeIsEqualTo(200.dp, 50.dp) } in testScaleSize()
53 at(16) { onElement(TestElements.Foo).assertSizeIsEqualTo(175.dp, 62.5.dp) } in testScaleSize()
54 at(32) { onElement(TestElements.Foo).assertSizeIsEqualTo(150.dp, 75.dp) } in testScaleSize()
55 at(48) { onElement(TestElements.Foo).assertSizeIsEqualTo(125.dp, 87.5.dp) } in testScaleSize()
56 at(64) { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) } in testScaleSize()
57 after { onElement(TestElements.Foo).assertSizeIsEqualTo(100.dp, 100.dp) } in testScaleSize()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DElementScenePickerTest.kt48 onElement(key, TestScenes.SceneA).assertIsDisplayed() in highestZIndexPicker()
49 onElement(key, TestScenes.SceneB).assertDoesNotExist() in highestZIndexPicker()
53 onElement(key, TestScenes.SceneA).assertExists().assertIsNotDisplayed() in highestZIndexPicker()
54 onElement(key, TestScenes.SceneB).assertIsDisplayed() in highestZIndexPicker()
57 onElement(key, TestScenes.SceneA).assertDoesNotExist() in highestZIndexPicker()
58 onElement(key, TestScenes.SceneB).assertIsDisplayed() in highestZIndexPicker()
74 onElement(key, TestScenes.SceneA).assertIsDisplayed() in lowestZIndexPicker()
75 onElement(key, TestScenes.SceneB).assertDoesNotExist() in lowestZIndexPicker()
79 onElement(key, TestScenes.SceneA).assertIsDisplayed() in lowestZIndexPicker()
80 onElement(key, TestScenes.SceneB).assertExists().assertIsNotDisplayed() in lowestZIndexPicker()
[all …]
/frameworks/base/packages/SystemUI/compose/scene/tests/utils/src/com/android/compose/animation/scene/
DTestTransition.kt80 fun onElement(element: ElementKey, scene: SceneKey? = null): SemanticsNodeInteraction in onElement() method
193 override fun onElement( in ComposeContentTestRule() method
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java1595 public boolean onElement(EntryElement elem); in onElement() method
1601 iterator.onElement(mNameData); in iterateAllData()
1618 iterator.onElement(mBirthday); in iterateAllData()
1623 iterator.onElement(mAnniversary); in iterateAllData()
1634 iterator.onElement(elem); in iterateOneList()
1660 public boolean onElement(EntryElement elem) { in onElement() method in VCardEntry.IsIgnorableIterator
1693 public boolean onElement(EntryElement elem) { in onElement() method in VCardEntry.ToStringIterator
1746 public boolean onElement(EntryElement elem) { in onElement() method in VCardEntry.InsertOperationConstrutor
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardEntryTests.java190 public boolean onElement(EntryElement elem) { in onElement() method in VCardEntryTests.MockEntryElementIterator