/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/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 379 private static final int BOTTOM = 0x01; field in PopupWindowTest 399 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 401 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 403 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 406 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 408 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 410 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown() 413 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 415 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() 417 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown() [all …]
|
D | RelativeLayoutTest.java | 146 () -> relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT)); in testAccessGravity() 147 assertEquals(Gravity.BOTTOM | Gravity.RIGHT, relativeLayout.getGravity()); in testAccessGravity() 155 () -> relativeLayout.setGravity(Gravity.BOTTOM)); in testAccessGravity() 156 assertEquals(Gravity.BOTTOM | Gravity.START, relativeLayout.getGravity()); in testAccessGravity() 234 () -> relativeLayout.setVerticalGravity(Gravity.BOTTOM)); in testSetVerticalGravity() 235 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 | 674 mToast.setGravity(Gravity.BOTTOM, 0, 0); 680 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 696 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset); 702 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
D | GridLayoutTest.java | 120 new Alignment("BOTTOM", Gravity.BOTTOM) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 56 private static final float BOTTOM = 50.0f; field in PathTest 80 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1() 89 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 208 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1() 217 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2() 238 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testDeprecatedComputeBounds2() 241 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testDeprecatedComputeBounds2() 267 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 270 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 320 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 85 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, mOutRect); in testApply() 90 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, 5, 5, mOutRect); in testApply() 95 applyGravity(Gravity.BOTTOM, 2, 3, false /* LTR direction */); in testApply() 100 applyGravity(Gravity.BOTTOM, 2, 3, true /* RTL direction */); in testApply() 320 verifyOneGravity(Gravity.BOTTOM, Gravity.BOTTOM, false); in testGetAbsoluteGravity() 321 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/insets/ |
D | WindowInsetsLayoutTests.java | 112 testSetFitInsetsSidesInner(Side.BOTTOM, activity); in testSetFitInsetsSides() 137 if ((sides & Side.BOTTOM) != 0) { in testSetFitInsetsSidesInner()
|
D | DisplayCutoutTests.java | 115 static final String BOTTOM = "bottom"; field in DisplayCutoutTests 354 assertCutoutPath(BOTTOM, displayCutout.getBoundingRectBottom(), cutoutPath); in testDisplayCutout_CutoutPaths() 454 assertCutoutIsConsistentWithInset(BOTTOM, cutout, cutout.getSafeInsetBottom(), appBounds); in assertCutoutsAreConsistentWithInsets() 544 hasBound(BOTTOM, cutout, appBounds), is(false)); in assertOnlyShortEdgeHasBounds()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | OnScreenPositionTest.java | 68 .setWatermarkGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM))) { in testImeIsNotBehindNavBar() argument
|
D | ImeInsetsVisibilityTest.java | 333 layout.setGravity(Gravity.BOTTOM); in testEditorWontCoveredByImeWhenInputWindowBehindPanel() 417 layout.setGravity(Gravity.BOTTOM); in launchTestActivity() 475 attrs.gravity = Gravity.BOTTOM; in createChildBottomPanelWindowOnMain()
|
/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/framework/base/windowmanager/src/android/server/wm/animations/ |
D | MoveAnimationTests.java | 103 attrs.gravity = Gravity.RIGHT | Gravity.BOTTOM; in setContentSquare()
|
D | DialogFrameTestActivity.java | 148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
|
D | ActivityTransitionTests.java | 23 import static android.server.wm.animations.ActivityTransitionTests.EdgeExtensionActivity.BOTTOM; 512 extras.putInt(DIRECTION_KEY, BOTTOM); in testBottomEdgeExtensionWorksDuringActivityTransition() 951 static final int BOTTOM = 3; field in ActivityTransitionTests.EdgeExtensionActivity 1031 case BOTTOM: in processIntent()
|
/cts/tests/inputmethod/testapp/src/android/view/inputmethod/ctstestapp/ |
D | MainActivity.java | 97 layout.setGravity(Gravity.BOTTOM); in onCreate()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FlagSlipperyTest.kt | 298 wmlp.gravity = Gravity.BOTTOM or Gravity.RIGHT in onTouch()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | Step.java | 411 params.gravity = Gravity.BOTTOM; in swap()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 341 case Gravity.BOTTOM: in layoutBoxChildren()
|