HomeSort by relevance Sort by last modified time
    Searched refs:maxLines (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /frameworks/base/core/java/com/android/internal/widget/
ImageFloatingTextView.java 80 int maxLines;
82 maxLines = mMaxLinesForHeight;
84 maxLines = getMaxLines() >= 0 ? getMaxLines() : Integer.MAX_VALUE;
86 builder.setMaxLines(maxLines);
87 mLayoutMaxLines = maxLines;
117 int maxLines = availableHeight / getLineHeight();
118 maxLines = Math.max(1, maxLines);
120 maxLines = Math.min(getMaxLines(), maxLines);
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/autoresizetext/
AutoResizeTextView.java 55 private int maxLines;
94 return maxLines;
100 public final void setMaxLines(int maxLines) {
101 super.setMaxLines(maxLines);
102 this.maxLines = maxLines;
221 int maxLines = getMaxLines();
222 if (maxLines == 1) {
237 // Return false if we need more than maxLines. The text is obviously too big in this case.
238 if (maxLines != NO_LINE_LIMIT && layout.getLineCount() > maxLines)
    [all...]
  /external/libvncserver/libvncserver/
ultra.c 167 int maxLines;
177 maxLines = ( ULTRA_MAX_SIZE(w) / w );
187 if ( maxLines < linesRemaining )
188 linesToComp = maxLines;
216 ( linesToComp == maxLines )) {
zlib.c 266 int maxLines;
276 maxLines = ( ZLIB_MAX_SIZE(w) / w );
286 if ( maxLines < linesRemaining )
287 linesToComp = maxLines;
315 ( linesToComp == maxLines )) {
  /external/gptfdisk/
parttypes.h 63 void ShowAllTypes(int maxLines = 21) const;
parttypes.cc 382 // in an ugly way. The maxLines value is the maximum number of lines
385 void PartType::ShowAllTypes(int maxLines) const {
403 if ((maxLines > 0) && (lineCount++ % maxLines) == 0) {
417 } // PartType::ShowAllTypes(int maxLines)
  /frameworks/base/core/java/android/util/
LocalLog.java 34 public LocalLog(int maxLines) {
35 mMaxLines = Math.max(0, maxLines);
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ResizingTextView.java 217 final int maxLines = getMaxLines();
218 if (maxLines > 1) {
219 resizeText = lineCount == maxLines;
AbstractDetailsDescriptionPresenter.java 111 final int maxLines = titleLines > 1 ? mBodyMinLines : mBodyMaxLines;
112 if (mBody.getMaxLines() != maxLines) {
113 mBody.setMaxLines(maxLines);
  /packages/apps/TV/src/com/android/tv/dvr/ui/
DetailsContentPresenter.java 85 final int maxLines = mFullTextMode ? bodyLines :
87 if (bodyLines > maxLines) {
100 showFullText((bodyLines - maxLines - 1) * mBodyLineSpacing);
104 if (mBody.getMaxLines() != maxLines) {
105 mBody.setMaxLines(maxLines);
  /device/generic/goldfish/libqemu/
test_guest_2.c 192 const int maxLines = 12;
201 if (++numLines >= maxLines) {
  /frameworks/support/compat/tests/java/android/support/v4/testutils/
TextViewActions.java 37 public static ViewAction setMaxLines(final int maxLines) {
54 textView.setMaxLines(maxLines);
  /external/icu/icu4c/source/samples/layout/
gnomelayout.cpp 226 gint maxLines = context->paragraph->getLineCount() - 1;
230 context->paragraph->draw(&surface, firstLine, (maxLines < lastLine)? maxLines : lastLine);
cgnomelayout.c 218 gint maxLines = pf_getLineCount(context->paragraph) - 1;
222 pf_draw(context->paragraph, surface, firstLine, (maxLines < lastLine)? maxLines : lastLine);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactEntryAdapter.java 47 public int maxLines = 1;
59 p.writeInt(maxLines);
73 maxLines = p.readInt();
ContactFragment.java 421 entry.maxLines = 4;
472 entry.maxLines = 100;
477 entry.maxLines = 10;
602 // Choose the max of the maxLines and maxLabelLines values.
603 maxLines = Math.max(maxLines, entry.maxLines);
726 setMaxLines(data, entry.maxLines);
786 private void setMaxLines(TextView textView, int maxLines) {
787 if (maxLines == 1)
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/widget/
AppCompatTextViewAutoSizeHelper.java 650 final int maxLines = Build.VERSION.SDK_INT >= 16 ? mTextView.getMaxLines() : -1;
669 ? createStaticLayoutForMeasuring(text, alignment, availableWidth, maxLines)
673 if (maxLines != -1 && layout.getLineCount() > maxLines) {
687 Layout.Alignment alignment, int availableWidth, int maxLines) {
704 .setMaxLines(maxLines == -1 ? Integer.MAX_VALUE : maxLines)
    [all...]
  /prebuilts/go/darwin-x86/src/cmd/gofmt/
gofmt_test.go 24 // within the first maxLines lines of the given file,
27 func gofmtFlags(filename string, maxLines int) string {
41 for s.Line <= maxLines {
  /prebuilts/go/linux-x86/src/cmd/gofmt/
gofmt_test.go 24 // within the first maxLines lines of the given file,
27 func gofmtFlags(filename string, maxLines int) string {
41 for s.Line <= maxLines {
  /external/icu/icu4c/source/tools/ctestfw/
uperf.cpp 26 static const int MAXLINES = 40000;
218 lines = new ULine[MAXLINES];
219 int maxLines = MAXLINES;
234 if (numLines >= maxLines) {
235 maxLines += MAXLINES;
236 ULine *newLines = new ULine[maxLines];
  /development/samples/USB/AdbTest/src/com/android/adb/
AdbTestActivity.java 90 int maxLines = r.height() / mLog.getLineHeight() - 1;
96 while (index > 0 && count <= maxLines) {
101 // truncate to maxLines
  /packages/apps/Dialer/java/com/android/voicemail/impl/
VvmLog.java 122 public LocalLog(int maxLines) {
123 mMaxLines = Math.max(0, maxLines);
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiDiagnostics.java 577 private ArrayList<String> getLogcat(int maxLines) {
578 ArrayList<String> lines = new ArrayList<String>(maxLines);
580 Process process = mJavaRuntime.exec(String.format("logcat -t %d", maxLines));
599 private LimitedCircularArray<String> getKernelLog(int maxLines) {
601 LimitedCircularArray<String> lines = new LimitedCircularArray<String>(maxLines);
  /packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
ConversationListItemView.java 376 final int maxLines;
382 maxLines = TextUtils.isEmpty(snippetText) ? 0 : NO_UNREAD_SNIPPET_LINE_COUNT;
386 maxLines = TextUtils.isEmpty(snippetText) ? 0 : UNREAD_SNIPPET_LINE_COUNT;
391 mSnippetTextView.setMaxLines(maxLines);
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 169 private static void layoutMaxLines(CharSequence source, int[] breaks, int maxLines) {
172 null, WIDTH, maxLines);

Completed in 649 milliseconds

1 2 3 4