Home
last modified time | relevance | path

Searched refs:maxLines (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DLayoutBuilderTest.kt88 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()
DStaticLayoutLineBreakingTest.java151 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) { in layoutMaxLines() argument
158 .setMaxLines(maxLines) in layoutMaxLines()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4627 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() local
8312 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() local
8328 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines)); in testAutoSizeCallers_setMaxLines()
8335 mActivityRule.runOnUiThread(() -> autoSizeTextView.setMaxLines(maxLines - 1)); in testAutoSizeCallers_setMaxLines()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt1168 field public static final int maxLines = 16843091; // 0x1010153