Searched refs:getShape (Results 1 – 5 of 5) sorted by relevance
69 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 …]
244 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()
245 shape, gradientDrawable.getShape()); in testSetShape()250 shape, gradientDrawable.getShape()); in testSetShape()
64 public ShapeDrawable getShape() { in getShape() method in ShapeHolder90 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()
269 shapeHolder.getShape().draw(canvas); in onDraw()