Searched refs:outRect (Results 1 – 6 of 6) sorted by relevance
/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 | 380 Rect outRect = new Rect(); in testGetHitRect() local 389 mockView.getHitRect(outRect); in testGetHitRect() 390 assertEquals(0, outRect.left); in testGetHitRect() 391 assertEquals(0, outRect.top); in testGetHitRect() 392 assertEquals(mockView.getWidth(), outRect.right); in testGetHitRect() 393 assertEquals(mockView.getHeight(), outRect.bottom); in testGetHitRect() 529 Rect outRect = new Rect(); in testGetDrawingRect() local 531 view.getDrawingRect(outRect); in testGetDrawingRect() 532 assertEquals(0, outRect.left); in testGetDrawingRect() 533 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 | 199 Rect outRect = new Rect(); in testSetHotspotBounds() local 200 mDrawableContainer.getHotspotBounds(outRect); in testSetHotspotBounds() 201 assertEquals(bounds, outRect); in testSetHotspotBounds() 218 Rect outRect = new Rect(); in testGetHotspotBounds() local 219 mDrawableContainer.getHotspotBounds(outRect); in testGetHotspotBounds() 220 assertEquals(bounds, outRect); in testGetHotspotBounds()
|
D | LayerDrawableTest.java | 513 Rect outRect = new Rect(); in testSetHotspotBounds() local 514 layerDrawable.getHotspotBounds(outRect); in testSetHotspotBounds() 515 assertTrue(bounds.equals(outRect)); in testSetHotspotBounds() 526 Rect outRect = new Rect(); in testGetHotspotBounds() local 527 layerDrawable.getHotspotBounds(outRect); in testGetHotspotBounds() 528 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds()
|