Searched refs:outRect (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | OutlineTest.java | 37 Rect outRect = new Rect(); in testDefaults() local 38 assertFalse(outline.getRect(outRect)); in testDefaults() 65 Rect outRect = new Rect(); 78 assertTrue(outline.getRect(outRect)); 79 assertEquals(new Rect(10, 10, 20, 20), outRect); 84 assertTrue(outline.getRect(outRect)); 85 assertEquals(new Rect(10, 10, 20, 20), outRect); 92 Rect outRect = new Rect(); 105 assertTrue(outline.getRect(outRect)); 106 assertEquals(new Rect(10, 10, 20, 20), outRect); [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ActionModeCallback2Test.java | 37 Rect outRect = new Rect(); in testCallbackOnGetContentRectDefaultWithView() local 39 callback.onGetContentRect(null, view, outRect); in testCallbackOnGetContentRectDefaultWithView() 41 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithView() 42 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithView() 43 assertEquals(VIEW_HEIGHT, outRect.bottom); in testCallbackOnGetContentRectDefaultWithView() 44 assertEquals(VIEW_WIDTH, outRect.right); in testCallbackOnGetContentRectDefaultWithView() 48 Rect outRect = new Rect(); in testCallbackOnGetContentRectDefaultWithoutView() local 50 callback.onGetContentRect(null, null, outRect); in testCallbackOnGetContentRectDefaultWithoutView() 52 assertEquals(0, outRect.top); in testCallbackOnGetContentRectDefaultWithoutView() 53 assertEquals(0, outRect.left); in testCallbackOnGetContentRectDefaultWithoutView() [all …]
|
D | ActionModeTest.java | 143 public void onGetContentRect(ActionMode mode, View view, Rect outRect) { in onGetContentRect() argument 145 super.onGetContentRect(mode, view, outRect); in onGetContentRect()
|
D | ViewTest.java | 520 Rect outRect = new Rect(); in testGetHitRect() local 529 mockView.getHitRect(outRect); in testGetHitRect() 530 assertEquals(0, outRect.left); in testGetHitRect() 531 assertEquals(0, outRect.top); in testGetHitRect() 532 assertEquals(mockView.getWidth(), outRect.right); in testGetHitRect() 533 assertEquals(mockView.getHeight(), outRect.bottom); in testGetHitRect() 670 Rect outRect = new Rect(); in testGetDrawingRect() local 672 view.getDrawingRect(outRect); in testGetDrawingRect() 673 assertEquals(0, outRect.left); in testGetDrawingRect() 674 assertEquals(0, outRect.top); in testGetDrawingRect() [all …]
|
D | GravityTest.java | 44 … private void applyGravity(int gravity, int w, int h, Rect container, Rect outRect, boolean bRtl) { in applyGravity() argument
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerTest.java | 236 Rect outRect = new Rect(); in testSetHotspotBounds() local 237 mDrawableContainer.getHotspotBounds(outRect); in testSetHotspotBounds() 238 assertEquals(bounds, outRect); in testSetHotspotBounds() 255 Rect outRect = new Rect(); in testGetHotspotBounds() local 256 mDrawableContainer.getHotspotBounds(outRect); in testGetHotspotBounds() 257 assertEquals(bounds, outRect); in testGetHotspotBounds()
|
D | LayerDrawableTest.java | 538 Rect outRect = new Rect(); in testSetHotspotBounds() local 539 layerDrawable.getHotspotBounds(outRect); in testSetHotspotBounds() 540 assertTrue(bounds.equals(outRect)); in testSetHotspotBounds() 551 Rect outRect = new Rect(); in testGetHotspotBounds() local 552 layerDrawable.getHotspotBounds(outRect); in testGetHotspotBounds() 553 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds()
|