Searched refs:setMaxLines (Results 1 – 9 of 9) sorted by relevance
59 .setTruncateAtType(TextUtils.TruncateAt.MARQUEE).setMaxLines(2).build(); in testCreateText_marqueeTrunctAtType_maxLinesTwo()
92 .setMaxLines(2) in <lambda>()
158 .setMaxLines(maxLines) in layoutMaxLines()470 .setMaxLines(3).build(); in test_staticlayout_doesNotAccessInvalidIndex()
245 .setMaxLines(3) in buildLayout_SetGetMaxLines()250 .setMaxLines(3) in buildLayout_SetGetMaxLines()
224 builder.setMaxLines(1); in testBuilder()1268 .setMaxLines(1)1280 mDefaultPaint, Integer.MAX_VALUE - 1).setMaxLines(2)1289 mDefaultPaint, Integer.MAX_VALUE - 1).setMaxLines(2)
155 mTextView.setMaxLines(1); in testOnGenericMotionEvent_verticalScroll()
1164 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 …]
3009 method @NonNull public android.app.smartspace.uitemplatedata.Text.Builder setMaxLines(int);
47827 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);