Searched refs:expectHeight (Results 1 – 2 of 2) sorted by relevance
54 public boolean waitForSurfaceSizeChanged(int timeOutMs, int expectWidth, int expectHeight) { in waitForSurfaceSizeChanged() argument55 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()
52 final int expectHeight = 50; in testChooseLineHeight() local53 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()