/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ClipDrawableTest.java | 46 new ClipDrawable((Drawable) null, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testClipDrawable() 49 new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testClipDrawable() 56 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testDraw() 76 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetChangingConfigurations() 91 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetConstantState() 95 clipDrawable = new ClipDrawable(mockDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetConstantState() 105 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicHeight() 111 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicHeight() 119 Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicWidth() 125 clipDrawable = new ClipDrawable(bmpDrawable, Gravity.BOTTOM, ClipDrawable.HORIZONTAL); in testGetIntrinsicWidth() [all …]
|
D | ScaleDrawableTest.java | 336 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 340 Gravity.apply(Gravity.BOTTOM | Gravity.RIGHT, in testOnBoundsChange() 352 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange() 363 mockDrawable, Gravity.BOTTOM | Gravity.RIGHT, scaleWidth, scaleHeight); in testOnBoundsChange()
|
D | BitmapDrawableTest.java | 281 bitmapDrawable.setGravity(Gravity.BOTTOM); in testGetOpacity()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 30 private static final float BOTTOM = 50.0f; field in PathTest 47 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRect1() 57 path.addRect(LEFT, TOP, RIGHT, BOTTOM, Path.Direction.CW); in testAddRect2() 155 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo1() 164 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testArcTo2() 186 RectF expected = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 190 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() 246 RectF oval = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddOval() 297 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect1() 306 RectF rect = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testAddRoundRect2() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | GravityTest.java | 72 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, mOutRect); in testApply() 77 Gravity.apply(Gravity.BOTTOM, 2, 3, mInRect, 5, 5, mOutRect); in testApply() 82 applyGravity(Gravity.BOTTOM, 2, 3, mInRect, mOutRect, false /* LTR direction */); in testApply() 87 applyGravity(Gravity.BOTTOM, 2, 3, mInRect, mOutRect, true /* RTL direction */); in testApply() 304 assertOneGravity(Gravity.BOTTOM, Gravity.BOTTOM, false); in testGetAbsoluteGravity() 305 assertOneGravity(Gravity.BOTTOM, Gravity.BOTTOM, true); in testGetAbsoluteGravity()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ToastTest.java | 304 mToast.setGravity(Gravity.BOTTOM, 0, 0); 312 assertEquals(Gravity.BOTTOM, mToast.getGravity()); 329 mToast.setGravity(Gravity.BOTTOM, xOffset, yOffset); 337 assertEquals(Gravity.BOTTOM, mToast.getGravity());
|
D | RelativeLayoutTest.java | 125 relativeLayout.setGravity(Gravity.BOTTOM | Gravity.RIGHT); in testSetGravity() 137 relativeLayout.setGravity(Gravity.BOTTOM); in testSetGravity() 227 relativeLayout.setVerticalGravity(Gravity.BOTTOM); in testSetVerticalGravity()
|
D | TextViewTest.java | 308 assertEquals(Gravity.BOTTOM | Gravity.START, mTextView.getGravity()); in testAccessGravity() 322 mTextView.setGravity(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL); in testAccessGravity() 323 assertEquals(Gravity.BOTTOM | Gravity.CENTER_HORIZONTAL, mTextView.getGravity()); in testAccessGravity() 2111 mTextView.setGravity(Gravity.BOTTOM); in testGetLineBounds() 2132 mTextView.setGravity(Gravity.BOTTOM); in testGetBaseLine() 2157 mTextView.setGravity(Gravity.BOTTOM); in testSetIncludeFontPadding() 2793 mTextView.setGravity(Gravity.BOTTOM); in testGetExtendedPaddingTop() 2829 mTextView.setGravity(Gravity.BOTTOM); in testGetTotalPaddingTop() 4197 final int BOTTOM = 3; in testDrawableResolution() local 4212 ((BitmapDrawable) drawables[BOTTOM]).getBitmap()); in testDrawableResolution() [all …]
|
D | RadioGroup_LayoutParamsTest.java | 120 assertEquals(Gravity.BOTTOM, mLayoutParams.gravity); in testConstructor()
|
D | GridLayoutTest.java | 103 new Alignment("BOTTOM", Gravity.BOTTOM) {
|
D | GalleryTest.java | 215 setGalleryGravity(Gravity.BOTTOM); in testSetGravity()
|
D | FrameLayoutTest.java | 224 assertEquals(Gravity.BOTTOM, params.gravity); in testGenerateLayoutParams2()
|
D | CompoundButtonTest.java | 285 compoundButton.setGravity(Gravity.BOTTOM); in testOnDraw()
|
D | RadioGroupTest.java | 306 assertEquals(Gravity.BOTTOM, layoutParams.gravity); in testGenerateLayoutParams()
|
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
D | BoxInsetLayout.java | 343 case Gravity.BOTTOM: in layoutBoxChildren()
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 762 params.gravity = Gravity.BOTTOM; in addTwoAppPanelWindows()
|