Home
last modified time | relevance | path

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

/packages/apps/Browser/src/com/android/browser/
DSuggestionsAdapter.java299 int maxLines = getMaxLines(); in mixResults() local
302 int n = Math.min(s.getCount(), maxLines); in mixResults()
303 maxLines -= n; in mixResults()
322 int maxLines = mLandscapeMode ? mLinesLandscape : mLinesPortrait; in getMaxLines() local
323 maxLines = (int) Math.ceil(maxLines / 2.0); in getMaxLines()
324 return maxLines; in getMaxLines()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactEntryAdapter.java47 public int maxLines = 1; field in ContactEntryAdapter.Entry
59 p.writeInt(maxLines); in writeToParcel()
73 maxLines = p.readInt(); in readFromParcel()
DContactFragment.java421 entry.maxLines = 4; in buildEntries()
472 entry.maxLines = 100; in buildEntries()
477 entry.maxLines = 10; in buildEntries()
603 maxLines = Math.max(maxLines, entry.maxLines); in collapseWith()
726 setMaxLines(data, entry.maxLines); in bindView()
786 private void setMaxLines(TextView textView, int maxLines) { in setMaxLines() argument
787 if (maxLines == 1) { in setMaxLines()
792 textView.setMaxLines(maxLines); in setMaxLines()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDetailFragment.java581 entry.maxLines = kind.maxLinesForDisplay; in buildEntries()
650 imEntry.maxLines = imKind.maxLinesForDisplay; in buildEntries()
1233 public int maxLines = 1; field in ContactDetailFragment.DetailViewEntry
1325 maxLines = Math.max(maxLines, entry.maxLines); in collapseWith()
1689 setMaxLines(views.data, entry.maxLines); in bindDetailView()
1760 private void setMaxLines(TextView textView, int maxLines) { in setMaxLines() argument
1761 if (maxLines == 1) { in setMaxLines()
1766 textView.setMaxLines(maxLines); in setMaxLines()