Home
last modified time | relevance | path

Searched refs:ViewAsserts (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
DFrameLayoutGravityTest.java21 import android.test.ViewAsserts;
81 ViewAsserts.assertLeftAligned(mParent, mLeftView); in testLeftTopAligned()
82 ViewAsserts.assertTopAligned(mParent, mLeftView); in testLeftTopAligned()
87 ViewAsserts.assertRightAligned(mParent, mRightView); in testRightTopAligned()
88 ViewAsserts.assertTopAligned(mParent, mRightView); in testRightTopAligned()
93 ViewAsserts.assertHorizontalCenterAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned()
94 ViewAsserts.assertTopAligned(mParent, mCenterHorizontalView); in testCenterHorizontalTopAligned()
99 ViewAsserts.assertLeftAligned(mParent, mLeftCenterVerticalView); in testLeftCenterVerticalAligned()
100 ViewAsserts.assertVerticalCenterAligned(mParent, mLeftCenterVerticalView); in testLeftCenterVerticalAligned()
105 ViewAsserts.assertRightAligned(mParent, mRighCenterVerticalView); in testRightCenterVerticalAligned()
[all …]
DFrameLayoutMarginTest.java21 import android.test.ViewAsserts;
65 ViewAsserts.assertLeftAligned(mParent, mLeftView, in testLeftMarginAligned()
71 ViewAsserts.assertRightAligned(mParent, mRightView, in testRightMarginAligned()
77 ViewAsserts.assertTopAligned(mParent, mTopView, in testTopMarginAligned()
83 ViewAsserts.assertBottomAligned(mParent, mBottomView, in testBottomMarginAligned()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DBaselineAlignmentCenterGravityTest.java21 import android.test.ViewAsserts;
58 ViewAsserts.assertTopAligned(mButton1, parent); in testChildrenAligned()
59 ViewAsserts.assertTopAligned(mButton2, parent); in testChildrenAligned()
60 ViewAsserts.assertTopAligned(mButton3, parent); in testChildrenAligned()
61 ViewAsserts.assertBottomAligned(mButton1, parent); in testChildrenAligned()
62 ViewAsserts.assertBottomAligned(mButton2, parent); in testChildrenAligned()
63 ViewAsserts.assertBottomAligned(mButton3, parent); in testChildrenAligned()
64 ViewAsserts.assertTopAligned(mButton1, mButton2); in testChildrenAligned()
65 ViewAsserts.assertTopAligned(mButton2, mButton3); in testChildrenAligned()
66 ViewAsserts.assertBottomAligned(mButton1, mButton2); in testChildrenAligned()
[all …]
DBaselineAlignmentSpinnerButton.java21 import android.test.ViewAsserts;
53 ViewAsserts.assertBaselineAligned(mSpinner, mButton); in testChildrenAligned()
DWeightTest.java21 import android.test.ViewAsserts;
55 ViewAsserts.assertRightAligned(mChild, mContainer); in testLayout()
/frameworks/base/core/tests/coretests/src/android/view/
DViewGroupChildrenTest.java20 import android.test.ViewAsserts;
64 ViewAsserts.assertGroupIntegrity(mGroup); in testAddChild()
65 ViewAsserts.assertGroupContains(mGroup, view); in testAddChild()
81 ViewAsserts.assertGroupIntegrity(mGroup); in testAddChildAtFront()
82 ViewAsserts.assertGroupContains(mGroup, view); in testAddChildAtFront()
99 ViewAsserts.assertGroupIntegrity(mGroup); in testAddChildInMiddle()
100 ViewAsserts.assertGroupContains(mGroup, view); in testAddChildInMiddle()
112 ViewAsserts.assertGroupContains(mGroup, view); in testAddChildren()
123 ViewAsserts.assertGroupIntegrity(mGroup); in testRemoveChild()
127 ViewAsserts.assertGroupIntegrity(mGroup); in testRemoveChild()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DRequestRectangleVisibleTest.java20 import android.test.ViewAsserts;
102 ViewAsserts.assertOffScreenBelow(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
110 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromTop()
111 ViewAsserts.assertHasScreenCoordinates( in testScrollToOffScreenRectangleFromTop()
132 ViewAsserts.assertHasScreenCoordinates( in testScrollToPartiallyOffScreenRectFromTop()
143 ViewAsserts.assertOffScreenAbove(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
150 ViewAsserts.assertOnScreen(mScrollView, mChildToScrollTo); in testScrollToOffScreenRectangleFromBottom()
151 ViewAsserts.assertHasScreenCoordinates( in testScrollToOffScreenRectangleFromBottom()
169 ViewAsserts.assertHasScreenCoordinates( in testScrollToPartiallyOffScreenRectFromBottom()
DRequestRectangleVisibleWithInternalScrollTest.java20 import android.test.ViewAsserts;
67 ViewAsserts.assertOffScreenBelow(mScrollView, mTextBlob); in testMoveToChildWithScrollYBelow()
75 ViewAsserts.assertOnScreen(mScrollView, mTextBlob); in testMoveToChildWithScrollYBelow()
76 ViewAsserts.assertHasScreenCoordinates( in testMoveToChildWithScrollYBelow()
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DHorizontalGravityTest.java20 import android.test.ViewAsserts;
62 ViewAsserts.assertHorizontalCenterAligned(mReference, mCenter); in testCenterGravity()
67 ViewAsserts.assertLeftAligned(mReference, mLeft); in testLeftGravity()
72 ViewAsserts.assertRightAligned(mReference, mBottomRight); in testRightGravity()
DVerticalGravityTest.java20 import android.test.ViewAsserts;
69 ViewAsserts.assertTopAligned(mReference1, mTop); in testTopGravity()
74 ViewAsserts.assertVerticalCenterAligned(mReference2, mCenter); in testCenterGravity()
80 ViewAsserts.assertBottomAligned(mReference3, mBottom); in testBottomGravity()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridSetSelectionBaseTest.java20 import android.test.ViewAsserts;
69 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToTheEnd()
85 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToMiddle()
100 ViewAsserts.assertOnScreen(mGridView, mGridView.getSelectedView()); in testSetSelectionToTheTop()
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java35 public class ViewAsserts { class
37 private ViewAsserts() {} in ViewAsserts() method in ViewAsserts
/frameworks/base/test-runner/api/
Dcurrent.txt236 @Deprecated public class ViewAsserts {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29135 public class ViewAsserts {