Home
last modified time | relevance | path

Searched refs:setMaxLines (Results 1 – 9 of 9) sorted by relevance

/cts/tests/smartspace/src/android/smartspace/cts/
DTextTest.java59 .setTruncateAtType(TextUtils.TruncateAt.MARQUEE).setMaxLines(2).build(); in testCreateText_marqueeTrunctAtType_maxLinesTwo()
/cts/tests/tests/text/src/android/text/cts/
DEllipsisHyphenationTest.kt92 .setMaxLines(2) in <lambda>()
DStaticLayoutLineBreakingTest.java158 .setMaxLines(maxLines) in layoutMaxLines()
470 .setMaxLines(3).build(); in test_staticlayout_doesNotAccessInvalidIndex()
DLayoutBuilderTest.kt245 .setMaxLines(3) in buildLayout_SetGetMaxLines()
250 .setMaxLines(3) in buildLayout_SetGetMaxLines()
DStaticLayoutTest.java224 builder.setMaxLines(1); in testBuilder()
1268 .setMaxLines(1)
1280 mDefaultPaint, Integer.MAX_VALUE - 1).setMaxLines(2)
1289 mDefaultPaint, Integer.MAX_VALUE - 1).setMaxLines(2)
/cts/tests/tests/text/src/android/text/method/cts/
DBaseMovementMethodTest.java155 mTextView.setMaxLines(1); in testOnGenericMotionEvent_verticalScroll()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1164 setMaxLines(2); in testHeight()
1179 mTextView.setMaxLines(0); in testSetMaxLines_toZero_shouldNotDisplayAnyLines()
3311 tvEllipsizeNone.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()
3318 tvEllipsizeEnd.setMaxLines(1); in testEllipsizeAndMaxLinesForSingleLine()
3356 tvEllipsizeNone.setMaxLines(2); in testEllipsizeAndMaxLinesForMultiLine()
3363 tvEllipsizeEnd.setMaxLines(2); in testEllipsizeAndMaxLinesForMultiLine()
3412 tvEllipsizeEnd.setMaxLines(2); in testEllipsizeAndMaxLinesForHint()
3418 tvEllipsizeNone.setMaxLines(2); in testEllipsizeAndMaxLinesForHint()
4630 mTextView.setMaxLines(maxLines);
4716 mTextView.setMaxLines(-1); in testSetMaxLinesException()
[all …]
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dsystem-current.txt3009 method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setMaxLines(int);
Dcurrent.txt47827 method @NonNull public android.text.Layout.Builder setMaxLines(@IntRange(from=1) int);
48100 method @NonNull public android.text.StaticLayout.Builder setMaxLines(@IntRange(from=0) int);
61049 method public void setMaxLines(int);