Searched refs:mLineWidth (Results 1 – 8 of 8) sorted by relevance
/frameworks/minikin/libs/minikin/ |
D | GreedyLineBreaker.cpp | 103 double mLineWidth = 0; member in minikin::__anondb74f7790111::GreedyLineBreaker 139 mLineWidth = remainingNextLineWidth; in breakLineAt() 155 mLineWidth - mSumOfCharWidthsAtPrevWordBoundary, // remaining next line width in tryLineBreakWithWordBreak() 219 remainingCharWidths - (mSumOfCharWidths - mLineWidth), remainingCharWidths, in tryLineBreakWithHyphenation() 223 if (mLineWidth <= mLineWidthLimit) { in tryLineBreakWithHyphenation() 248 breakLineAt(prevOffset, prevWidth, remainingCharWidths - (mSumOfCharWidths - mLineWidth), in tryLineBreakWithHyphenation() 267 breakLineAt(i, width, mLineWidth - width, mSumOfCharWidths - width, in doLineBreakWithGraphemeBounds() 280 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds() 286 mLineWidth = mSumOfCharWidths; in updateLineWidth() 290 mLineWidth = mSumOfCharWidths; in updateLineWidth() [all …]
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | GLPaint.java | 22 private float mLineWidth = 1f; field in GLPaint 35 mLineWidth = width; in setLineWidth() 39 return mLineWidth; in getLineWidth()
|
/frameworks/layoutlib/bridge/src/android/text/ |
D | StaticLayout_Delegate.java | 87 builder.mLineWidth = new LineWidth(firstWidth, firstWidthLineCount, restWidth); in nComputeLineBreaks() 108 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 115 builder.mLineBreaker = new OptimizingLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 120 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks() 178 private LineWidth mLineWidth; field in StaticLayout_Delegate.Builder
|
D | LineBreaker.java | 32 protected final @NonNull LineWidth mLineWidth; field in LineBreaker 38 mLineWidth = lineWidth; in LineBreaker()
|
D | GreedyLineBreaker.java | 47 float maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks() 79 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks() 88 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks() 113 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
|
D | OptimizingLineBreaker.java | 73 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks() 111 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks()
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutCreateDrawPerfTest.java | 67 private final int mLineWidth; field in StaticLayoutCreateDrawPerfTest 80 mLineWidth = Integer.MAX_VALUE; in StaticLayoutCreateDrawPerfTest() 138 mLineWidth) in createLayout()
|
D | TextViewSetTextMeasurePerfTest.java | 68 private final int mLineWidth; field in TextViewSetTextMeasurePerfTest 81 mLineWidth = Integer.MAX_VALUE; in TextViewSetTextMeasurePerfTest() 106 textView.measure(AT_MOST | mLineWidth, UNSPECIFIED); in timeCreate()
|