Home
last modified time | relevance | path

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

/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/widget/
DCarUiTextViewTest.java84 textView.setText(new CarUiText.Builder(list).setMaxLines(1).build()); in testTruncateToVariant_startAsViewGone()
102 textView.setText(new CarUiText.Builder(text).setMaxLines(3).build()); in testSpanOverLastLine()
119 textView.setText(new CarUiText.Builder(text).setMaxLines(3).build()); in testLineBreaks_lineBreakAtEnd()
136 textView.setText(new CarUiText.Builder(text).setMaxLines(3).build()); in testSpan()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsContentPresenter.java81 mTitle.setMaxLines(mTitle.getLineCount() - 1);
111 mBody.setMaxLines(bodyLines);
127 mBody.setMaxLines(maxLines);
296 vh.mTitle.setMaxLines(vh.mTitleMaxLines); in onBindViewHolder()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DCarUiListItemTest.java622 lines.add(new CarUiText.Builder("Short text string").setMaxLines(2).build()); in testTextTruncation_twoShortLines()
623 lines.add(new CarUiText.Builder("Second short string").setMaxLines(2).build()); in testTextTruncation_twoShortLines()
641 lines.add(new CarUiText.Builder(LONG_CHAR_SEQUENCE).setMaxLines(2).build()); in testTextTruncation_oneLongOneShort_withMaxLines()
642 lines.add(new CarUiText.Builder("Second short string").setMaxLines(2).build()); in testTextTruncation_oneLongOneShort_withMaxLines()
663 lines.add(new CarUiText.Builder(LONG_CHAR_SEQUENCE).setMaxLines(Integer.MAX_VALUE).build()); in testTextTruncation_oneLongOneShort_noMaxLines()
664 lines.add(new CarUiText.Builder("Second short string").setMaxLines(2).build()); in testTextTruncation_oneLongOneShort_noMaxLines()
682 lines.add(new CarUiText.Builder(LONG_CHAR_SEQUENCE).setMaxLines(3).build()); in testTextTruncation_twoLong_withMaxLines()
683 lines.add(new CarUiText.Builder(LONG_CHAR_SEQUENCE).setMaxLines(3).build()); in testTextTruncation_twoLong_withMaxLines()
704 item.setTitle(new CarUiText.Builder(LONG_CHAR_SEQUENCE).setMaxLines(2).build()); in testTitleTextTruncation_withMaxLines()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DFixedLineSummaryPreferenceTest.java66 verify(mSummary).setMaxLines(1); in onBindViewHolder_shouldSetSingleLine()
75 verify(mSummary).setMaxLines(2); in onBindViewHolder_TwoLineSummary_shouldSetTwoLines()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCompoundButtonItem.java72 descriptionView.setMaxLines(mMaxLine); in onBind()
80 descriptionView.setMaxLines(sDefaultMaxLine); in onBind()
DCheckBoxItem.java61 descriptionTextView.setMaxLines(Integer.MAX_VALUE); in onBind()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSetupGlifLayoutActivity.java101 textView.setMaxLines(initialMaxLines); in increaseMaxLinesIfNecessary()
109 textView.setMaxLines(initialMaxLines + 1); in increaseMaxLinesIfNecessary()
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java117 mContentView.setMaxLines(mMaxLines); in bind()
134 mContentView.setMaxLines(mMaxLines); in bindTitleAndMessage()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDefaultSuggestionView.java100 mText1.setMaxLines(2); in bindAsSuggestion()
104 mText1.setMaxLines(1); in bindAsSuggestion()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java203 title.setMaxLines(res.getInteger(R.integer.action_title_max_lines)); in getView()
207 title.setMaxLines(res.getInteger(R.integer.action_title_min_lines)); in getView()
208 description.setMaxLines( in getView()
/packages/apps/Settings/src/com/android/settings/widget/
DFixedLineSummaryPreference.java58 summary.setMaxLines(mSummaryLineCount); in onBindViewHolder()
DDisabledCheckBoxPreference.java98 title.setMaxLines(2); in onBindViewHolder()
DValidatedEditTextPreference.java78 editText.setMaxLines(1); in onBindDialogView()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailViewHolder.java217 transcriptionTextView.setMaxLines(1); in collapseViewHolder()
312 transcriptionTextView.setMaxLines(999); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/
DEmergencyEditTextPreference.java71 summaryView.setMaxLines(MAX_LINES); in onBindViewHolder()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/
DCarUiText.java189 public Builder setMaxLines(int lines) { in setMaxLines() method in CarUiText.Builder
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreviewFragment.java87 sampleText.setMaxLines(lines); in onLayoutChange()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java143 mTitleView.setMaxLines(2); in applyNotificationInfo()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/
DAppsDividerView.java221 .setMaxLines(1) in getAllAppsLabelLayout()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionControlPreference.java235 title.setMaxLines(1); in onBindViewHolder()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListItemView.java391 mSnippetTextView.setMaxLines(maxLines); in bind()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/
DDeviceAdminAdd.java775 tv.setMaxLines(mAddMsgEllipsized ? getEllipsizedLines() : MAX_ADD_MSG_LINES); in toggleMessageEllipsis()