Home
last modified time | relevance | path

Searched refs:area (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/
DRegionVerifier.java47 Rect area = subRegionVerifier.region.getBounds(); in verify() local
49 subRegionVerifier.verifier, area); in verify()
52 Rect area = new Rect(); in verify() local
53 while (iter.next(area)) { in verify()
55 subRegionVerifier.verifier, area); in verify()
68 public RegionVerifier addVerifier(Rect area, BitmapVerifier verifier) { in addVerifier() argument
69 return addVerifier(new Region(area), verifier); in addVerifier()
72 public RegionVerifier addVerifier(Region area, BitmapVerifier verifier) { in addVerifier() argument
73 mRegionVerifiers.add(new SubRegionVerifiers(area, verifier)); in addVerifier()
/cts/tests/tests/media/src/android/media/cts/
DCodecUtils.java135 CodecImage image, Rect area, int y, int u, int v); in fillImageRectWithYUV() argument
137 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { in fillImageRectWithYUV() argument
138 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); in fillImageRectWithYUV() local
141 public native static long[] getRawStats(CodecImage image, Rect area); in getRawStats() argument
143 public static long[] getRawStats(Image image, Rect area) { in getRawStats() argument
144 return getRawStats(ImageWrapper.createFromImage(image), area); in getRawStats()
147 public native static float[] getYUVStats(CodecImage image, Rect area); in getYUVStats() argument
149 public static float[] getYUVStats(Image image, Rect area) { in getYUVStats() argument
150 return getYUVStats(ImageWrapper.createFromImage(image), area); in getYUVStats()
DImageReaderDecoderTest.java648 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); in validateSwirl() local
649 if (area.isEmpty()) { in validateSwirl()
652 area.offset(crop.left, crop.top); in validateSwirl()
653 area.intersect(crop); in validateSwirl()
655 long[] oneStat = CodecUtils.getRawStats(image, area); in validateSwirl()
656 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" in validateSwirl()
671 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); in validateSwirl()
/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp168 NativeImage *getNativeImage(JNIEnv *env, jobject image, jobject area = NULL) { in getNativeImage() argument
183 if (area == NULL) { in getNativeImage()
185 area = cropRect; in getNativeImage()
188 img->crop.left = env->GetIntField(area, gFields.fieldLeft); in getNativeImage()
189 img->crop.top = env->GetIntField(area, gFields.fieldTop); in getNativeImage()
190 img->crop.right = env->GetIntField(area, gFields.fieldRight); in getNativeImage()
191 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); in getNativeImage()
358 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() argument
360 NativeImage *img = getNativeImage(env, image, area); in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
480 jclass /*clazz*/, jobject image, jobject area) in Java_android_media_cts_CodecUtils_getRawStats() argument
[all …]
/cts/apps/CameraITS/pymodules/its/
Dcv2image.py307 area = cv2.contourArea(contour)
308 if area < min_square_area:
319 area = cv2.contourArea(contour)
320 areas.append(area)
327 area = cv2.contourArea(square)
328 if area < median_area * 0.90 or area > median_area * 1.10:
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/
DReferencePath.java140 float area = 0.5f * Math.abs((part1 - part2)); in validateAreaCovered() local
141 if (area <= MINIMUM_AREA_OF_TRIANGLE) { in validateAreaCovered()
/cts/tests/tests/car/src/android/car/cts/
DCarPropertyValueTest.java72 for (int area : cfg.getAreaIds()) { in testGetPropertyAreaId()
73 expectedAreaIds.add(area); in testGetPropertyAreaId()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java178 int area = sizes[i].getWidth() * sizes[i].getHeight(); in getMaxSize() local
179 if (area > maxArea || in getMaxSize()
180 (area == maxArea && sizes[i].getWidth() > maxSize.getWidth())) { in getMaxSize()
182 maxArea = area; in getMaxSize()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java115 private void verifyPointsInsideRegion(int[][] area) { in verifyPointsInsideRegion() argument
116 for (int i = 0; i < area.length; i ++) { in verifyPointsInsideRegion()
117 assertTrue(mRegion.contains(area[i][0], area[i][1])); in verifyPointsInsideRegion()
121 private void verifyPointsOutsideRegion(int[][] area) { in verifyPointsOutsideRegion() argument
122 for (int i = 0; i < area.length; i ++) { in verifyPointsOutsideRegion()
123 assertFalse(mRegion.contains(area[i][0], area[i][1])); in verifyPointsOutsideRegion()
/cts/hostsidetests/sustainedperf/dhrystone/
DDrystone-2.1.sh29 XCPU/compiler performance measurement, in particular in the area of
DRationale13 CPU/compiler performance measurement, in particular in the area of