Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java189 int expectedWidth = DEFAULT_OUTER_WIDTH - METRICS_WIDTH; in testAlignment() local
190 assertEquals((float) expectedWidth / 2, boringLayout.getLineLeft(0), 0.0f); in testAlignment()
191 expectedWidth = DEFAULT_OUTER_WIDTH + METRICS_WIDTH; in testAlignment()
192 assertEquals((float) expectedWidth / 2, boringLayout.getLineRight(0), 0.0f); in testAlignment()
195 expectedWidth = DEFAULT_OUTER_WIDTH - METRICS_WIDTH; in testAlignment()
196 assertEquals((float) expectedWidth, boringLayout.getLineLeft(0), 0.0f); in testAlignment()
/cts/tests/tests/graphics/src/android/graphics/cts/
DMovieTest.java152 int expectedWidth = mResources.getDrawable(MOVIE).getIntrinsicWidth(); in testGetMovieProperties() local
154 assertEquals(expectedWidth, scaledWidth); in testGetMovieProperties()
DPaintTest.java160 float expectedWidth) { in verifyBreakText() argument
183 assertEquals("i: " + i, expectedWidth, measured[i][0], 0.0f); in verifyBreakText()
1151 int start, int end, float expectedWidth) { in verifyMeasureText() argument
1170 assertEquals(widths[3], expectedWidth, 0.0f); in verifyMeasureText()
/cts/tests/tests/view/src/android/view/cts/
DSurfaceViewTest.java93 int expectedWidth = mMockSurfaceView.getMeasuredWidth(); in testSurfaceView() local
97 assertEquals(expectedWidth, actualWidth); in testSurfaceView()
/cts/tests/tests/telecom/src/android/telecom/cts/
DVideoCallTest.java771 final int expectedWidth, final Work work) { in assertPeerWidthChanged() argument
777 return expectedWidth; in assertPeerWidthChanged()
786 "Peer width should be " + expectedWidth in assertPeerWidthChanged()