Home
last modified time | relevance | path

Searched refs:getShape (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java70 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 …]
DShapeDrawableTest.java245 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()
DGradientDrawableTest.java250 shape, gradientDrawable.getShape()); in testSetShape()
255 shape, gradientDrawable.getShape()); in testSetShape()
/cts/tests/tests/animation/src/android/animation/cts/
DShapeHolder.java64 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()
DAnimationActivity.java269 shapeHolder.getShape().draw(canvas); in onDraw()