Home
last modified time | relevance | path

Searched refs:getLeft (Results 1 – 25 of 37) sorted by relevance

12

/cts/tests/tests/widget/src/android/widget/cts/
DLinearLayoutTest.java378 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 …]
DGridViewTest.java299 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()
DRelativeLayout_LayoutParamsTest.java129 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()
DGridLayoutTest.java78 return v.getLeft();
84 return (v.getLeft() + v.getRight()) / 2;
DHorizontalScrollViewTest.java488 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()
DAbsSpinnerTest.java269 mAbsSpinner.layout(mAbsSpinner.getLeft(), mAbsSpinner.getTop(), in testOnSaveAndRestoreInstanceState()
DAutoCompleteTextViewTest.java712 assertEquals(0, mMockAutoCompleteTextView.getLeft()); in testSetFrame()
719 assertEquals(0, mMockAutoCompleteTextView.getLeft()); in testSetFrame()
726 assertEquals(2, mMockAutoCompleteTextView.getLeft()); in testSetFrame()
DGalleryTest.java133 assertEquals(v0.getRight() + spacing, v1.getLeft()); in setSpacingAndCheck()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DViewAttributesTest.java239 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/
DLightBarBaseActivity.java48 public int getLeft() { in getLeft() method in LightBarBaseActivity
DLightBarTestBase.java56 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/
DUiScalingTestActivity.java101 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/
DViewPaddingTest.java70 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testPadding()
100 assertEquals("Left", defaultBounds.left + insetLeft, view.getLeft()); in checkBounds()
DViewGroup_MarginLayoutParamsTest.java243 Rect defaultBounds = new Rect(view1.getLeft(), view1.getTop(), view1.getRight(), in testVerticalHorizontalMargins()
264 assertEquals("Left", defaultBounds.left + insetLeft, view.getLeft()); in checkBounds()
DView_LayoutPositionTest.java88 assertEquals(left, view.getLeft()); in testPositionInParent()
DView_FocusHandlingTest.java334 v5.setRight(v5.getLeft()); in testSizeHandling()
363 butInScroll.setRight(v5.getLeft()); in testSizeHandling()
546 but.setRight(but.getLeft() + 10); in testFocusAfterDescendantsTransfer()
DFocusFinderTest.java137 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/
DAlphaTestView.java69 canvas.drawRect(getLeft(), getTop(), getRight(), getBottom(), mPaint); in onDraw()
/cts/tests/tests/transition/src/android/transition/cts/
DChangeClipBoundsTest.java55 final Rect newClip = new Rect(redSquare.getLeft() + 10, redSquare.getTop() + 10, in testChangeClipBounds()
DChangeBoundsTest.java308 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()
DTransitionManagerTest.java123 Rect nextPosition = new Rect(view.getLeft(), view.getTop(), in watchForRedSquareMoving()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/
DAccessibilityEndToEndActivity.java81 v.getLeft(), 0, v.getRight() + touchableSize, v.getHeight()); in onCreate()
/cts/tests/tests/assist/src/android/assist/cts/
DAssistTestBase.java461 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/
DLocationInWindowTests.java129 expected[0] += v.getLeft(); in assertThatViewGetLocationInWindowIsCorrect()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DEnsureBarContrastTest.java301 new Rect(dv.getLeft(), dv.getTop(), dv.getRight(), dv.getBottom()));

12