/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/graphics/src/android/graphics/drawable/cts/ |
D | InsetDrawableTest.java | 238 Rect bounds = d.getBounds(); in testOnStateChange() local 239 assertEquals(0, bounds.left); in testOnStateChange() 240 assertEquals(0, bounds.top); in testOnStateChange() 241 assertEquals(0, bounds.right); in testOnStateChange() 242 assertEquals(0, bounds.bottom); in testOnStateChange() 247 assertEquals(10, bounds.left); in testOnStateChange() 248 assertEquals(10, bounds.top); in testOnStateChange() 249 assertEquals(-10, bounds.right); in testOnStateChange() 250 assertEquals(-10, bounds.bottom); in testOnStateChange() 261 Rect bounds = d.getBounds(); in testOnBoundsChange() local [all …]
|
D | ScaleDrawableTest.java | 314 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 315 mockDrawable.setBounds(bounds); in testOnBoundsChange() 316 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 318 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange() 319 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected); in testOnBoundsChange() 330 mockDrawable.setBounds(bounds); in testOnBoundsChange() 332 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 334 bounds.width() - (int) (bounds.width() * scaleWidth * (10000 - level) / 10000), in testOnBoundsChange() 335 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), in testOnBoundsChange() 336 bounds, expected); in testOnBoundsChange() [all …]
|
D | LayerDrawableTest.java | 639 Rect bounds = new Rect(10, 20, 30, 40); in testOnBoundsChange() local 640 layerDrawable.onBoundsChange(bounds); in testOnBoundsChange() 643 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); in testOnBoundsChange() 644 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top); in testOnBoundsChange() 645 assertEquals(bounds.right - inset1.right, mockDrawable1.getBounds().right); in testOnBoundsChange() 646 assertEquals(bounds.bottom - inset1.bottom, mockDrawable1.getBounds().bottom); in testOnBoundsChange() 647 assertEquals(bounds.left + inset2.left + padding1.left, mockDrawable2.getBounds().left); in testOnBoundsChange() 648 assertEquals(bounds.top + inset2.top + padding1.top, mockDrawable2.getBounds().top); in testOnBoundsChange() 649 assertEquals(bounds.right - inset2.right - padding1.right, in testOnBoundsChange() 651 assertEquals(bounds.bottom - inset2.bottom - padding1.bottom, in testOnBoundsChange() [all …]
|
D | ClipDrawableTest.java | 330 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 331 super.onBoundsChange(bounds); in onBoundsChange() 369 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 370 super.onBoundsChange(bounds); in onBoundsChange()
|
D | DrawableContainerTest.java | 734 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 735 super.onBoundsChange(bounds); in onBoundsChange() 919 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 920 super.onBoundsChange(bounds); in onBoundsChange()
|
D | DrawableTest.java | 591 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 592 super.onBoundsChange(bounds); in onBoundsChange()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 250 Rect bounds; in testOnDraw() local 269 bounds = drawable.copyBounds(); in testOnDraw() 270 assertEquals(0, bounds.left); in testOnDraw() 271 assertEquals(drawableWidth, bounds.right); in testOnDraw() 272 assertEquals(0, bounds.top); in testOnDraw() 273 assertEquals(drawableHeight, bounds.bottom); in testOnDraw() 278 bounds = drawable.copyBounds(); in testOnDraw() 279 assertEquals(0, bounds.left); in testOnDraw() 280 assertEquals(drawableWidth, bounds.right); in testOnDraw() 281 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw() [all …]
|
/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/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 191 Rect bounds = new Rect(); in assertAccessibilityNodeInfoCleared() local 192 info.getBoundsInParent(bounds); in assertAccessibilityNodeInfoCleared() 193 assertTrue("boundsInParent not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared() 194 info.getBoundsInScreen(bounds); in assertAccessibilityNodeInfoCleared() 195 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/tests/tests/view/src/android/view/cts/ |
D | TouchDelegateTest.java | 97 public MockTouchDelegate(Rect bounds, View delegateView) { in MockTouchDelegate() argument 98 super(bounds, delegateView); in MockTouchDelegate()
|
D | ViewTest.java | 3525 public MockTouchDelegate(Rect bounds, View delegateView) { in MockTouchDelegate() argument 3526 super(bounds, delegateView); in MockTouchDelegate()
|
/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 | 2726 Rect bounds = new Rect(-1000, -1000, 1000, 1000); 2737 bounds.contains(rect) || Rect.intersects(bounds, rect)); 2754 assertTrue(bounds.contains(face.leftEye.x, face.leftEye.y)); 2755 assertTrue(bounds.contains(face.rightEye.x, face.rightEye.y)); 2756 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/suite/pts/hostTests/browser/browserlauncher/assets/octane/ |
D | pdfjs.js | 4376 var bounds = dict.get('Bounds'); 4379 return [CONSTRUCT_STICHED, domain, bounds, encode, fns]; 4384 var bounds = IR[2]; 4405 for (var i = 0, ii = bounds.length; i < ii; ++i) { 4406 if (v < bounds[i]) 4413 dmin = bounds[i - 1]; 4415 if (i < bounds.length) 4416 dmax = bounds[i];
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 67801 private org.apache.harmony.luni.lang.reflect.ListOfTypes bounds
|