/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 72 new ClipDrawable((Drawable) null, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testClipDrawable() 75 new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testClipDrawable() 83 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testDraw() 104 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetChangingConfigurations() 121 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetConstantState() 125 clipDrawable = new ClipDrawable(mockDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetConstantState() 136 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicHeight() 142 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicHeight() 151 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicWidth() 157 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicWidth() [all …]
|
D | ScaleDrawableTest.java | 364 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 368 Gravity.apply(Gravity.BOTTOM | Gravity.RIGHT, in testOnBoundsChange() 380 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 391 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 46 private static final float BOTTOM = 50.0f; field in PathTest 63 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1() 72 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 188 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1() 197 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2() 218 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 221 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 271 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval() 318 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect1() 327 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect2() [all …]
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 355 private static final int BOTTOM = 0x01; field in PopupWindowTest 375 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 377 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 379 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 382 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 384 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 386 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 389 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 391 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 393 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() [all …]
|
D | RelativeLayoutTest.java | 138 () -> relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT)); in testAccessGravity() 139 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity() 147 () -> relativeLayout.setGravity(Gravity.BOTTOM)); in testAccessGravity() 148 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity() 226 () -> relativeLayout.setVerticalGravity(Gravity.BOTTOM)); in testSetVerticalGravity() 227 assertEquals(Gravity.BOTTOM, Gravity.VERTICAL_GRAVITY_MASK & relativeLayout.getGravity()); in testSetVerticalGravity()
|
D | FrameLayout_LayoutParamsTest.java | 96 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor()
|
D | RadioGroup_LayoutParamsTest.java | 114 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
|
D | ToastTest.java | 611 mToast.setGravity(Gravity.BOTTOM, 0, 0); 617 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 633 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset); 639 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
D | GridLayoutTest.java | 117 new Alignment("BOTTOM", Gravity.BOTTOM) {
|
D | GalleryTest.java | 207 setGalleryGravity(Gravity.BOTTOM); in testSetGravity()
|
D | FrameLayoutTest.java | 216 assertEquals(Gravity.BOTTOM, params.gravity); in testGenerateLayoutParams2()
|
D | CompoundButtonTest.java | 342 compoundButton.setGravity(Gravity.BOTTOM); in testOnDraw()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 83 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, mOutRect); in testApply() 88 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, 5, 5, mOutRect); in testApply() 93 applyGravity(Gravity.BOTTOM, 2, 3, false /* LTR direction */); in testApply() 98 applyGravity(Gravity.BOTTOM, 2, 3, true /* RTL direction */); in testApply() 318 verifyOneGravity(Gravity.BOTTOM, Gravity.BOTTOM, false); in testGetAbsoluteGravity() 319 verifyOneGravity(Gravity.BOTTOM, Gravity.BOTTOM, true); in testGetAbsoluteGravity()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | SlideDefaultEdgeTest.java | 36 assertEquals(Gravity.BOTTOM, slide.getSlideEdge()); in testDefaultSide()
|
D | SlideEdgeTest.java | 52 { Gravity.BOTTOM, "BOTTOM" }, 215 case Gravity.BOTTOM: in verifyMovement() 226 if (slideEdge == Gravity.TOP || slideEdge == Gravity.BOTTOM) { in verifyMovement()
|
D | PropagationTest.java | 97 propagation.setSide(Gravity.BOTTOM);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowInsetsLayoutTests.java | 121 testSetFitInsetsSidesInner(Side.BOTTOM, activity, mainWindowRoot); in testSetFitInsetsSides() 144 assertEquals((sides & Side.BOTTOM) != 0 ? insets.bottom : 0, in testSetFitInsetsSidesInner()
|
D | DisplayCutoutTests.java | 100 static final String BOTTOM = "bottom"; field in DisplayCutoutTests 244 assertCutoutPath(BOTTOM, displayCutout.getBoundingRectBottom(), cutoutPath); in testDisplayCutout_CutoutPaths() 340 assertCutoutIsConsistentWithInset(BOTTOM, cutout, cutout.getSafeInsetBottom(), appBounds); in assertCutoutsAreConsistentWithInsets() 419 hasBound(BOTTOM, cutout, appBounds), is(false)); in assertOnlyShortEdgeHasBounds()
|
D | DialogFrameTestActivity.java | 148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
|
/cts/tests/tests/widget29/src/android/widget/cts29/ |
D | ToastTest.java | 390 mToast.setGravity(Gravity.BOTTOM, 0, 0); 396 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 412 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset); 418 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | ImeInsetsVisibilityTest.java | 180 attrs.gravity = Gravity.BOTTOM; in testImeVisibilityWhenImeFocusableGravityBottomChildPopup() 229 attrs.gravity = Gravity.BOTTOM; in testImeVisibilityWhenImeFocusableChildPopupOverlaps() 343 layout.setGravity(Gravity.BOTTOM); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() 427 layout.setGravity(Gravity.BOTTOM); in launchTestActivity()
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 93 layout.setGravity(Gravity.BOTTOM); in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FlagSlipperyTest.kt | 294 wmlp.gravity = Gravity.BOTTOM or Gravity.RIGHT in onTouch()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 341 case Gravity.BOTTOM: in layoutBoxChildren()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 440 params.gravity = Gravity.BOTTOM; in layoutParmsForWindowOnBottom()
|