/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 136 assertEquals(1, mRegion.getBounds().left); in testSet1() 137 assertEquals(2, mRegion.getBounds().top); in testSet1() 138 assertEquals(3, mRegion.getBounds().right); in testSet1() 139 assertEquals(4, mRegion.getBounds().bottom); in testSet1() 147 assertEquals(1, mRegion.getBounds().left); in testSet2() 148 assertEquals(2, mRegion.getBounds().top); in testSet2() 149 assertEquals(3, mRegion.getBounds().right); in testSet2() 150 assertEquals(4, mRegion.getBounds().bottom); in testSet2() 157 assertEquals(1, mRegion.getBounds().left); in testSet3() 158 assertEquals(2, mRegion.getBounds().top); in testSet3() [all …]
|
D | NinePatchTest.java | 178 Rect regionBounds = region.getBounds(); in testGetTransparentRegion() 184 regionBounds = region.getBounds(); in testGetTransparentRegion() 196 regionBounds = region.getBounds(); in testGetTransparentRegion() 201 regionBounds = region.getBounds(); in testGetTransparentRegion()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | DrawableMarginSpanTest.java | 58 assertEquals(0, drawable.getBounds().top); in testDrawLeadingMargin() 59 assertEquals(0, drawable.getBounds().bottom); in testDrawLeadingMargin() 60 assertEquals(0, drawable.getBounds().left); in testDrawLeadingMargin() 61 assertEquals(0, drawable.getBounds().right); in testDrawLeadingMargin() 74 assertEquals(0, drawable.getBounds().top); in testDrawLeadingMargin() 75 assertEquals(0 + drawable.getIntrinsicHeight(), drawable.getBounds().bottom); in testDrawLeadingMargin() 76 assertEquals(x, drawable.getBounds().left); in testDrawLeadingMargin() 77 assertEquals(x + drawable.getIntrinsicWidth(), drawable.getBounds().right); in testDrawLeadingMargin()
|
D | DynamicDrawableSpanTest.java | 51 Rect rect = dynamicDrawableSpan.getDrawable().getBounds(); in testGetSize()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 351 assertEquals(expected.left, mockDrawable.getBounds().left); in testOnBoundsChange() 352 assertEquals(expected.top, mockDrawable.getBounds().top); in testOnBoundsChange() 353 assertEquals(expected.right, mockDrawable.getBounds().right); in testOnBoundsChange() 354 assertEquals(expected.bottom, mockDrawable.getBounds().bottom); in testOnBoundsChange() 368 assertEquals(expected.left, mockDrawable.getBounds().left); in testOnBoundsChange() 369 assertEquals(expected.top, mockDrawable.getBounds().top); in testOnBoundsChange() 370 assertEquals(expected.right, mockDrawable.getBounds().right); in testOnBoundsChange() 371 assertEquals(expected.bottom, mockDrawable.getBounds().bottom); in testOnBoundsChange() 379 assertEquals(bounds.left, mockDrawable.getBounds().left); in testOnBoundsChange() 380 assertEquals(bounds.top, mockDrawable.getBounds().top); in testOnBoundsChange() [all …]
|
D | ClipDrawableTest.java | 213 assertEquals(0, mockDrawable.getBounds().left); in testOnBoundsChange() 214 assertEquals(0, mockDrawable.getBounds().top); in testOnBoundsChange() 215 assertEquals(0, mockDrawable.getBounds().bottom); in testOnBoundsChange() 216 assertEquals(0, mockDrawable.getBounds().right); in testOnBoundsChange() 218 assertEquals(10, mockDrawable.getBounds().left); in testOnBoundsChange() 219 assertEquals(10, mockDrawable.getBounds().top); in testOnBoundsChange() 220 assertEquals(100, mockDrawable.getBounds().bottom); in testOnBoundsChange() 221 assertEquals(100, mockDrawable.getBounds().right); in testOnBoundsChange()
|
D | DrawableWrapperTest.java | 333 assertEquals(bounds.left, mockDrawable.getBounds().left); in testOnBoundsChange() 334 assertEquals(bounds.top, mockDrawable.getBounds().top); in testOnBoundsChange() 335 assertEquals(bounds.right, mockDrawable.getBounds().right); in testOnBoundsChange() 336 assertEquals(bounds.bottom, mockDrawable.getBounds().bottom); in testOnBoundsChange() 338 bounds = mockDrawable.getBounds(); in testOnBoundsChange()
|
D | LayerDrawableTest.java | 744 assertEquals(0, mockDrawable1.getBounds().left); in testSetBounds() 745 assertEquals(0, mockDrawable1.getBounds().top); in testSetBounds() 746 assertEquals(0, mockDrawable1.getBounds().right); in testSetBounds() 747 assertEquals(0, mockDrawable1.getBounds().bottom); in testSetBounds() 748 assertEquals(0, mockDrawable2.getBounds().left); in testSetBounds() 749 assertEquals(0, mockDrawable2.getBounds().top); in testSetBounds() 750 assertEquals(0, mockDrawable2.getBounds().right); in testSetBounds() 751 assertEquals(0, mockDrawable2.getBounds().bottom); in testSetBounds() 757 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); in testSetBounds() 758 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top); in testSetBounds() [all …]
|
D | DrawableContainerTest.java | 320 assertEquals(new Rect(), dr.getBounds()); in testOnBoundsChange() 323 assertEquals(new Rect(1, 1, 1, 1), dr.getBounds()); in testOnBoundsChange() 328 assertEquals(new Rect(1, 1, 1, 1), dr.getBounds()); in testOnBoundsChange()
|
D | DrawableTest.java | 360 Rect r = mockDrawable.getBounds(); in testAccessBounds() 367 r = mockDrawable.getBounds(); in testAccessBounds()
|
D | InsetDrawableTest.java | 263 Rect bounds = d.getBounds(); in testOnBoundsChange()
|
D | NinePatchDrawableTest.java | 314 assertEquals(new Rect(1, 1, 7, 7), r.getBounds()); in testGetTransparentRegion()
|
/cts/hostsidetests/services/activitymanager/src/android/server/cts/ |
D | ActivityAndWindowManagersState.java | 380 final Rectangle aStackBounds = aStack.getBounds(); in stackBoundsInAMAndWMAreEqual() 381 final Rectangle wStackBounds = wStack.getBounds(); in stackBoundsInAMAndWMAreEqual() 407 mAmState.getTaskByActivityName(activityName).getBounds()); in assertDockedTaskBounds() 419 final Rectangle aStackBounds = aStack.getBounds(); in assertValidBounds() 420 final Rectangle wStackBounds = wStack.getBounds(); in assertValidBounds() 440 final Rectangle aTaskBounds = aTask.getBounds(); in assertValidBounds() 441 final Rectangle wTaskBounds = wTask.getBounds(); in assertValidBounds()
|
D | ActivityManagerFreeformStackTests.java | 54 mAmWmState.getAmState().getTaskByActivityName(TEST_ACTIVITY).getBounds()); in testFreeformWindowManagementSupport()
|
D | ActivityManagerDockedStackTests.java | 294 mAmWmState.getAmState().getStackById(DOCKED_STACK_ID).getBounds()); in testResizeDockedStack() 304 mAmWmState.getWmState().getStack(FULLSCREEN_WORKSPACE_STACK_ID).getBounds(); in testActivityLifeCycleOnResizeDockedStack() 312 mAmWmState.getWmState().getStack(DOCKED_STACK_ID).getBounds(); in testActivityLifeCycleOnResizeDockedStack()
|
D | ActivityManagerState.java | 602 Rectangle getBounds() { in getBounds() method in ActivityManagerState.ActivityContainer
|
D | WindowManagerState.java | 486 Rectangle getBounds() { in getBounds() method in WindowManagerState.WindowContainer
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | DialogPreferenceTest.java | 59 assertEquals(drawableExp.getBounds(), drawable.getBounds()); in testGetDialogIcon()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | FrameLayoutTest.java | 95 final Rect rect = foreground.getBounds(); in testSetForegroundGravity() 120 Rect rect2 = newForeground.getBounds(); in testSetForegroundGravity() 136 Region region = new Region(foreground.getBounds()); in testGatherTransparentRegion() 142 region = new Region(foreground.getBounds()); in testGatherTransparentRegion() 306 Rect rect = drawable.getBounds(); in assertCenterAligned()
|
D | ListViewTest.java | 144 final Rect r = d.getBounds(); in testAccessDividerHeight() 347 final Rect r = defaultDrawable.getBounds(); in testAccessDivider() 360 assertEquals(d.getBounds().height(), mListView.getDividerHeight()); in testAccessDivider() 365 assertEquals(10, d.getBounds().height()); in testAccessDivider()
|
D | AbsListViewTest.java | 358 final Rect r = drawable.getBounds(); in testAccessSelector()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | CaptureRequestTest.java | 1731 mCollector.expectNotNull("Face rectangle shouldn't be null", face.getBounds()); 1744 + "shouldn't be null", face.getBounds() != null); 1748 faceBound = face.getBounds();
|
/cts/tests/camera/src/android/hardware/camera2/cts/helpers/ |
D | CameraMetadataGetter.java | 292 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 116 faceObj.put("bounds", serializeRect(face.getBounds())); in serializeFace()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTest.java | 1696 Rect bounds = text.getBounds();
|