Searched refs:outline (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 33 Outline outline = new Outline(); in testDefaults() local 35 assertEquals(0.0f, outline.getAlpha(), 0.0f); in testDefaults() 36 assertTrue(outline.isEmpty()); in testDefaults() 38 assertFalse(outline.getRect(outRect)); in testDefaults() 39 assertTrue(outline.getRadius() < 0); in testDefaults() 44 Outline outline = new Outline(); 46 outline.setAlpha(1.0f); 47 assertEquals(1.0f, outline.getAlpha(), 0.0f); 49 outline.setAlpha(0.0f); 50 assertEquals(0.0f, outline.getAlpha(), 0.0f); [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/shapes/cts/ |
D | RoundRectShapeTest.java | 99 Outline outline = new Outline(); in testGetOutline() local 105 shape.getOutline(outline); in testGetOutline() 106 assertTrue(outline.isEmpty()); in testGetOutline() 107 assertTrue(outline.getRadius() < 0); in testGetOutline() 108 assertFalse(outline.getRect(rect)); in testGetOutline() 111 shape.getOutline(outline); in testGetOutline() 112 assertFalse(outline.isEmpty()); in testGetOutline() 113 assertEquals(0.0f, outline.getRadius()); in testGetOutline() 114 assertTrue(outline.getRect(rect)); in testGetOutline() 122 shape.getOutline(outline); in testGetOutline() [all …]
|
D | OvalShapeTest.java | 73 Outline outline = new Outline(); in testGetOutline() local 79 shape.getOutline(outline); in testGetOutline() 80 assertTrue(outline.isEmpty()); in testGetOutline() 81 assertTrue(outline.getRadius() < 0); in testGetOutline() 82 assertFalse(outline.getRect(rect)); in testGetOutline() 86 shape.getOutline(outline); in testGetOutline() 87 assertFalse(outline.isEmpty()); in testGetOutline() 88 assertEquals(50.0f, outline.getRadius(), 0.01f); in testGetOutline() 89 assertTrue(outline.getRect(rect)); in testGetOutline() 97 shape.getOutline(outline); in testGetOutline() [all …]
|
D | RectShapeTest.java | 102 Outline outline = new Outline(); in testGetOutline() local 107 shape.getOutline(outline); in testGetOutline() 108 assertTrue(outline.isEmpty()); in testGetOutline() 109 assertTrue(outline.getRadius() < 0); in testGetOutline() 110 assertFalse(outline.getRect(rect)); in testGetOutline() 114 shape.getOutline(outline); in testGetOutline() 115 assertFalse(outline.isEmpty()); in testGetOutline() 116 assertEquals(0.0f, outline.getRadius()); in testGetOutline() 117 assertTrue(outline.getRect(rect)); in testGetOutline()
|
D | ArcShapeTest.java | 80 Outline outline = new Outline(); in testGetOutline() local 84 outline.setEmpty(); in testGetOutline() 86 shape.getOutline(outline); in testGetOutline() 87 assertTrue(outline.isEmpty()); in testGetOutline()
|
D | PathShapeTest.java | 108 Outline outline = new Outline(); in testGetOutline() local 112 outline.setEmpty(); in testGetOutline() 114 shape.getOutline(outline); in testGetOutline() 115 assertTrue(outline.isEmpty()); in testGetOutline()
|
D | ShapeTest.java | 119 Outline outline = new Outline(); in testGetOutline() local 122 shape.getOutline(outline); in testGetOutline()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | ViewClippingTests.java | 49 public void getOutline(View view, Outline outline) { 50 outline.setRect(OUTLINE_RECT); 115 public void getOutline(View view, Outline outline) { in testOvalOutlineClip() 119 outline.setConvexPath(mPath); in testOvalOutlineClip() 120 assertFalse(outline.canClip()); // NOTE: non-round-rect, so can't clip in testOvalOutlineClip()
|