Searched refs:maxLines (Results 1 – 3 of 3) sorted by relevance
160 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) { in layoutMaxLines() argument163 null, WIDTH, maxLines); in layoutMaxLines()168 assertTrue("Number of lines", lineCount <= maxLines); in layoutMaxLines()
85 TextUtils.TruncateAt ellipsize, int maxLines) { in createEllipsizeStaticLayout() argument92 maxLines); in createEllipsizeStaticLayout()
2646 final int maxLines = 2; local2647 assertTrue(mTextView.getLineCount() > maxLines);2649 mTextView.setMaxLines(maxLines);2652 assertTrue(mTextView.getHeight() <= maxLines * mTextView.getLineHeight());