Searched refs:getShape (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | PaintDrawableTest.java | 70 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 72 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius() 73 assertTrue(paintDrawable.getShape() instanceof RoundRectShape); in testSetCornerRadius() 77 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius() 79 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 83 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius() 85 assertNull(paintDrawable.getShape()); in testSetCornerRadius() 94 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 96 assertNull(paintDrawable.getShape()); in testSetCornerRadii() 100 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii() [all …]
|
D | ShapeDrawableTest.java | 245 assertNull(shapeDrawable.getShape()); in testAccessShape() 249 assertSame(rectShape, shapeDrawable.getShape()); in testAccessShape() 252 assertNull(shapeDrawable.getShape()); in testAccessShape() 377 assertEquals(a.getShape(), b.getShape()); in testMutateGetShape() 380 assertNotNull(a.getShape()); in testMutateGetShape() 381 assertNotNull(b.getShape()); in testMutateGetShape() 382 assertTrue(a.getShape() instanceof OvalShape); in testMutateGetShape() 383 assertTrue(b.getShape() instanceof OvalShape); in testMutateGetShape() 384 assertNotSame(a.getShape(), b.getShape()); in testMutateGetShape()
|
D | GradientDrawableTest.java | 253 shape, gradientDrawable.getShape()); in testSetShape() 258 shape, gradientDrawable.getShape()); in testSetShape()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ShapeHolder.java | 64 public ShapeDrawable getShape() { in getShape() method in ShapeHolder 90 return mShape.getShape().getWidth(); in getWidth() 94 Shape s = mShape.getShape(); in setWidth() 99 return mShape.getShape().getHeight(); in getHeight() 103 Shape s = mShape.getShape(); in setHeight()
|
D | AnimationActivity.java | 269 shapeHolder.getShape().draw(canvas); in onDraw()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 341 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackIcon() 361 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackIconAsync() 380 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackResourceAsync() 400 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbIcon() 420 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbIconAsync() 439 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbResourceAsync()
|
D | CompoundButtonTest.java | 282 assertEquals(GradientDrawable.RECTANGLE, firstButton.getShape()); in testSetButtonIcon() 287 assertEquals(GradientDrawable.RECTANGLE, secondButton.getShape()); in testSetButtonIcon()
|