Home
last modified time | relevance | path

Searched refs:expectedHeight (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/graphics/src/android/graphics/cts/
DMovieTest.java149 int expectedHeight = mResources.getDrawable(MOVIE).getIntrinsicHeight(); in testGetMovieProperties() local
151 assertEquals(expectedHeight, scaledHeight); in testGetMovieProperties()
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DSurfaceViewTest.java94 int expectedHeight = mMockSurfaceView.getMeasuredHeight(); in testSurfaceView() local
98 assertEquals(expectedHeight, actualHeight); in testSurfaceView()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTakeScreenshotTest.java417 int expectedWidth, int expectedHeight, long timestampBeforeTakeScreenshot) { in verifyScreenshotResult() argument
424 assertThat(hardwareBuffer.getHeight()).isEqualTo(expectedHeight); in verifyScreenshotResult()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaMetadataRetrieverTest.java1118 int expectedWidth, int expectedHeight, Bitmap.Config config) { in testGetScaledFrameAtTime() argument
1136 expectedWidth, expectedHeight)); in testGetScaledFrameAtTime()
1142 assertEquals("Bitmap height is wrong", expectedHeight, bitmap.getHeight()); in testGetScaledFrameAtTime()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1618 final int expectedHeight = 100;
1623 spanStr.setSpan(new LineHeightSpan.Standard(expectedHeight), 0, spanStr.length(),
1630 assertEquals(expectedHeight, layout.getLineBottom(i) - layout.getLineTop(i));
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1183 final int expectedHeight = mTextView.getTotalPaddingBottom() in testSetMaxLines_toZero_shouldNotDisplayAnyLines() local
1186 assertEquals(expectedHeight, mTextView.getHeight()); in testSetMaxLines_toZero_shouldNotDisplayAnyLines()
1190 assertEquals(expectedHeight, mTextView.getHeight()); in testSetMaxLines_toZero_shouldNotDisplayAnyLines()
1194 assertEquals(expectedHeight, mTextView.getHeight()); in testSetMaxLines_toZero_shouldNotDisplayAnyLines()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java4041 final int expectedHeight = metrics.getBounds().height() - insets.top - insets.bottom; in testGetWindowVisibleDisplayFrame() local
4045 assertEquals(expectedHeight, outRect.bottom); in testGetWindowVisibleDisplayFrame()