/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()
|
D | BitmapDrawableTest.java | 354 bitmapDrawable.setGravity(Gravity.BOTTOM); in testGetOpacity()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PopupWindowTest.java | 346 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 …]
|
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 | ToastTest.java | 355 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());
|
D | FrameLayout_LayoutParamsTest.java | 96 fllp.gravity = Gravity.BOTTOM; in testCopyConstructor()
|
D | RadioGroup_LayoutParamsTest.java | 114 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
|
D | GridLayoutTest.java | 117 new Alignment("BOTTOM", Gravity.BOTTOM) {
|
D | GalleryTest.java | 207 setGalleryGravity(Gravity.BOTTOM); in testSetGravity()
|
D | CompoundButtonTest.java | 307 compoundButton.setGravity(Gravity.BOTTOM); in testOnDraw()
|
D | FrameLayoutTest.java | 216 assertEquals(Gravity.BOTTOM, params.gravity); in testGenerateLayoutParams2()
|
D | RadioGroupTest.java | 320 assertEquals(Gravity.BOTTOM, layoutParams.gravity); in testGenerateLayoutParams()
|
D | LinearLayoutTest.java | 507 () -> parent.setVerticalGravity(Gravity.BOTTOM)); in testBottomGravityOnHorizontalLayout() 509 assertEquals(Gravity.BOTTOM, parent.getGravity() & Gravity.VERTICAL_GRAVITY_MASK); in testBottomGravityOnHorizontalLayout()
|
D | TextViewTest.java | 395 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()
|
D | MagnifierTest.java | 828 layout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); in testSourceBounds_areAdjustedWhenInvalid()
|
/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/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 | 92 propagation.setSide(Gravity.BOTTOM);
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DialogFrameTestActivity.java | 163 params.gravity = Gravity.BOTTOM | Gravity.RIGHT; in testExplicitSizeBottomRightGravity()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowReportingTest.java | 328 params.gravity = Gravity.BOTTOM; in layoutParmsForWindowOnBottom()
|
D | AccessibilityWindowQueryTest.java | 728 params.gravity = Gravity.BOTTOM; in addTwoAppPanelWindows()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | BoxInsetLayout.java | 341 case Gravity.BOTTOM: in layoutBoxChildren()
|