Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDialogTitle.java57 final int lineCount = layout.getLineCount(); in onMeasure() local
58 if (lineCount > 0) { in onMeasure()
59 final int ellipsisCount = layout.getEllipsisCount(lineCount - 1); in onMeasure()
DToolbar.java600 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
601 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
/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.java864 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
865 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DResizingTextView.java216 final int lineCount = layout.getLineCount(); in onMeasure() local
219 resizeText = lineCount == maxLines; in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewTest.java208 int lineCount = layout.getLineCount(); in testHyphenationWidth() local
210 for (int i = 0; i < lineCount; ++i) { in testHyphenationWidth()
/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/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java659 int lineCount = 1; in parseLaunchTimeAndWrite() local
664 if (lineCount == 2 && line.contains(SUCCESS_MESSAGE)) { in parseLaunchTimeAndWrite()
668 if (launchSuccess && lineCount == 5) { in parseLaunchTimeAndWrite()
674 lineCount++; in parseLaunchTimeAndWrite()
/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/graphics/java/android/graphics/
DColorSpace.java4171 int lineCount = 10;
4174 lineCount = 7;
4183 for (int i = 1; i < lineCount - 1; i++) {
4195 for (int i = 1; i < lineCount - 1; i++) {
4210 for (int i = 1; i < lineCount - 1; i++) {
/frameworks/base/media/java/android/media/
DWebVttRenderer.java1742 final int lineCount = lines.length; in update() local
1743 for (int i = 0; i < lineCount; i++) { in update()
/frameworks/base/core/java/android/widget/
DToolbar.java605 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local
606 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
DEditor.java5106 final int lineCount = layout.getLineCount();
5113 final float lastLineBottom = layout.getLineBottom(lineCount - 1) + verticalOffset;
5122 currLine = Math.min(prevLine + 1, lineCount - 1);
DTextView.java10179 final int lineCount = layout.getLineCount(); in onProvideAutoStructureForAssistOrAutofill() local
10180 if (lineCount <= 1) { in onProvideAutoStructureForAssistOrAutofill()
10220 if (expandedBottomLine >= lineCount) { in onProvideAutoStructureForAssistOrAutofill()
10221 expandedBottomLine = lineCount - 1; in onProvideAutoStructureForAssistOrAutofill()