Home
last modified time | relevance | path

Searched refs:bound (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DAppWidgetManagerPermissionTest.java54 final boolean bound = mAppWidgetManager.bindAppWidgetIdIfAllowed(1, in testBindAppWidget()
56 assertFalse("Was able to call bindAppWidgetId", bound); in testBindAppWidget()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraTestUtils.java1124 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument
1134 if (bound == null) { in getSupportedPreviewSizes()
1140 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1180 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument
1184 if (bound != null) { in getSortedSizesForFormat()
1187 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1212 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument
1222 if (bound == null) { in getSupportedVideoSizes()
1228 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
1244 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedStillSizes() argument
[all …]
DRobustnessTest.java1636 private static Size getMaxSize(Size[] sizes, Size bound) { in getMaxSize() argument
1643 if (size.getWidth() <= bound.getWidth() && size.getHeight() <= bound.getHeight()) { in getMaxSize()
1657 assertTrue("No size under bound found: " + Arrays.toString(sizes) + " bound " + bound, in getMaxSize()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java581 final int bound = 40; in testOutlinePreloadDensityInner() local
583 preloadedDrawable.setBounds(0, 0, bound, bound); in testOutlinePreloadDensityInner()
588 assertEquals(new Rect(expectedInset, expectedInset, bound - expectedInset, in testOutlinePreloadDensityInner()
589 bound - expectedInset), origOutlineRect); in testOutlinePreloadDensityInner()
600 int scaledBound = (int) (bound * scale); in testOutlinePreloadDensityInner()
/cts/tests/tests/hardware/src/android/hardware/cts/
DSensorManagerStaticTest.java606 private static void assertRoughlyEqual(String message, float a, float b, float bound) { in assertRoughlyEqual() argument
607 assertTrue(message, Math.abs(a-b) < bound); in assertRoughlyEqual()
611 float bound) { in assertVectorRoughlyEqual() argument
618 assertRoughlyEqual(message, (float)Math.sqrt(sum), 0.f, bound); in assertVectorRoughlyEqual()