Searched refs:outRect (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 42 Rect outRect = new Rect(); in testDefaults() local 43 assertFalse(outline.getRect(outRect)); in testDefaults() 99 Rect outRect = new Rect(); 112 assertTrue(outline.getRect(outRect)); 113 assertEquals(new Rect(10, 10, 20, 20), outRect); 118 assertTrue(outline.getRect(outRect)); 119 assertEquals(new Rect(10, 10, 20, 20), outRect); 126 Rect outRect = new Rect(); 139 assertTrue(outline.getRect(outRect)); 140 assertEquals(new Rect(10, 10, 20, 20), outRect); [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ActionModeCallback2Test.java | 57 Rect outRect = new Rect(); in testCallbackOnGetContentRectDefaultWithView() local 59 callback.onGetContentRect(null, view, outRect); in testCallbackOnGetContentRectDefaultWithView() 61 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithView() 62 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithView() 63 assertEquals(VIEW_HEIGHT, outRect.bottom); in testCallbackOnGetContentRectDefaultWithView() 64 assertEquals(VIEW_WIDTH, outRect.right); in testCallbackOnGetContentRectDefaultWithView() 69 Rect outRect = new Rect(); in testCallbackOnGetContentRectDefaultWithoutView() local 71 callback.onGetContentRect(null, null, outRect); in testCallbackOnGetContentRectDefaultWithoutView() 73 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithoutView() 74 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithoutView() [all …]
|
D | ViewTest.java | 771 Rect outRect = new Rect(); in testGetHitRect() local 773 mockView.getHitRect(outRect); in testGetHitRect() 774 assertEquals(0, outRect.left); in testGetHitRect() 775 assertEquals(0, outRect.top); in testGetHitRect() 776 assertEquals(mockView.getWidth(), outRect.right); in testGetHitRect() 777 assertEquals(mockView.getHeight(), outRect.bottom); in testGetHitRect() 920 Rect outRect = new Rect(); in testGetDrawingRect() local 922 view.getDrawingRect(outRect); in testGetDrawingRect() 923 assertEquals(0, outRect.left); in testGetDrawingRect() 924 assertEquals(0, outRect.top); in testGetDrawingRect() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerTest.java | 277 Rect outRect = new Rect(); in testSetHotspotBounds() local 278 mDrawableContainer.getHotspotBounds(outRect); in testSetHotspotBounds() 279 assertEquals(bounds, outRect); in testSetHotspotBounds() 296 Rect outRect = new Rect(); in testGetHotspotBounds() local 297 mDrawableContainer.getHotspotBounds(outRect); in testGetHotspotBounds() 298 assertEquals(bounds, outRect); in testGetHotspotBounds()
|
D | LayerDrawableTest.java | 539 Rect outRect = new Rect(); in testSetHotspotBounds() local 540 layerDrawable.getHotspotBounds(outRect); in testSetHotspotBounds() 541 assertTrue(bounds.equals(outRect)); in testSetHotspotBounds() 553 Rect outRect = new Rect(); in testGetHotspotBounds() local 554 layerDrawable.getHotspotBounds(outRect); in testGetHotspotBounds() 555 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds()
|