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.java133 CodecImage image, Rect area, int y, int u, int v); in fillImageRectWithYUV() argument
135 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { in fillImageRectWithYUV() argument
136 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); in fillImageRectWithYUV() local
139 public native static long[] getRawStats(CodecImage image, Rect area); in getRawStats() argument
141 public static long[] getRawStats(Image image, Rect area) { in getRawStats() argument
142 return getRawStats(ImageWrapper.createFromImage(image), area); in getRawStats()
145 public native static float[] getYUVStats(CodecImage image, Rect area); in getYUVStats() argument
147 public static float[] getYUVStats(Image image, Rect area) { in getYUVStats() argument
148 return getYUVStats(ImageWrapper.createFromImage(image), area); in getYUVStats()
DImageReaderDecoderTest.java645 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); in validateSwirl() local
646 if (area.isEmpty()) { in validateSwirl()
649 area.offset(crop.left, crop.top); in validateSwirl()
650 area.intersect(crop); in validateSwirl()
652 long[] oneStat = CodecUtils.getRawStats(image, area); in validateSwirl()
653 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" in validateSwirl()
668 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.py271 area = cv2.contourArea(contour)
272 if area < min_square_area:
283 area = cv2.contourArea(contour)
284 areas.append(area)
291 area = cv2.contourArea(square)
292 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/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsUtils.java163 int area = sizes[i].getWidth() * sizes[i].getHeight(); in getMaxSize() local
164 if (area > maxArea || in getMaxSize()
165 (area == maxArea && sizes[i].getWidth() > maxSize.getWidth())) { in getMaxSize()
167 maxArea = area; in getMaxSize()
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java114 private void verifyPointsInsideRegion(int[][] area) { in verifyPointsInsideRegion() argument
115 for (int i = 0; i < area.length; i ++) { in verifyPointsInsideRegion()
116 assertTrue(mRegion.contains(area[i][0], area[i][1])); in verifyPointsInsideRegion()
120 private void verifyPointsOutsideRegion(int[][] area) { in verifyPointsOutsideRegion() argument
121 for (int i = 0; i < area.length; i ++) { in verifyPointsOutsideRegion()
122 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
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...