/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | DialogTitle.java | 55 final int lineCount = layout.getLineCount(); in onMeasure() local 56 if (lineCount > 0) { in onMeasure() 57 final int ellipsisCount = layout.getEllipsisCount(lineCount - 1); in onMeasure()
|
/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 | 305 final int lineCount = layout.getLineCount(); in onDraw() local 317 for (int i = 0; i < lineCount; i++) { in onDraw() 335 for (int i = 0; i < lineCount; i++) { in onDraw() 351 for (int i = 0; i < lineCount; i++) { in onDraw() 361 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 | DynamicLayoutOffsetMappingTest.java | 203 final int lineCount = lineBreaks.length - 1; in assertLineRange() local 204 assertThat(layout.getLineCount()).isEqualTo(lineCount); in assertLineRange() 205 for (int line = 0; line < lineCount; ++line) { in assertLineRange() 208 assertThat(layout.getLineEnd(lineCount - 1)).isEqualTo(lineBreaks[lineCount]); in assertLineRange()
|
D | LayoutTest.java | 247 final int lineCount = text.split("\n").length; in testGetLineExtra_returnsZeroByDefault() local 248 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/core/java/android/text/method/ |
D | BaseMovementMethod.java | 656 final int lineCount = layout.getLineCount(); in scrollBottom() local 657 if (getBottomLine(widget) <= lineCount - 1) { in scrollBottom() 659 layout.getLineTop(lineCount) - getInnerHeight(widget)); in scrollBottom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyView.java | 281 final int lineCount = ((Button) child).getLineCount(); in onMeasure() local 282 if (lineCount < 1) { in onMeasure() 288 if (lineCount > 2) { in onMeasure() 294 if (lineCount == 1) { in onMeasure()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardBuilder.java | 1754 int lineCount = 0; in appendPhotoLine() local 1762 lineCount++; in appendPhotoLine() 1763 if (lineCount > maxNum) { in appendPhotoLine() 1767 lineCount = 0; in appendPhotoLine() 2093 int lineCount = 0; in encodeQuotedPrintable() local 2106 lineCount += 3; in encodeQuotedPrintable() 2108 if (lineCount >= 67) { in encodeQuotedPrintable() 2117 lineCount = 0; in encodeQuotedPrintable()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewTest.java | 145 int lineCount = layout.getLineCount(); in testHyphenationWidth() local 147 for (int i = 0; i < lineCount; ++i) { in testHyphenationWidth()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 608 private ViewGroup buildExpectedView(CharSequence[] choices, int lineCount) { in buildExpectedView() argument 609 return buildExpectedView(choices, lineCount, new ArrayList<>()); in buildExpectedView() 614 CharSequence[] choices, int lineCount, List<Notification.Action> actions) { in buildExpectedView() argument
|
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/ |
D | TextInterpolator.kt | 494 for (lineNo in 0 until layout.lineCount) { // Shape all lines. in <lambda>()
|
/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()
|