Home
last modified time | relevance | path

Searched refs:BOTTOM (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DClipDrawableTest.java72 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 …]
DScaleDrawableTest.java364 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/
DPopupWindowTest.java379 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 …]
DRelativeLayoutTest.java146 () -> 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()
DFrameLayout_LayoutParamsTest.java96 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor()
DRadioGroup_LayoutParamsTest.java114 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
DToastTest.java674 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());
DGridLayoutTest.java120 new Alignment("BOTTOM", Gravity.BOTTOM) {
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java56 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/
DGravityTest.java85 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/
DSlideDefaultEdgeTest.java36 assertEquals(Gravity.BOTTOM, slide.getSlideEdge()); in testDefaultSide()
DSlideEdgeTest.java52 { Gravity.BOTTOM, "BOTTOM" },
215 case Gravity.BOTTOM: in verifyMovement()
226 if (slideEdge == Gravity.TOP || slideEdge == Gravity.BOTTOM) { in verifyMovement()
DPropagationTest.java97 propagation.setSide(Gravity.BOTTOM);
/cts/tests/framework/base/windowmanager/src/android/server/wm/insets/
DWindowInsetsLayoutTests.java112 testSetFitInsetsSidesInner(Side.BOTTOM, activity); in testSetFitInsetsSides()
137 if ((sides & Side.BOTTOM) != 0) { in testSetFitInsetsSidesInner()
DDisplayCutoutTests.java115 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/
DOnScreenPositionTest.java68 .setWatermarkGravity(Gravity.CENTER_HORIZONTAL | Gravity.BOTTOM))) { in testImeIsNotBehindNavBar() argument
DImeInsetsVisibilityTest.java333 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/
DToastTest.java390 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/
DMoveAnimationTests.java103 attrs.gravity = Gravity.RIGHT | Gravity.BOTTOM; in setContentSquare()
DDialogFrameTestActivity.java148 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
DActivityTransitionTests.java23 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/
DMainActivity.java97 layout.setGravity(Gravity.BOTTOM); in onCreate()
/cts/tests/tests/security/src/android/security/cts/
DFlagSlipperyTest.kt298 wmlp.gravity = Gravity.BOTTOM or Gravity.RIGHT in onTouch()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DStep.java411 params.gravity = Gravity.BOTTOM; in swap()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java341 case Gravity.BOTTOM: in layoutBoxChildren()

12