/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/widget/ |
D | CarUiTextViewTest.java | 84 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/ |
D | DetailsContentPresenter.java | 81 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/ |
D | CarUiListItemTest.java | 622 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/ |
D | FixedLineSummaryPreferenceTest.java | 66 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/ |
D | CompoundButtonItem.java | 72 descriptionView.setMaxLines(mMaxLine); in onBind() 80 descriptionView.setMaxLines(sDefaultMaxLine); in onBind()
|
D | CheckBoxItem.java | 61 descriptionTextView.setMaxLines(Integer.MAX_VALUE); in onBind()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | SetupGlifLayoutActivity.java | 101 textView.setMaxLines(initialMaxLines); in increaseMaxLinesIfNecessary() 109 textView.setMaxLines(initialMaxLines + 1); in increaseMaxLinesIfNecessary()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | CarNotificationBodyView.java | 117 mContentView.setMaxLines(mMaxLines); in bind() 134 mContentView.setMaxLines(mMaxLines); in bindTitleAndMessage()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | DefaultSuggestionView.java | 100 mText1.setMaxLines(2); in bindAsSuggestion() 104 mText1.setMaxLines(1); in bindAsSuggestion()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 203 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/ |
D | FixedLineSummaryPreference.java | 58 summary.setMaxLines(mSummaryLineCount); in onBindViewHolder()
|
D | DisabledCheckBoxPreference.java | 98 title.setMaxLines(2); in onBindViewHolder()
|
D | ValidatedEditTextPreference.java | 78 editText.setMaxLines(1); in onBindDialogView()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailViewHolder.java | 217 transcriptionTextView.setMaxLines(1); in collapseViewHolder() 312 transcriptionTextView.setMaxLines(999); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
|
/packages/apps/EmergencyInfo/src/com/android/emergency/preferences/ |
D | EmergencyEditTextPreference.java | 71 summaryView.setMaxLines(MAX_LINES); in onBindViewHolder()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/ |
D | CarUiText.java | 189 public Builder setMaxLines(int lines) { in setMaxLines() method in CarUiText.Builder
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/ |
D | FontScalePreviewFragment.java | 87 sampleText.setMaxLines(lines); in onLayoutChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationMainView.java | 143 mTitleView.setMaxLines(2); in applyNotificationInfo()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/appprediction/ |
D | AppsDividerView.java | 221 .setMaxLines(1) in getAllAppsLabelLayout()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/ |
D | PermissionControlPreference.java | 235 title.setMaxLines(1); in onBindViewHolder()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 391 mSnippetTextView.setMaxLines(maxLines); in bind()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/deviceadmin/ |
D | DeviceAdminAdd.java | 775 tv.setMaxLines(mAddMsgEllipsized ? getEllipsizedLines() : MAX_ADD_MSG_LINES); in toggleMessageEllipsis()
|