Home
last modified time | relevance | path

Searched refs:expectHeight (Results 1 – 2 of 2) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java54 public boolean waitForSurfaceSizeChanged(int timeOutMs, int expectWidth, int expectHeight) { in waitForSurfaceSizeChanged() argument
55 if (timeOutMs <= 0 || expectWidth <= 0 || expectHeight <= 0) { in waitForSurfaceSizeChanged()
60 timeOutMs, expectWidth, expectHeight)); in waitForSurfaceSizeChanged()
64 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
81 if (expectWidth == currentWidth && expectHeight == currentHeight) { in waitForSurfaceSizeChanged()
/cts/tests/tests/text/src/android/text/style/cts/
DLineHeightSpan_StandardTest.java52 final int expectHeight = 50; in testChooseLineHeight() local
53 LineHeightSpan span = new LineHeightSpan.Standard(expectHeight); in testChooseLineHeight()
59 assertEquals(expectHeight, fm.descent - fm.ascent); in testChooseLineHeight()
64 assertEquals(expectHeight, fm.descent - fm.ascent); in testChooseLineHeight()