Home
last modified time | relevance | path

Searched refs:expectedRect (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java537 Rect expectedRect = sameRect ? actualRect : rect1; in compressRects() local
538 expected = Bitmap.createBitmap(testBitmap, expectedRect.left, expectedRect.top, in compressRects()
539 expectedRect.width(), expectedRect.height()); in compressRects()
DPathTest.java574 RectF expectedRect = new RectF(); in testOffsetTextPath() local
575 path.computeBounds(expectedRect); in testOffsetTextPath()
576 assertFalse(expectedRect.isEmpty()); in testOffsetTextPath()
578 expectedRect.offset(offset, offset); in testOffsetTextPath()
583 assertEquals(expectedRect, offsettedRect); in testOffsetTextPath()
DBitmapRegionDecoderTest.java827 Rect expectedRect = new Rect(left, top, left + actual.getWidth(), in compareRegionByRegion() local
829 expected = cropBitmap(wholeImage, expectedRect); in compareRegionByRegion()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DActivityManagerHelperTest.java257 Rect expectedRect = new Rect(ANIMATION_RECT_LEFT, in testCreateActivityOptions() local
270 originalOptions.setLaunchBounds(expectedRect); in testCreateActivityOptions()
278 assertThat(createdOptions.getLaunchBounds()).isEqualTo(expectedRect); in testCreateActivityOptions()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DTextBoundsInfoTest.java548 final RectF expectedRect = new RectF( in assertCharacterBounds() local
556 assertEquals(expectedRect, actualRectF); in assertCharacterBounds()