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/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1245 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedPreviewSizes() argument
1255 if (bound == null) { in getSupportedPreviewSizes()
1261 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedPreviewSizes()
1301 CameraManager cameraManager, int format, Size bound) throws CameraAccessException { in getSortedSizesForFormat() argument
1305 if (bound != null) { in getSortedSizesForFormat()
1308 if (comparator.compare(sz, bound) <= 0) { in getSortedSizesForFormat()
1333 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedVideoSizes() argument
1343 if (bound == null) { in getSupportedVideoSizes()
1349 if (sz.getWidth() <= bound.getWidth() && sz.getHeight() <= bound.getHeight()) { in getSupportedVideoSizes()
1365 CameraManager cameraManager, Size bound) throws CameraAccessException { in getSupportedStillSizes() argument
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DNinePatchDrawableTest.java620 final int bound = 40; in verifyOutlinePreloadDensityInner() local
622 preloadedDrawable.setBounds(0, 0, bound, bound); in verifyOutlinePreloadDensityInner()
627 assertEquals(new Rect(expectedInset, expectedInset, bound - expectedInset, in verifyOutlinePreloadDensityInner()
628 bound - expectedInset), origOutlineRect); in verifyOutlinePreloadDensityInner()
639 int scaledBound = (int) (bound * scale); in verifyOutlinePreloadDensityInner()
/cts/tests/sensor/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()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DDisplayCutoutTests.java188 private void assertCutoutIsConsistentWithInset(String position, int insetSize, Rect bound) { in assertCutoutIsConsistentWithInset() argument
190 assertThat("cutout must have a bound on the " + position, bound, in assertCutoutIsConsistentWithInset()
193 assertThat("cutout must have no bound on the " + position, bound, in assertCutoutIsConsistentWithInset()