Home
last modified time | relevance | path

Searched refs:mLineWidth (Results 1 – 8 of 8) sorted by relevance

/frameworks/minikin/libs/minikin/
DGreedyLineBreaker.cpp104 double mLineWidth = 0; member in minikin::__anondb74f7790111::GreedyLineBreaker
140 mLineWidth = remainingNextLineWidth; in breakLineAt()
156 mLineWidth - mSumOfCharWidthsAtPrevWordBoundary, // remaining next line width in tryLineBreakWithWordBreak()
220 remainingCharWidths - (mSumOfCharWidths - mLineWidth), remainingCharWidths, in tryLineBreakWithHyphenation()
224 if (mLineWidth <= mLineWidthLimit) { in tryLineBreakWithHyphenation()
249 breakLineAt(prevOffset, prevWidth, remainingCharWidths - (mSumOfCharWidths - mLineWidth), in tryLineBreakWithHyphenation()
268 breakLineAt(i, width, mLineWidth - width, mSumOfCharWidths - width, in doLineBreakWithGraphemeBounds()
281 breakLineAt(range.getEnd(), mLineWidth, 0, 0, EndHyphenEdit::NO_EDIT, StartHyphenEdit::NO_EDIT); in doLineBreakWithGraphemeBounds()
288 mLineWidth = mSumOfCharWidths; in updateLineWidth()
292 mLineWidth = mSumOfCharWidths; in updateLineWidth()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DGLPaint.java22 private float mLineWidth = 1f; field in GLPaint
35 mLineWidth = width; in setLineWidth()
39 return mLineWidth; in getLineWidth()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DGreedyLineBreaker.java44 float maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
77 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
88 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
115 maxWidth = mLineWidth.getLineWidth(lineNum); in computeBreaks()
DLineBreaker_Delegate.java104 builder.mLineWidth = new LineWidth(firstWidth, firstWidthLineCount, restWidth); in nComputeLineBreaks()
125 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
132 builder.mLineBreaker = new OptimizingLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
137 builder.mLineBreaker = new GreedyLineBreaker(primitives, builder.mLineWidth, in nComputeLineBreaks()
241 private LineWidth mLineWidth; field in LineBreaker_Delegate.Builder
DBaseLineBreaker.java33 LineWidth mLineWidth; field in BaseLineBreaker
40 mLineWidth = lineWidth; in BaseLineBreaker()
DOptimizingLineBreaker.java76 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks()
114 float maxWidth = mLineWidth.getLineWidth(lines); in computeBreaks()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DStaticLayoutCreateDrawPerfTest.java68 private final int mLineWidth; field in StaticLayoutCreateDrawPerfTest
81 mLineWidth = Integer.MAX_VALUE; in StaticLayoutCreateDrawPerfTest()
139 mLineWidth) in createLayout()
DTextViewSetTextMeasurePerfTest.java69 private final int mLineWidth; field in TextViewSetTextMeasurePerfTest
82 mLineWidth = Integer.MAX_VALUE; in TextViewSetTextMeasurePerfTest()
109 textView.measure(AT_MOST | mLineWidth, UNSPECIFIED); in timeCreate()