/cts/tests/tests/gesture/src/android/gesture/cts/ |
D | LineGestureStrokeHelper.java | 61 RectF bounds = new RectF(); in assertLineBoundingBox() local 62 linePath.computeBounds(bounds, true); in assertLineBoundingBox() 66 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.bottom); in assertLineBoundingBox() 67 Assert.assertEquals(LINE_START_POINT, bounds.left); in assertLineBoundingBox() 68 Assert.assertEquals(LINE_MIDWAY_POINT, bounds.right); in assertLineBoundingBox() 69 Assert.assertEquals(LINE_START_POINT, bounds.top); in assertLineBoundingBox() 77 void assertLineBoundingBox(RectF bounds) { in assertLineBoundingBox() argument 80 Assert.assertEquals(LINE_END_POINT, bounds.bottom); in assertLineBoundingBox() 81 Assert.assertEquals(LINE_START_POINT, bounds.left); in assertLineBoundingBox() 82 Assert.assertEquals(LINE_END_POINT, bounds.right); in assertLineBoundingBox() [all …]
|
D | GestureStrokeTest.java | 94 RectF bounds = new RectF(); in testToPath_boundedLine() local 95 linePath.computeBounds(bounds, true); in testToPath_boundedLine() 98 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.bottom); in testToPath_boundedLine() 99 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.left); in testToPath_boundedLine() 100 assertEquals(LineGestureStrokeHelper.LINE_QUARTER_POINT, bounds.right); in testToPath_boundedLine() 101 assertEquals(LineGestureStrokeHelper.LINE_START_POINT, bounds.top); in testToPath_boundedLine()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | float16_gen.c | 122 void getErrorBar(unsigned short value, int tolerance, unsigned short bounds[2]) { in getErrorBar() 135 bounds[0] = value; in getErrorBar() 136 bounds[1] = value; in getErrorBar() 170 bounds[0] = *(unsigned short *) &lb; in getErrorBar() 171 bounds[1] = *(unsigned short *) &ub; in getErrorBar() 175 if (!isFloat16Negative(bounds[0]) && isFloat16SubNormal(bounds[0])) in getErrorBar() 176 bounds[0] = 0x0; in getErrorBar() 178 if (isFloat16Negative(bounds[1]) && isFloat16SubNormal(bounds[1])) in getErrorBar() 179 bounds[1] = 0x0 | SIGN_MASK; in getErrorBar()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | ScaleDrawableTest.java | 345 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 346 mockDrawable.setBounds(bounds); in testOnBoundsChange() 347 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 349 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange() 350 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected); in testOnBoundsChange() 361 mockDrawable.setBounds(bounds); in testOnBoundsChange() 363 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 365 bounds.width() - (int) (bounds.width() * scaleWidth * (10000 - level) / 10000), in testOnBoundsChange() 366 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), in testOnBoundsChange() 367 bounds, expected); in testOnBoundsChange() [all …]
|
D | DrawableWrapperTest.java | 326 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 327 mockDrawable.setBounds(bounds); in testOnBoundsChange() 328 mockDrawableWrapper.onBoundsChange(bounds); in testOnBoundsChange() 331 mockDrawable.setBounds(bounds); in testOnBoundsChange() 332 mockDrawableWrapper.onBoundsChange(bounds); in testOnBoundsChange() 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() [all …]
|
D | InsetDrawableTest.java | 263 Rect bounds = d.getBounds(); in testOnBoundsChange() local 264 assertEquals(0, bounds.left); in testOnBoundsChange() 265 assertEquals(0, bounds.top); in testOnBoundsChange() 266 assertEquals(0, bounds.right); in testOnBoundsChange() 267 assertEquals(0, bounds.bottom); in testOnBoundsChange() 272 assertEquals(5, bounds.left); in testOnBoundsChange() 273 assertEquals(5, bounds.top); in testOnBoundsChange() 274 assertEquals(-5, bounds.right); in testOnBoundsChange() 275 assertEquals(-5, bounds.bottom); in testOnBoundsChange() 423 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument [all …]
|
D | DrawableContainerTest.java | 225 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local 235 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 238 assertEquals(bounds, outRect); in testSetHotspotBounds() 244 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 254 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 257 assertEquals(bounds, outRect); in testGetHotspotBounds() 851 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 852 super.onBoundsChange(bounds); in onBoundsChange() 1045 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 1046 super.onBoundsChange(bounds); in onBoundsChange()
|
D | LayerDrawableTest.java | 531 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local 537 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 540 assertTrue(bounds.equals(outRect)); in testSetHotspotBounds() 544 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 550 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 553 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds() 753 Rect bounds = new Rect(10, 20, 30, 40); in testSetBounds() local 754 layerDrawable.setBounds(bounds); 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 | ClipDrawableTest.java | 353 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 354 super.onBoundsChange(bounds); in onBoundsChange() 397 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 398 super.onBoundsChange(bounds); in onBoundsChange()
|
D | DrawableTest.java | 661 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 662 super.onBoundsChange(bounds); in onBoundsChange()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 259 Rect bounds; in testOnDraw() local 278 bounds = drawable.copyBounds(); in testOnDraw() 279 assertEquals(0, bounds.left); in testOnDraw() 280 assertEquals(drawableWidth, bounds.right); in testOnDraw() 281 assertEquals(0, bounds.top); in testOnDraw() 282 assertEquals(drawableHeight, bounds.bottom); in testOnDraw() 287 bounds = drawable.copyBounds(); in testOnDraw() 288 assertEquals(0, bounds.left); in testOnDraw() 289 assertEquals(drawableWidth, bounds.right); in testOnDraw() 290 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 199 RectF bounds = new RectF(); in testComputeBounds1() local 200 path.computeBounds(bounds, true); in testComputeBounds1() 201 assertEquals(expected.width(), bounds.width()); in testComputeBounds1() 202 assertEquals(expected.height(), bounds.height()); in testComputeBounds1() 203 path.computeBounds(bounds, false); in testComputeBounds1() 204 assertEquals(expected.width(), bounds.width()); in testComputeBounds1() 205 assertEquals(expected.height(), bounds.height()); in testComputeBounds1() 214 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() local 215 path.addRect(bounds, Path.Direction.CW); in testComputeBounds2() 216 path.computeBounds(bounds, true); in testComputeBounds2() [all …]
|
/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutTest.java | 155 Rect bounds = new Rect(); in testGetLineBounds() local 157 assertEquals(32, layout.getLineBounds(2, bounds)); in testGetLineBounds() 158 assertEquals(0, bounds.left); in testGetLineBounds() 159 assertEquals(mWidth, bounds.right); in testGetLineBounds() 160 assertEquals(24, bounds.top); in testGetLineBounds() 161 assertEquals(36, bounds.bottom); in testGetLineBounds()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 278 Rect bounds = new Rect(); in assertAccessibilityNodeInfoCleared() local 279 info.getBoundsInParent(bounds); in assertAccessibilityNodeInfoCleared() 280 assertTrue("boundsInParent not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared() 281 info.getBoundsInScreen(bounds); in assertAccessibilityNodeInfoCleared() 282 assertTrue("boundsInScreen not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TouchDelegateTest.java | 96 public MockTouchDelegate(Rect bounds, View delegateView) { in MockTouchDelegate() argument 97 super(bounds, delegateView); in MockTouchDelegate()
|
D | ViewTest.java | 4577 public MockTouchDelegate(Rect bounds, View delegateView) { in MockTouchDelegate() argument 4578 super(bounds, delegateView); in MockTouchDelegate()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 591 Rect bounds = new Rect(); in isDividerWindowPresent() local 592 window.getBoundsInScreen(bounds); in isDividerWindowPresent()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTest.java | 1696 Rect bounds = text.getBounds(); 1697 if (bounds != null) { 1698 Log.d(LOG_TAG, "bounds: " + bounds); 1701 assertEquals("wrong bounds", expected, bounds);
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2960 Rect bounds = new Rect(-1000, -1000, 1000, 1000); 2971 bounds.contains(rect) || Rect.intersects(bounds, rect)); 2988 assertTrue(bounds.contains(face.leftEye.x, face.leftEye.y)); 2989 assertTrue(bounds.contains(face.rightEye.x, face.rightEye.y)); 2990 assertTrue(bounds.contains(face.mouth.x, face.mouth.y));
|
/cts/hostsidetests/sustainedperf/dhrystone/ |
D | Rationale | 216 upper bounds of the strings occuring in Dhrystone are part of the type
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 67801 private org.apache.harmony.luni.lang.reflect.ListOfTypes bounds
|