Searched refs:maxLines (Results 1 – 4 of 4) sorted by relevance
88 assertThat(layout.maxLines).isEqualTo(Int.MAX_VALUE) in buildBoringDefaults()116 assertThat(layout.maxLines).isEqualTo(Int.MAX_VALUE) in buildStaticDefaults()247 assertThat(boringLayout.maxLines).isEqualTo(3) in buildLayout_SetGetMaxLines()252 assertThat(staticLayout.maxLines).isEqualTo(3) in buildLayout_SetGetMaxLines()
151 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) { in layoutMaxLines() argument158 .setMaxLines(maxLines) in layoutMaxLines()
4627 final int maxLines = 2;4628 assertTrue(mTextView.getLineCount() > maxLines);4630 mTextView.setMaxLines(maxLines);4635 assertTrue(mTextView.getHeight() <= maxLines * mTextView.getLineHeight());8311 final int maxLines = i; in testAutoSizeCallers_setMaxLines() local8312 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines)); in testAutoSizeCallers_setMaxLines()8319 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines + 1)); in testAutoSizeCallers_setMaxLines()8327 final int maxLines = i; in testAutoSizeCallers_setMaxLines() local8328 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines)); in testAutoSizeCallers_setMaxLines()8335 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines - 1)); in testAutoSizeCallers_setMaxLines()
1168 field public static final int maxLines = 16843091; // 0x1010153