/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/hostsidetests/services/activityandwindowmanager/activitymanager/src/android/server/cts/ |
D | SplashscreenTests.java | 37 private void assertAllColor(BufferedImage img, Rectangle bounds, int expectedColor) { in assertAllColor() argument 38 for (int x = bounds.x; x < bounds.x + bounds.width; x++) { in assertAllColor() 39 for (int y = bounds.y; y < bounds.y + bounds.height; y++) { in assertAllColor()
|
/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 | 348 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 349 mockDrawable.setBounds(bounds); in testOnBoundsChange() 350 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 352 Gravity.apply(Gravity.LEFT, bounds.width() - (int) (bounds.width() * scaleWidth), in testOnBoundsChange() 353 bounds.height() - (int) (bounds.height() * scaleHeight), bounds, expected); in testOnBoundsChange() 364 mockDrawable.setBounds(bounds); in testOnBoundsChange() 366 mockScaleDrawable.onBoundsChange(bounds); in testOnBoundsChange() 368 bounds.width() - (int) (bounds.width() * scaleWidth * (10000 - level) / 10000), in testOnBoundsChange() 369 bounds.height() - (int) (bounds.height() * scaleHeight * (10000 - level) / 10000), in testOnBoundsChange() 370 bounds, expected); in testOnBoundsChange() [all …]
|
D | InsetDrawableTest.java | 288 Rect bounds = mPassDrawable.getBounds(); in testOnBoundsChange_dimension() local 289 assertEquals(0, bounds.left); in testOnBoundsChange_dimension() 290 assertEquals(0, bounds.top); in testOnBoundsChange_dimension() 291 assertEquals(0, bounds.right); in testOnBoundsChange_dimension() 292 assertEquals(0, bounds.bottom); in testOnBoundsChange_dimension() 297 assertEquals(5, bounds.left); in testOnBoundsChange_dimension() 298 assertEquals(5, bounds.top); in testOnBoundsChange_dimension() 299 assertEquals(-5, bounds.right); in testOnBoundsChange_dimension() 300 assertEquals(-5, bounds.bottom); in testOnBoundsChange_dimension() 309 Rect bounds = mPassDrawable.getBounds(); in testOnBoundsChange_fraction() local [all …]
|
D | DrawableWrapperTest.java | 320 Rect bounds = new Rect(2, 2, 26, 32); in testOnBoundsChange() local 321 mockDrawable.setBounds(bounds); in testOnBoundsChange() 322 mockDrawableWrapper.onBoundsChange(bounds); in testOnBoundsChange() 325 mockDrawable.setBounds(bounds); in testOnBoundsChange() 326 mockDrawableWrapper.onBoundsChange(bounds); in testOnBoundsChange() 327 assertEquals(bounds.left, mockDrawable.getBounds().left); in testOnBoundsChange() 328 assertEquals(bounds.top, mockDrawable.getBounds().top); in testOnBoundsChange() 329 assertEquals(bounds.right, mockDrawable.getBounds().right); in testOnBoundsChange() 330 assertEquals(bounds.bottom, mockDrawable.getBounds().bottom); in testOnBoundsChange() 332 bounds = mockDrawable.getBounds(); in testOnBoundsChange() [all …]
|
D | AdaptiveIconMaskTest.java | 81 RectF bounds = new RectF(); in testDeviceConfigMask_bounds() local 82 mMask.computeBounds(bounds, true); in testDeviceConfigMask_bounds() 83 assertTrue("Mask top should be larger than or equal to 0", -DELTA <= bounds.top); in testDeviceConfigMask_bounds() 84 assertTrue("Mask left should be larger than or equal to 0", -DELTA <= bounds.left); in testDeviceConfigMask_bounds() 87 AdaptiveIconDrawable.MASK_SIZE + DELTA >= bounds.bottom); in testDeviceConfigMask_bounds() 90 AdaptiveIconDrawable.MASK_SIZE + DELTA >= bounds.right); in testDeviceConfigMask_bounds()
|
D | DrawableContainerTest.java | 263 Rect bounds = new Rect(10, 15, 100, 150); in testSetHotspotBounds() local 272 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testSetHotspotBounds() 275 assertEquals(bounds, outRect); in testSetHotspotBounds() 282 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 291 mDrawableContainer.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 294 assertEquals(bounds, outRect); in testGetHotspotBounds() 836 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 837 super.onBoundsChange(bounds); in onBoundsChange() 900 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 901 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() 545 Rect bounds = new Rect(10, 15, 100, 150); in testGetHotspotBounds() local 551 layerDrawable.setHotspotBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); in testGetHotspotBounds() 554 assertTrue(bounds.equals(outRect)); in testGetHotspotBounds() 770 Rect bounds = new Rect(10, 20, 30, 40); in testSetBounds() local 771 layerDrawable.setBounds(bounds); in testSetBounds() 774 assertEquals(bounds.left + inset1.left, mockDrawable1.getBounds().left); in testSetBounds() 775 assertEquals(bounds.top + inset1.top, mockDrawable1.getBounds().top); in testSetBounds() [all …]
|
D | ClipDrawableTest.java | 394 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 395 super.onBoundsChange(bounds); in onBoundsChange()
|
D | DrawableTest.java | 721 protected void onBoundsChange(Rect bounds) { in onBoundsChange() argument 722 super.onBoundsChange(bounds); in onBoundsChange()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | CompoundButtonTest.java | 279 Rect bounds; in testOnDraw() local 298 bounds = drawable.copyBounds(); in testOnDraw() 299 assertEquals(0, bounds.left); in testOnDraw() 300 assertEquals(drawableWidth, bounds.right); in testOnDraw() 301 assertEquals(0, bounds.top); in testOnDraw() 302 assertEquals(drawableHeight, bounds.bottom); in testOnDraw() 307 bounds = drawable.copyBounds(); in testOnDraw() 308 assertEquals(0, bounds.left); in testOnDraw() 309 assertEquals(drawableWidth, bounds.right); in testOnDraw() 310 assertEquals(viewHeight - drawableHeight, bounds.top); in testOnDraw() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PathTest.java | 206 RectF bounds = new RectF(); in testComputeBounds1() local 207 path.computeBounds(bounds, true); in testComputeBounds1() 208 assertEquals(expected.width(), bounds.width(), 0.0f); in testComputeBounds1() 209 assertEquals(expected.height(), bounds.height(), 0.0f); in testComputeBounds1() 210 path.computeBounds(bounds, false); in testComputeBounds1() 211 assertEquals(expected.width(), bounds.width(), 0.0f); in testComputeBounds1() 212 assertEquals(expected.height(), bounds.height(), 0.0f); in testComputeBounds1() 220 RectF bounds = new RectF(LEFT, TOP, RIGHT, BOTTOM); in testComputeBounds2() local 221 path.addRect(bounds, Path.Direction.CW); in testComputeBounds2() 222 path.computeBounds(bounds, true); in testComputeBounds2() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | VirtualContainerView.java | 137 line.bounds.set((int) x, (int) (y - mLineLength), in onDraw() 139 Log.d(TAG, "setBounds(" + x + ", " + y + "): " + line.bounds); in onDraw() 260 final Rect bounds = new Rect(); field in VirtualContainerView.Line 285 final Rect absBounds = new Rect(bounds.left + offset[0], in getAbsCoordinates() 286 bounds.top + offset[1], in getAbsCoordinates() 287 bounds.right + offset[0], bounds.bottom + offset[1]); in getAbsCoordinates() 288 Log.v(TAG, "getAbsCoordinates() for " + text.id + ": bounds=" + bounds in getAbsCoordinates()
|
D | VirtualContainerActivity.java | 66 getAutofillManager().requestAutofill(mCustomView, line.text.id, line.bounds); in requestAutofill()
|
D | VirtualContainerActivityTest.java | 261 mActivity.mCustomView, mActivity.mUsername.text.id, mActivity.mUsername.bounds); in autofillManuallyTwoDatasets()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutTest.java | 185 Rect bounds = new Rect(); in testGetLineBounds() local 187 assertEquals(32, layout.getLineBounds(2, bounds)); in testGetLineBounds() 188 assertEquals(0, bounds.left); in testGetLineBounds() 189 assertEquals(mWidth, bounds.right); in testGetLineBounds() 190 assertEquals(24, bounds.top); in testGetLineBounds() 191 assertEquals(36, bounds.bottom); in testGetLineBounds() 418 RectF bounds = new RectF(); in testGetCursorPath() local 419 path.computeBounds(bounds, false); in testGetCursorPath() 420 assertTrue(bounds.top >= layout.getLineTop(i) - epsilon); in testGetCursorPath() 421 assertTrue(bounds.bottom <= layout.getLineBottom(i) + epsilon); in testGetCursorPath()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityNodeInfoTest.java | 315 Rect bounds = new Rect(); in assertAccessibilityNodeInfoCleared() local 316 info.getBoundsInParent(bounds); in assertAccessibilityNodeInfoCleared() 317 assertTrue("boundsInParent not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared() 318 info.getBoundsInScreen(bounds); in assertAccessibilityNodeInfoCleared() 319 assertTrue("boundsInScreen not properly recycled", bounds.isEmpty()); in assertAccessibilityNodeInfoCleared()
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
D | PipActivity.java | 303 static void launchActivityIntoPinnedStack(Activity caller, Rect bounds) { in launchActivityIntoPinnedStack() argument 309 options.setLaunchBounds(bounds); in launchActivityIntoPinnedStack()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityWindowQueryTest.java | 664 Rect bounds = new Rect(); in isDividerWindowPresent() local 665 window.getBoundsInScreen(bounds); in isDividerWindowPresent()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerTest.java | 1808 Rect bounds = text.getBounds(); in testChangeTimedTextTrack() 1809 if (bounds != null) { in testChangeTimedTextTrack() 1810 Log.d(LOG_TAG, "bounds: " + bounds); in testChangeTimedTextTrack() 1813 assertEquals("wrong bounds", expected, bounds); in testChangeTimedTextTrack()
|
/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/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |