Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DPaintDrawableTest.java69 assertNull(paintDrawable.getShape()); in testSetCornerRadius()
71 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
72 assertTrue(paintDrawable.getShape() instanceof RoundRectShape); in testSetCornerRadius()
76 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
78 assertNull(paintDrawable.getShape()); in testSetCornerRadius()
82 assertNotNull(paintDrawable.getShape()); in testSetCornerRadius()
84 assertNull(paintDrawable.getShape()); in testSetCornerRadius()
93 assertNull(paintDrawable.getShape()); in testSetCornerRadii()
95 assertNull(paintDrawable.getShape()); in testSetCornerRadii()
99 assertNotNull(paintDrawable.getShape()); in testSetCornerRadii()
[all …]
DShapeDrawableTest.java244 assertNull(shapeDrawable.getShape()); in testAccessShape()
248 assertSame(rectShape, shapeDrawable.getShape()); in testAccessShape()
251 assertNull(shapeDrawable.getShape()); in testAccessShape()
376 assertSame(a.getShape(), b.getShape()); in testMutateGetShape()
379 assertNotNull(a.getShape()); in testMutateGetShape()
380 assertNotNull(b.getShape()); in testMutateGetShape()
381 assertTrue(a.getShape() instanceof OvalShape); in testMutateGetShape()
382 assertTrue(b.getShape() instanceof OvalShape); in testMutateGetShape()
383 assertNotSame(a.getShape(), b.getShape()); in testMutateGetShape()
DGradientDrawableTest.java236 shape, gradientDrawable.getShape()); in testSetShape()
241 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()
/cts/tools/dex-tools/dex/
Dclasses.out.dex36400 public android.graphics.drawable.shapes.Shape getShape()