Home
last modified time | relevance | path

Searched refs:rootLinearLayout (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityFocusAndInputFocusSyncTest.java138 final AccessibilityNodeInfo rootLinearLayout = sUiAutomation in testActionAccessibilityFocus() local
140 sInstrumentation.getContext().getString(R.string.rootLinearLayout)).get(0); in testActionAccessibilityFocus()
141 assertNotNull(rootLinearLayout); in testActionAccessibilityFocus()
142 assertFalse(rootLinearLayout.isAccessibilityFocused()); in testActionAccessibilityFocus()
145 () -> assertTrue(rootLinearLayout.performAction(ACTION_ACCESSIBILITY_FOCUS)), in testActionAccessibilityFocus()
151 rootLinearLayout.refresh(); in testActionAccessibilityFocus()
154 assertTrue(rootLinearLayout.isAccessibilityFocused()); in testActionAccessibilityFocus()
162 final AccessibilityNodeInfo rootLinearLayout = sUiAutomation in testActionClearAccessibilityFocus() local
164 sInstrumentation.getContext().getString(R.string.rootLinearLayout)).get(0); in testActionClearAccessibilityFocus()
165 assertNotNull(rootLinearLayout); in testActionClearAccessibilityFocus()
[all …]
DAccessibilityViewTreeReportingTest.java127 AccessibilityNodeInfo rootLinearLayout = in testDescendantsOfNotImportantViewReportedInOrder3() local
128 getNodeByText(R.string.rootLinearLayout); in testDescendantsOfNotImportantViewReportedInOrder3()
129 assertNotNull(rootLinearLayout); in testDescendantsOfNotImportantViewReportedInOrder3()
130 assertSame(4, rootLinearLayout.getChildCount()); in testDescendantsOfNotImportantViewReportedInOrder3()
135 assertEquals(firstFrameLayout, rootLinearLayout.getChild(0)); in testDescendantsOfNotImportantViewReportedInOrder3()
139 assertEquals(secondTextView, rootLinearLayout.getChild(1)); in testDescendantsOfNotImportantViewReportedInOrder3()
143 assertEquals(secondEditText, rootLinearLayout.getChild(2)); in testDescendantsOfNotImportantViewReportedInOrder3()
147 assertEquals(secondButton, rootLinearLayout.getChild(3)); in testDescendantsOfNotImportantViewReportedInOrder3()
204 LinearLayout rootLinearLayout =
205 (LinearLayout) mActivity.findViewById(R.id.rootLinearLayout);
[all …]