/frameworks/base/core/java/com/android/internal/widget/ |
D | DialogTitle.java | 56 final int lineCount = layout.getLineCount(); in onMeasure() local 57 if (lineCount > 0) { in onMeasure() 58 final int ellipsisCount = layout.getEllipsisCount(lineCount - 1); in onMeasure()
|
D | SubtitleView.java | 304 final int lineCount = layout.getLineCount(); in onDraw() local 316 for (int i = 0; i < lineCount; i++) { in onDraw() 334 for (int i = 0; i < lineCount; i++) { in onDraw() 350 for (int i = 0; i < lineCount; i++) { in onDraw() 360 for (int i = 0; i < lineCount; i++) { in onDraw()
|
D | ActionBarView.java | 864 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local 865 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | DynamicLayoutTest.java | 142 final int lineCount = staticLayout.getLineCount(); in testGetLineExtra_withoutLinespacing() local 143 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withoutLinespacing() 144 for (int i = 0; i < lineCount; i++) { in testGetLineExtra_withoutLinespacing() 173 final int lineCount = staticLayout.getLineCount(); in testGetLineExtra_withLinespacing() local 174 assertEquals(lineCount, dynamicLayout.getLineCount()); in testGetLineExtra_withLinespacing() 175 for (int i = 0; i < lineCount - 1; i++) { in testGetLineExtra_withLinespacing()
|
D | LayoutTest.java | 227 final int lineCount = text.split("\n").length; in testGetLineExtra_returnsZeroByDefault() local 228 for (int i = 0; i < lineCount; i++) { in testGetLineExtra_returnsZeroByDefault()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | TextViewTransformState.java | 98 int lineCount = mText.getLineCount(); in transformScale() local 99 return lineCount == 1 && lineCount == otherTvs.mText.getLineCount() in transformScale()
|
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 817 int lineCount = 1; in parseLaunchTimeAndWrite() local 823 if (lineCount == 2 && line.contains(WARNING_MESSAGE)) { in parseLaunchTimeAndWrite() 826 if (lineCount == (2 + addLineForWarning) && line.contains(SUCCESS_MESSAGE)) { in parseLaunchTimeAndWrite() 830 if (launchSuccess && lineCount == (5 + addLineForWarning)) { in parseLaunchTimeAndWrite() 837 if (lineCount == (9 + addLineForWarning)) { in parseLaunchTimeAndWrite() 843 } else if (lineCount == (10 + addLineForWarning)) { in parseLaunchTimeAndWrite() 853 lineCount++; in parseLaunchTimeAndWrite()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 627 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/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 437 final int lineCount = ((Button) child).getLineCount(); in onMeasure() local 438 if (lineCount < 1 || lineCount > 2) { in onMeasure() 443 if (lineCount == 1) { in onMeasure() 466 && (lineCount == 2 || accumulatedMeasures.mMeasuredWidth > targetWidth); in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 209 int lineCount = layout.getLineCount(); in testHyphenationWidth() local 211 for (int i = 0; i < lineCount; ++i) { in testHyphenationWidth()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardBuilder.java | 1750 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/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 527 private ViewGroup buildExpectedView(CharSequence[] choices, int lineCount) { in buildExpectedView() argument 528 return buildExpectedView(choices, lineCount, new ArrayList<>()); in buildExpectedView() 533 CharSequence[] choices, int lineCount, List<Notification.Action> actions) { in buildExpectedView() argument 543 switch (lineCount) { in buildExpectedView() 551 fail("Invalid line count " + lineCount); in buildExpectedView()
|
/frameworks/base/graphics/java/android/graphics/ |
D | ColorSpace.java | 4368 int lineCount = 10; 4371 lineCount = 7; 4380 for (int i = 1; i < lineCount - 1; i++) { 4392 for (int i = 1; i < lineCount - 1; i++) { 4407 for (int i = 1; i < lineCount - 1; i++) {
|
/frameworks/base/media/java/android/media/ |
D | WebVttRenderer.java | 1744 final int lineCount = lines.length; in update() local 1745 for (int i = 0; i < lineCount; i++) { in update()
|
/frameworks/base/core/java/android/widget/ |
D | Toolbar.java | 621 final int lineCount = titleLayout.getLineCount(); in isTitleTruncated() local 622 for (int i = 0; i < lineCount; i++) { in isTitleTruncated()
|
D | Editor.java | 5706 final int lineCount = layout.getLineCount(); 5713 final float lastLineBottom = layout.getLineBottom(lineCount - 1) + verticalOffset; 5722 currLine = Math.min(prevLine + 1, lineCount - 1);
|
D | TextView.java | 11484 final int lineCount = layout.getLineCount(); in onProvideStructure() local 11485 if (lineCount <= 1) { in onProvideStructure() 11525 if (expandedBottomLine >= lineCount) { in onProvideStructure() 11526 expandedBottomLine = lineCount - 1; in onProvideStructure()
|