Home
last modified time | relevance | path

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

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityViewTreeReportingTest.java116 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton); in testDescendantsOfNotImportantViewReportedInOrder1() local
117 assertEquals(firstButton, firstFrameLayout.getChild(2)); in testDescendantsOfNotImportantViewReportedInOrder1()
171 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton); in testDrawingOrderInImportantParentFollowsXmlOrder() local
175 assertTrue(firstEditText.getDrawingOrder() < firstButton.getDrawingOrder()); in testDrawingOrderInImportantParentFollowsXmlOrder()
180 assertTrue(copyOfFirstEditText.getDrawingOrder() < firstButton.getDrawingOrder()); in testDrawingOrderInImportantParentFollowsXmlOrder()
188 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton);
192 assertTrue(firstEditText.getDrawingOrder() < firstButton.getDrawingOrder());
205 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton);
208 assertTrue(firstButton.getDrawingOrder() < firstTextView.getDrawingOrder());
224 View firstButton = mActivity.findViewById(R.id.firstButton);
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DCompoundButtonTest.java290 GradientDrawable firstButton = (GradientDrawable) mCompoundButton.getButtonDrawable(); in testSetButtonIcon() local
291 assertEquals(GradientDrawable.RECTANGLE, firstButton.getShape()); in testSetButtonIcon()
292 assertEquals(ColorStateList.valueOf(Color.BLUE), firstButton.getColor()); in testSetButtonIcon()