Searched refs:getShape (Results 1 – 9 of 9) 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/framework/base/windowmanager/src/android/server/wm/animations/ |
D | DisplayShapeTests.java | 66 final DisplayShape shape = mDisplay.getShape(); in testNonNull() 96 mDisplay.getShape().getPath().isRect(null)); in testDisplayShapeConfig() 105 final DisplayShape fromDisplay = mDisplay.getShape(); in testDisplayShapeFromWindowInsets() 125 final DisplayShape shape = simulatedDisplay.getShape(); in testDisplayShapeOnVirtualDisplay()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 349 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackIcon() 369 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackIconAsync() 388 assertEquals(GradientDrawable.RECTANGLE, track.getShape()); in testSetTrackResourceAsync() 408 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbIcon() 428 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbIconAsync() 447 assertEquals(GradientDrawable.RECTANGLE, thumb.getShape()); in testSetThumbResourceAsync()
|
D | CompoundButtonTest.java | 291 assertEquals(GradientDrawable.RECTANGLE, firstButton.getShape()); in testSetButtonIcon() 296 assertEquals(GradientDrawable.RECTANGLE, secondButton.getShape()); in testSetButtonIcon()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 17628 method public int getShape(); 17852 method public android.graphics.drawable.shapes.Shape getShape(); 50726 method @NonNull public android.view.DisplayShape getShape();
|