Searched refs:dim (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/transition/src/android/transition/cts/ |
D | ChangeBoundsTest.java | 303 private void validateViewPlacement(int topViewResource, int bottomViewResource, int dim) { in validateViewPlacement() argument 305 float expectedDim = TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, dim, in validateViewPlacement() 330 private static boolean isWithinAPixel(float expectedDim, int dim) { in isWithinAPixel() argument 331 return (Math.abs(dim - expectedDim) <= 1); in isWithinAPixel() 334 private static void assertWithinAPixel(float expectedDim, int dim) { in assertWithinAPixel() argument 336 + expectedDim + ", but was " + dim, isWithinAPixel(expectedDim, dim)); in assertWithinAPixel() 399 int dim = newDim; in validateDim() local 408 dim = Math.max(lastDim, newDim); in validateDim() 413 dim = Math.min(lastDim, newDim); in validateDim() 423 return dim; in validateDim()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ResourcesTest.java | 217 final float dim = mResources.getDimension(R.dimen.app_icon_size); in testGetDimension() local 218 assertEquals(48.0f, dim); in testGetDimension() 231 final int dim = mResources.getDimensionPixelOffset(R.dimen.app_icon_size); in testGetDimensionPixelOffset() local 232 assertEquals(48, dim); in testGetDimensionPixelOffset()
|
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/ |
D | VideoEncoderTest.java | 1102 int dim = i == 1 ? range.getUpper() - delta : range.getLower() + delta; in getExtreme() local 1104 || (dim > range.getLower() && dim < range.getUpper())) { in getExtreme() 1105 return dim; in getExtreme()
|
/cts/apps/CameraITS/utils/ |
D | opencv_processing_utils.py | 224 dim = (int(img.shape[1] * scale), int(img.shape[0] * scale)) 225 return cv2.resize(img.copy(), dim, interpolation=cv2.INTER_AREA)
|
/cts/apps/CtsVerifier/libs/ |
D | opencv3-android.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/opencv/
org/ ... |