/cts/tests/tests/text/src/android/text/cts/ |
D | LayoutGetRangeForRectTest.java | 112 RectF area = new RectF( in character_anyOverlap() local 118 area, mGraphemeClusterSegmentFinder, Layout.INCLUSION_STRATEGY_ANY_OVERLAP); in character_anyOverlap() 128 RectF area = new RectF( in character_anyOverlap_multiLine() local 134 area, mGraphemeClusterSegmentFinder, Layout.INCLUSION_STRATEGY_ANY_OVERLAP); in character_anyOverlap_multiLine() 144 RectF area = new RectF(14f, mLineCenters[0] - 1f, 26f, mLineCenters[0] + 1f); in character_containsCenter() local 146 area, mGraphemeClusterSegmentFinder, Layout.INCLUSION_STRATEGY_CONTAINS_CENTER); in character_containsCenter() 158 RectF area = new RectF(6f, mLineCenters[0] - 1f, 34f, mLineCenters[0] + 1f); in character_containsCenter_partialCharacterButNotCenter() local 160 area, mGraphemeClusterSegmentFinder, Layout.INCLUSION_STRATEGY_CONTAINS_CENTER); in character_containsCenter_partialCharacterButNotCenter() 171 RectF area = new RectF(94f, mLineCenters[1] - 1f, 103f, mLineCenters[1] + 1f); in character_containsCenter_rtl() local 173 area, mGraphemeClusterSegmentFinder, Layout.INCLUSION_STRATEGY_CONTAINS_CENTER); in character_containsCenter_rtl() [all …]
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapverifiers/ |
D | RegionVerifier.java | 47 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/common/src/android/media/cts/ |
D | CodecUtils.java | 130 CodecImage image, Rect area, int y, int u, int v); in fillImageRectWithYUV() argument 132 public static void fillImageRectWithYUV(Image image, Rect area, int y, int u, int v) { in fillImageRectWithYUV() argument 133 fillImageRectWithYUV(ImageWrapper.createFromImage(image), area, y, u, v); in fillImageRectWithYUV() local 136 public native static long[] getRawStats(CodecImage image, Rect area); in getRawStats() argument 138 public static long[] getRawStats(Image image, Rect area) { in getRawStats() argument 139 return getRawStats(ImageWrapper.createFromImage(image), area); in getRawStats() 142 public native static float[] getYUVStats(CodecImage image, Rect area); in getYUVStats() argument 144 public static float[] getYUVStats(Image image, Rect area) { in getYUVStats() argument 145 return getYUVStats(ImageWrapper.createFromImage(image), area); in getYUVStats()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewHandwritingGestureTest.java | 205 RectF area = new RectF( in performSelectGesture_character() local 210 performSelectGesture(area, HandwritingGesture.GRANULARITY_CHARACTER); in performSelectGesture_character() 222 RectF area = new RectF( in previewSelectGesture_character() local 227 previewSelectGesture(area, HandwritingGesture.GRANULARITY_CHARACTER); in previewSelectGesture_character() 241 RectF area = new RectF( in performSelectGesture_word() local 246 performSelectGesture(area, HandwritingGesture.GRANULARITY_WORD); in performSelectGesture_word() 260 RectF area = new RectF( in previewSelectGesture_word() local 265 previewSelectGesture(area, HandwritingGesture.GRANULARITY_WORD); in previewSelectGesture_word() 281 RectF area = new RectF( in performSelectGesture_betweenWords_shouldFallback() local 286 performSelectGesture(area, HandwritingGesture.GRANULARITY_WORD); in performSelectGesture_betweenWords_shouldFallback() [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsCbLocationTest.java | 44 SmsCbLocation area = new SmsCbLocation(PLMN, LAC, CID); in testIsInLocationArea() local 45 assertTrue(cbLocation.isInLocationArea(area)); in testIsInLocationArea()
|
/cts/apps/CameraITS/utils/ |
D | video_processing_utils.py | 97 area = size_to_area(size) 98 if area > largest_area: 99 largest_area = area 137 area = size_to_area(size) 138 if smallest_area > area >= min_area: 139 smallest_area = area
|
D | zoom_capture_utils.py | 192 area = cv2.contourArea(contour) 193 if area > min_area * _CONTOUR_AREA_LOGGING_THRESH: # skip tiny contours 195 area, min_area, len(contour), min_circle_pts) 196 if area > min_area and len(contour) >= min_circle_pts: 200 circlish = round((math.pi * radius**2) / area, 4) 207 logging.debug('circle found: r: %.2f, area: %.2f\n', radius, area) 208 circles.append([shape['ctx'], shape['cty'], radius, circlish, area])
|
D | preview_processing_utils.py | 69 area = size_to_area(size) 70 if smallest_area > area >= _AREA_720P_VIDEO: 71 smallest_area = area 74 if area > largest_area: 75 largest_area = area
|
D | opencv_processing_utils.py | 515 area = cv2.contourArea(contour) 517 if (area > min_circle_area and num_pts >= CIRCLE_MIN_PTS): 521 circlish = (math.pi * radius**2) / area 717 area = cv2.contourArea(contour) 719 if (area > min_area and num_pts >= 4): 721 squarish = (shape['width'] * shape['height']) / area 803 area = cv2.contourArea(contour) 804 if area < square_area_min: 811 area = cv2.contourArea(contour) 812 areas.append(area) [all …]
|
D | low_light_utils.py | 101 area = w * h 102 if area > max_area: 103 max_area = area
|
/cts/tests/tests/media/common/jni/ |
D | codec-utils-jni.cpp | 182 static std::unique_ptr<NativeImage> getNativeImage(JNIEnv *env, jobject image, jobject area = NULL)… in getNativeImage() argument 197 if (area == NULL) { in getNativeImage() 199 area = cropRect; in getNativeImage() 202 img->crop.left = env->GetIntField(area, gFields.fieldLeft); in getNativeImage() 203 img->crop.top = env->GetIntField(area, gFields.fieldTop); in getNativeImage() 204 img->crop.right = env->GetIntField(area, gFields.fieldRight); in getNativeImage() 205 img->crop.bottom = env->GetIntField(area, gFields.fieldBottom); in getNativeImage() 370 jclass /*clazz*/, jobject image, jobject area, jint y, jint u, jint v) in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() argument 372 auto img = getNativeImage(env, image, area); in Java_android_media_cts_CodecUtils_fillImageRectWithYUV() 501 jclass /*clazz*/, jobject image, jobject area) in Java_android_media_cts_CodecUtils_getRawStats() argument [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/ |
D | ExtensionRearDisplayPresentationTest.java | 17 package android.server.wm.jetpack.area; 26 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_ACTIVE; 27 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_CONTENT_VISIBLE; 28 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_INACTIVE; 61 import androidx.window.extensions.area.ExtensionWindowAreaPresentation; 62 import androidx.window.extensions.area.ExtensionWindowAreaStatus; 63 import androidx.window.extensions.area.WindowAreaComponent; 64 import androidx.window.extensions.area.WindowAreaComponent.WindowAreaStatus;
|
D | ExtensionRearDisplayPresentationKeyguardTest.java | 17 package android.server.wm.jetpack.area; 22 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_ACTIVE; 23 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_CONTENT_VISIBLE; 24 import static androidx.window.extensions.area.WindowAreaComponent.SESSION_STATE_INACTIVE; 51 import androidx.window.extensions.area.ExtensionWindowAreaPresentation; 52 import androidx.window.extensions.area.ExtensionWindowAreaStatus; 53 import androidx.window.extensions.area.WindowAreaComponent;
|
D | TestPresentationView.java | 17 package android.server.wm.jetpack.area;
|
D | ExtensionRearDisplayTest.java | 17 package android.server.wm.jetpack.area; 54 import androidx.window.extensions.area.WindowAreaComponent; 55 import androidx.window.extensions.area.WindowAreaComponent.WindowAreaSessionState; 56 import androidx.window.extensions.area.WindowAreaComponent.WindowAreaStatus;
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/ |
D | TestRearDisplayCrashingActivity.java | 23 import androidx.window.extensions.area.WindowAreaComponent;
|
D | WindowExtensionTestRule.java | 24 import androidx.window.extensions.area.WindowAreaComponent;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/Path/ |
D | ReferencePath.java | 140 float area = 0.5f * Math.abs((part1 - part2)); in validateAreaCovered() local 141 if (area <= MINIMUM_AREA_OF_TRIANGLE) { in validateAreaCovered()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | ImageReaderDecoderTest.java | 610 Rect area = new Rect(pos - step, pos, crop.width() / 2, crop.height() + 2 * step - pos); in validateSwirl() local 611 if (area.isEmpty()) { in validateSwirl() 614 area.offset(crop.left, crop.top); in validateSwirl() 615 area.intersect(crop); in validateSwirl() 617 long[] oneStat = CodecUtils.getRawStats(image, area); in validateSwirl() 618 if (VERBOSE) Log.v(TAG, "area=" + area + ", layer=" + layer + ", last=" in validateSwirl() 633 area.offset(crop.centerX() - area.left, 2 * (crop.centerY() - area.centerY())); in validateSwirl()
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarPropertyValueTest.java | 134 for (int area : cfg.getAreaIds()) { in testGetPropertyAreaId() 135 expectedAreaIds.add(area); in testGetPropertyAreaId()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsUtils.java | 208 int area = sizes[i].getWidth() * sizes[i].getHeight(); in getMaxSize() local 209 if (area > maxArea || in getMaxSize() 210 (area == maxArea && sizes[i].getWidth() > maxSize.getWidth())) { in getMaxSize() 212 maxArea = area; in getMaxSize()
|
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/ |
D | Utils.java | 437 int area = 0; in calculateArea() local 445 area += rectArea; in calculateArea() 448 return area; in calculateArea()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | TextBoundsInfoMethodTest.java | 966 TextBoundsInfo textBoundsInfo, RectF area, SegmentFinder segmentFinder, in assertGetRangeForRect() argument 969 textBoundsInfo.getRangeForRect(area, segmentFinder, textInclusionStrategy); in assertGetRangeForRect() 973 private static void assertGetRangeForRectIsNull(TextBoundsInfo textBoundsInfo, RectF area, in assertGetRangeForRectIsNull() argument 976 textBoundsInfo.getRangeForRect(area, segmentFinder, textInclusionStrategy); in assertGetRangeForRectIsNull()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | RegionTest.java | 115 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/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/extensions/util/ |
D | ExtensionsUtil.java | 38 import androidx.window.extensions.area.WindowAreaComponent;
|