Searched refs:expectedWidth (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 153 int expectedWidth = mResources.getDrawable(MOVIE).getIntrinsicWidth(); in testGetMovieProperties() local 155 assertEquals(expectedWidth, scaledWidth); in testGetMovieProperties()
|
D | PaintTest.java | 212 float expectedWidth) { in verifyBreakText() argument 235 assertEquals("i: " + i, expectedWidth, measured[i][0], 0.0f); in verifyBreakText() 1291 int start, int end, float expectedWidth) { in verifyMeasureText() argument 1310 assertEquals(widths[3], expectedWidth, 0.0f); in verifyMeasureText()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutTest.java | 196 int expectedWidth = DEFAULT_OUTER_WIDTH - METRICS_WIDTH; in testAlignment() local 197 assertEquals((float) expectedWidth / 2, boringLayout.getLineLeft(0), 0.0f); in testAlignment() 198 expectedWidth = DEFAULT_OUTER_WIDTH + METRICS_WIDTH; in testAlignment() 199 assertEquals((float) expectedWidth / 2, boringLayout.getLineRight(0), 0.0f); in testAlignment() 202 expectedWidth = DEFAULT_OUTER_WIDTH - METRICS_WIDTH; in testAlignment() 203 assertEquals((float) expectedWidth, boringLayout.getLineLeft(0), 0.0f); in testAlignment()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | SurfaceViewTest.java | 95 int expectedWidth = mMockSurfaceView.getMeasuredWidth(); in testSurfaceView() local 99 assertEquals(expectedWidth, actualWidth); in testSurfaceView()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | VideoCallTest.java | 772 final int expectedWidth, final Work work) { in assertPeerWidthChanged() argument 778 return expectedWidth; in assertPeerWidthChanged() 787 "Peer width should be " + expectedWidth in assertPeerWidthChanged()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetadataRetrieverTest.java | 1007 int expectedWidth, int expectedHeight, Bitmap.Config config) { in testGetScaledFrameAtTime() argument 1025 expectedWidth, expectedHeight)); in testGetScaledFrameAtTime() 1030 assertEquals("Bitmap width is wrong", expectedWidth, bitmap.getWidth()); in testGetScaledFrameAtTime()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewTest.java | 3910 final int expectedWidth = metrics.getBounds().width() - insets.left - insets.right; in testGetWindowVisibleDisplayFrame() local 3914 assertEquals(expectedWidth, outRect.right); in testGetWindowVisibleDisplayFrame()
|