/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 | 263 final int lineCount = ((Button) child).getLineCount(); in onMeasure() local 264 if (lineCount < 1 || lineCount > 2) { in onMeasure() 269 if (lineCount == 1) { in onMeasure()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 134 int lineCount = layout.getLineCount(); in testHyphenationWidth() local 136 for (int i = 0; i < lineCount; ++i) { in testHyphenationWidth()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | DualHeightHorizontalLinearLayout.kt | 123 if (tv.lineCount < 2) { in <lambda>()
|
/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/src/com/android/keyguard/ |
D | TextInterpolator.kt | 425 for (lineNo in 0 until layout.lineCount) { // Shape all lines. in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 570 private ViewGroup buildExpectedView(CharSequence[] choices, int lineCount) { in buildExpectedView() argument 571 return buildExpectedView(choices, lineCount, new ArrayList<>()); in buildExpectedView() 576 CharSequence[] choices, int lineCount, List<Notification.Action> actions) { in buildExpectedView() argument
|
/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 | TextView.java | 11793 final int lineCount = layout.getLineCount(); in onProvideStructure() local 11794 if (lineCount <= 1) { in onProvideStructure() 11834 if (expandedBottomLine >= lineCount) { in onProvideStructure() 11835 expandedBottomLine = lineCount - 1; in onProvideStructure()
|