Searched refs:expectedWidth (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 189 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/ |
D | MovieTest.java | 152 int expectedWidth = mResources.getDrawable(MOVIE).getIntrinsicWidth(); in testGetMovieProperties() local 154 assertEquals(expectedWidth, scaledWidth); in testGetMovieProperties()
|
D | PaintTest.java | 160 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/ |
D | SurfaceViewTest.java | 93 int expectedWidth = mMockSurfaceView.getMeasuredWidth(); in testSurfaceView() local 97 assertEquals(expectedWidth, actualWidth); in testSurfaceView()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | VideoCallTest.java | 771 final int expectedWidth, final Work work) { in assertPeerWidthChanged() argument 777 return expectedWidth; in assertPeerWidthChanged() 786 "Peer width should be " + expectedWidth in assertPeerWidthChanged()
|