Home
last modified time | relevance | path

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

/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()
DBitmapDrawableTest.java354 bitmapDrawable.setGravity(Gravity.BOTTOM); in testGetOpacity()
/cts/tests/tests/widget/src/android/widget/cts/
DPopupWindowTest.java346 private static final int BOTTOM = 0x01; field in PopupWindowTest
366 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
368 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
370 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
373 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
375 LEFT, EQUAL_TO, LEFT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
377 RIGHT, EQUAL_TO, RIGHT, TOP, EQUAL_TO, BOTTOM); in testShowAsDropDown()
380 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown()
382 LEFT, EQUAL_TO, LEFT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown()
384 RIGHT, EQUAL_TO, RIGHT, BOTTOM, EQUAL_TO, TOP); in testShowAsDropDown()
[all …]
DRelativeLayoutTest.java138 () -> 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()
DToastTest.java355 mToast.setGravity(Gravity.BOTTOM, 0, 0);
361 assertEquals(Gravity.BOTTOM, mToast.getGravity());
377 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset);
383 assertEquals(Gravity.BOTTOM, mToast.getGravity());
DFrameLayout_LayoutParamsTest.java96 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor()
DRadioGroup_LayoutParamsTest.java114 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
DGridLayoutTest.java117 new Alignment("BOTTOM", Gravity.BOTTOM) {
DGalleryTest.java207 setGalleryGravity(Gravity.BOTTOM); in testSetGravity()
DCompoundButtonTest.java307 compoundButton.setGravity(Gravity.BOTTOM); in testOnDraw()
DFrameLayoutTest.java216 assertEquals(Gravity.BOTTOM, params.gravity); in testGenerateLayoutParams2()
DRadioGroupTest.java320 assertEquals(Gravity.BOTTOM, layoutParams.gravity); in testGenerateLayoutParams()
DLinearLayoutTest.java507 () -> parent.setVerticalGravity(Gravity.BOTTOM)); in testBottomGravityOnHorizontalLayout()
509 assertEquals(Gravity.BOTTOM, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testBottomGravityOnHorizontalLayout()
DTextViewTest.java395 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); in testAccessGravity()
409 mTextView.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in testAccessGravity()
410 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); in testAccessGravity()
1183 mTextView.setGravity(Gravity.BOTTOM); in testSetElegantLineHeight()
2860 mTextView.setGravity(Gravity.BOTTOM); in testGetLineBounds()
2881 mTextView.setGravity(Gravity.BOTTOM); in testGetBaseLine()
2953 mTextView.setGravity(Gravity.BOTTOM); in testSetIncludeFontPadding()
4545 mTextView.setGravity(Gravity.BOTTOM); in testGetExtendedPaddingTop()
4582 mTextView.setGravity(Gravity.BOTTOM); in testGetTotalPaddingTop()
DMagnifierTest.java828 layout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); in testSourceBounds_areAdjustedWhenInvalid()
/cts/tests/tests/graphics/src/android/graphics/cts/
DPathTest.java46 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/view/src/android/view/cts/
DGravityTest.java83 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/
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.java92 propagation.setSide(Gravity.BOTTOM);
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDialogFrameTestActivity.java163 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java328 params.gravity = Gravity.BOTTOM; in layoutParmsForWindowOnBottom()
DAccessibilityWindowQueryTest.java728 params.gravity = Gravity.BOTTOM; in addTwoAppPanelWindows()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DBoxInsetLayout.java341 case Gravity.BOTTOM: in layoutBoxChildren()