Home
last modified time | relevance | path

Searched refs:lineCount (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DDialogTitle.java54 final int lineCount = layout.getLineCount(); in onMeasure() local
55 if (lineCount > 0) { in onMeasure()
56 final int ellipsisCount = layout.getEllipsisCount(lineCount - 1); in onMeasure()
DSubtitleView.java301 final int lineCount = layout.getLineCount(); in onDraw() local
313 for (int i = 0; i < lineCount; i++) { in onDraw()
331 for (int i = 0; i < lineCount; i++) { in onDraw()
347 for (int i = 0; i < lineCount; i++) { in onDraw()
357 for (int i = 0; i < lineCount; i++) { in onDraw()
DActionBarView.java871 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
872 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTicker.java92 int lineCount = l.getLineCount(); in getText() local
93 if (lineCount > 0) { in getText()
99 throw new RuntimeException("lineCount=" + lineCount + " current=" + current + in getText()
118 final int lineCount = l.getLineCount(); in advance() local
120 for (i=0; i<lineCount; i++) { in advance()
123 if (i == lineCount-1) { in advance()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java218 final int lineCount = layout.getLineCount(); in onMeasure() local
221 resizeText = lineCount == maxLines; in onMeasure()
/frameworks/base/core/java/android/text/method/
DBaseMovementMethod.java627 final int lineCount = layout.getLineCount(); in scrollBottom() local
628 if (getBottomLine(widget) <= lineCount - 1) { in scrollBottom()
630 layout.getLineTop(lineCount) - getInnerHeight(widget)); in scrollBottom()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1750 int lineCount = 0; in appendPhotoLine() local
1758 lineCount++; in appendPhotoLine()
1759 if (lineCount > maxNum) { in appendPhotoLine()
1763 lineCount = 0; in appendPhotoLine()
2089 int lineCount = 0; in encodeQuotedPrintable() local
2102 lineCount += 3; in encodeQuotedPrintable()
2104 if (lineCount >= 67) { in encodeQuotedPrintable()
2113 lineCount = 0; in encodeQuotedPrintable()
/frameworks/base/core/java/android/app/
DNotification.java3945 int lineCount = MAX_LINES; in calculateMaxLines() local
3949 lineCount -= LINES_CONSUMED_BY_ACTIONS; in calculateMaxLines()
3952 lineCount -= LINES_CONSUMED_BY_SUMMARY; in calculateMaxLines()
3957 lineCount--; in calculateMaxLines()
3959 return lineCount; in calculateMaxLines()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java425 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
426 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1740 final int lineCount = lines.length; in update() local
1741 for (int i = 0; i < lineCount; i++) { in update()
/frameworks/base/core/java/android/widget/
DToolbar.java412 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
413 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()