/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 | 321 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 322 mockDrawable.setBounds(bounds); in testOnBoundsChange() 323 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 325 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange() 326 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected); in testOnBoundsChange() 337 mockDrawable.setBounds(bounds); in testOnBoundsChange() 339 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 341 bounds.width() - (int) (bounds.width() * scaleWidth * (10000 - level) / 10000), in testOnBoundsChange() 342 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), in testOnBoundsChange() 343 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 | 259 Rect bounds = d.getBounds(); in testOnBoundsChange() local 260 assertEquals(0, bounds.left); in testOnBoundsChange() 261 assertEquals(0, bounds.top); in testOnBoundsChange() 262 assertEquals(0, bounds.right); in testOnBoundsChange() 263 assertEquals(0, bounds.bottom); in testOnBoundsChange() 268 assertEquals(5, bounds.left); in testOnBoundsChange() 269 assertEquals(5, bounds.top); in testOnBoundsChange() 270 assertEquals(-5, bounds.right); in testOnBoundsChange() 271 assertEquals(-5, bounds.bottom); in testOnBoundsChange() 345 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument [all …]
|
D | DrawableContainerTest.java | 188 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local 198 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 201 assertEquals(bounds, outRect); in testSetHotspotBounds() 207 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 217 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 220 assertEquals(bounds, outRect); in testGetHotspotBounds() 793 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 794 super.onBoundsChange(bounds); in onBoundsChange() 987 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 988 super.onBoundsChange(bounds); in onBoundsChange()
|
D | LayerDrawableTest.java | 506 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local 512 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 515 assertTrue(bounds.equals(outRect)); in testSetHotspotBounds() 519 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 525 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 528 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds() 706 Rect bounds = new Rect(10, 20, 30, 40); in testSetBounds() local 707 layerDrawable.setBounds(bounds); in testSetBounds() 710 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); in testSetBounds() 711 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 | 640 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 641 super.onBoundsChange(bounds); in onBoundsChange()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 175 RectF bounds = new RectF(); in testComputeBounds1() local 176 path.computeBounds(bounds, true); in testComputeBounds1() 177 assertEquals(expected.width(), bounds.width()); in testComputeBounds1() 178 assertEquals(expected.height(), bounds.height()); in testComputeBounds1() 179 path.computeBounds(bounds, false); in testComputeBounds1() 180 assertEquals(expected.width(), bounds.width()); in testComputeBounds1() 181 assertEquals(expected.height(), bounds.height()); in testComputeBounds1() 190 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() local 191 path.addRect(bounds, Path.Direction.CW); in testComputeBounds2() 192 path.computeBounds(bounds, true); in testComputeBounds2() [all …]
|
/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/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 | 4064 public MockTouchDelegate(Rect bounds, View delegateView) { in MockTouchDelegate() argument 4065 super(bounds, delegateView); in MockTouchDelegate()
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 271 Rect bounds = new Rect(); in assertAccessibilityNodeInfoCleared() local 272 info.getBoundsInParent(bounds); in assertAccessibilityNodeInfoCleared() 273 assertTrue("boundsInParent not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared() 274 info.getBoundsInScreen(bounds); in assertAccessibilityNodeInfoCleared() 275 assertTrue("boundsInScreen not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared()
|
/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/tools/signature-tools/src/signature/converter/dex/ |
D | GenericSignatureParser.java | 307 List<ITypeReference> bounds = new ArrayList<ITypeReference>(); in parseFormalTypeParameter() local 312 bounds.add(parseFieldTypeSignature()); in parseFormalTypeParameter() 318 bounds.add(parseFieldTypeSignature()); in parseFormalTypeParameter() 320 typeVariable.setUpperBounds(bounds); in parseFormalTypeParameter()
|
/cts/tools/signature-tools/test/signature/comparator/ |
D | ClassCompareTest.java | 211 Type[] bounds = ((TypeVariable<?>)sC.getActualTypeArguments()[0]).getBounds(); in compareMissingGenericInterfaceReflection() local
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletToSigConverter.java | 393 for (Type upperBound : tv.bounds()) { in convertTypeReference() 475 for (Type u : typeParameter.bounds()) { in convertExecutableMember()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | CameraTest.java | 2963 Rect bounds = new Rect(-1000, -1000, 1000, 1000); 2974 bounds.contains(rect) || Rect.intersects(bounds, rect)); 2991 assertTrue(bounds.contains(face.leftEye.x, face.leftEye.y)); 2992 assertTrue(bounds.contains(face.rightEye.x, face.rightEye.y)); 2993 assertTrue(bounds.contains(face.mouth.x, face.mouth.y));
|
/cts/tools/signature-tools/src/signature/compare/ |
D | ApiComparator.java | 1505 Set<ITypeReference> bounds) { 1506 Set<ITypeReference> boundsCopy = new HashSet<ITypeReference>(bounds); 1507 for (ITypeReference type : bounds) {
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 67801 private org.apache.harmony.luni.lang.reflect.ListOfTypes bounds
|