Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DCodecUtils.java122 CodecImage image, Rect area, int y, int u, int v); in fillImageRectWithYUV() argument
124 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { in fillImageRectWithYUV() argument
125 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); in fillImageRectWithYUV() local
128 public native static long[] getRawStats(CodecImage image, Rect area); in getRawStats() argument
130 public static long[] getRawStats(Image image, Rect area) { in getRawStats() argument
131 return getRawStats(ImageWrapper.createFromImage(image), area); in getRawStats()
134 public native static float[] getYUVStats(CodecImage image, Rect area); in getYUVStats() argument
136 public static float[] getYUVStats(Image image, Rect area) { in getYUVStats() argument
137 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.cpp159 NativeImage *getNativeImage(JNIEnv *env, jobject image, jobject area = NULL) { in getNativeImage() argument
174 if (area == NULL) { in getNativeImage()
176 area = cropRect; in getNativeImage()
179 img->crop.left = env->GetIntField(area, gFields.fieldLeft); in getNativeImage()
180 img->crop.top = env->GetIntField(area, gFields.fieldTop); in getNativeImage()
181 img->crop.right = env->GetIntField(area, gFields.fieldRight); in getNativeImage()
182 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); in getNativeImage()
308 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() argument
310 NativeImage *img = getNativeImage(env, image, area); in Java_android_media_cts_CodecUtils_fillImageRectWithYUV()
430 jclass /*clazz*/, jobject image, jobject area) in Java_android_media_cts_CodecUtils_getRawStats() argument
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DRegionTest.java102 private void assertPointsInsideRegion(int[][] area) { in assertPointsInsideRegion() argument
103 for (int i = 0; i < area.length; i ++) { in assertPointsInsideRegion()
104 assertTrue(mRegion.contains(area[i][0], area[i][1])); in assertPointsInsideRegion()
108 private void assertPointsOutsideRegion(int[][] area) { in assertPointsOutsideRegion() argument
109 for (int i = 0; i < area.length; i ++) { in assertPointsOutsideRegion()
110 assertFalse(mRegion.contains(area[i][0], area[i][1])); in assertPointsOutsideRegion()
/cts/apps/CtsVerifier/libs/
Dopencv-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js5650 area: [ 1, "<map>", "</map>" ], property