/cts/tests/tests/widget/src/android/widget/cts/ |
D | LinearLayoutTest.java | 378 assertEquals(0, topView.getLeft()); in testLayoutHorizontal() 379 assertEquals(centerView.getLeft(), topView.getRight()); in testLayoutHorizontal() 384 assertEquals(topView.getRight(), centerView.getLeft()); in testLayoutHorizontal() 385 assertEquals(bottomView.getLeft(), centerView.getRight()); in testLayoutHorizontal() 389 assertEquals(centerView.getRight(), bottomView.getLeft()); in testLayoutHorizontal() 436 assertEquals(0, leftView.getLeft()); in testLayoutVertical() 442 assertEquals(offset, centerView.getLeft()); in testLayoutVertical() 447 assertEquals(parent.getWidth() - rightView.getWidth(), rightView.getLeft()); in testLayoutVertical() 461 int originalLeftViewLeft = leftView.getLeft(); in testVerticalCenterGravityOnHorizontalLayout() 463 int originalCenterViewLeft = centerView.getLeft(); in testVerticalCenterGravityOnHorizontalLayout() [all …]
|
D | GridViewTest.java | 299 assertEquals(0, child1.getLeft() - child0.getRight()); in verifyAccessHorizontalSpacing() 301 assertEquals(0, child0.getLeft() - child1.getRight()); in verifyAccessHorizontalSpacing() 312 assertEquals(5, child1.getLeft() - child0.getRight()); in verifyAccessHorizontalSpacing() 314 assertEquals(5, child0.getLeft() - child1.getRight()); in verifyAccessHorizontalSpacing() 445 assertEquals(child0.getLeft(), child9.getLeft()); 452 assertEquals(0, child.getLeft() - mGridView.getListPaddingLeft()); 535 assertEquals(child0.getLeft(), child2.getLeft()); in testAccessColumnWidth() 547 assertEquals(child0.getLeft(), child1.getLeft()); in testAccessColumnWidth()
|
D | RelativeLayout_LayoutParamsTest.java | 129 assertEquals(view1.getRight(), view3.getLeft()); in testConstructor() 180 assertEquals(view1.getLeft(), view8.getRight()); in testConstructor() 245 assertEquals(view1.getRight(), view3.getLeft()); in testStartEnd() 338 assertEquals(view1.getLeft(), view8.getRight()); in testStartEnd()
|
D | GridLayoutTest.java | 78 return v.getLeft(); 84 return (v.getLeft() + v.getRight()) / 2;
|
D | HorizontalScrollViewTest.java | 488 assertEquals(0, child.getLeft()); in testFillViewport() 509 assertEquals(3, child.getLeft()); in testFillViewportWithScrollViewPadding() 534 assertEquals(3, child.getLeft()); in testFillViewportWithChildMargins() 555 assertEquals(3, child.getLeft()); in testFillViewportWithScrollViewPaddingAlreadyFills() 582 assertEquals(3, child.getLeft()); in testFillViewportWithChildMarginsAlreadyFills()
|
D | AbsSpinnerTest.java | 269 mAbsSpinner.layout(mAbsSpinner.getLeft(), mAbsSpinner.getTop(), in testOnSaveAndRestoreInstanceState()
|
D | AutoCompleteTextViewTest.java | 712 assertEquals(0, mMockAutoCompleteTextView.getLeft()); in testSetFrame() 719 assertEquals(0, mMockAutoCompleteTextView.getLeft()); in testSetFrame() 726 assertEquals(2, mMockAutoCompleteTextView.getLeft()); in testSetFrame()
|
D | GalleryTest.java | 133 assertEquals(v0.getRight() + spacing, v1.getLeft()); in setSpacingAndCheck()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | ViewAttributesTest.java | 239 assertThat(doubleNestedView.getLeft()).isEqualTo( 251 assertThat(tripleNestedView.getLeft()).isEqualTo(37); // doubleNestedView.left 276 assertThat(nestedView.getLeft()).isEqualTo(7); // outerView.left 288 assertThat(doubleNestedView.getLeft()).isEqualTo(19); // nestedView.left
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarBaseActivity.java | 48 public int getLeft() { in getLeft() method in LightBarBaseActivity
|
D | LightBarTestBase.java | 56 return Bitmap.createBitmap(fullBitmap, activity.getLeft(), 0, in takeStatusBarScreenshot() 62 return Bitmap.createBitmap(fullBitmap, activity.getLeft(), activity.getBottom(), in takeNavigationBarScreenshot()
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | UiScalingTestActivity.java | 101 new Rect(v.getLeft(), v.getTop(), v.getRight(), v.getBottom())); in handleCommand() 104 new Rect(t.getLeft(), t.getTop(), t.getRight(), t.getBottom())); in handleCommand()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewPaddingTest.java | 70 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testPadding() 100 assertEquals("Left", defaultBounds.left + insetLeft, view.getLeft()); in checkBounds()
|
D | ViewGroup_MarginLayoutParamsTest.java | 243 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testVerticalHorizontalMargins() 264 assertEquals("Left", defaultBounds.left + insetLeft, view.getLeft()); in checkBounds()
|
D | View_LayoutPositionTest.java | 88 assertEquals(left, view.getLeft()); in testPositionInParent()
|
D | View_FocusHandlingTest.java | 334 v5.setRight(v5.getLeft()); in testSizeHandling() 363 butInScroll.setRight(v5.getLeft()); in testSizeHandling() 546 but.setRight(but.getLeft() + 10); in testFocusAfterDescendantsTransfer()
|
D | FocusFinderTest.java | 137 Rect topRect = new Rect(mTopLeft.getLeft() + buttonHalfWidth, in testFindNextFocusFromRect() 155 Rect leftRect = new Rect(mTopLeft.getLeft(), in testFindNextFocusFromRect()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/view/ |
D | AlphaTestView.java | 69 canvas.drawRect(getLeft(), getTop(), getRight(), getBottom(), mPaint); in onDraw()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeClipBoundsTest.java | 55 final Rect newClip = new Rect(redSquare.getLeft() + 10, redSquare.getTop() + 10, in testChangeClipBounds()
|
D | ChangeBoundsTest.java | 308 assertEquals(0, aboveSquare.getLeft()); in validateViewPlacement() 315 assertEquals(0, belowSquare.getLeft()); in validateViewPlacement() 475 new Rect(view.getLeft(), view.getTop(), view.getRight(), view.getBottom()); in PositionAndClip()
|
D | TransitionManagerTest.java | 123 Rect nextPosition = new Rect(view.getLeft(), view.getTop(), in watchForRedSquareMoving()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityEndToEndActivity.java | 81 v.getLeft(), 0, v.getRight() + touchableSize, v.getHeight()); in onCreate()
|
/cts/tests/tests/assist/src/android/assist/cts/ |
D | AssistTestBase.java | 461 assertWithMessage("Window left position wrong: was %s", windowNode.getLeft()) in verifyHierarchy() 462 .that(appLocationOnScreen[0]).isEqualTo(windowNode.getLeft()); in verifyHierarchy() 616 assertWithMessage("Left positions do not match").that(parentNode.getLeft()) in verifyViewProperties() 617 .isEqualTo(parentView.getLeft()); in verifyViewProperties()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/animations/ |
D | LocationInWindowTests.java | 129 expected[0] += v.getLeft(); in assertThatViewGetLocationInWindowIsCorrect()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | EnsureBarContrastTest.java | 301 new Rect(dv.getLeft(), dv.getTop(), dv.getRight(), dv.getBottom()));
|