Home
last modified time | relevance | path

Searched refs:tabStops (Results 1 – 12 of 12) sorted by relevance

/frameworks/minikin/libs/minikin/
DLineBreaker.cpp27 const TabStops& tabStops, bool useBoundsForWidth) { in breakIntoLines() argument
29 return breakLineGreedy(textBuffer, measuredText, lineWidth, tabStops, in breakIntoLines()
DGreedyLineBreaker.h29 const LineWidth& lineWidthLimits, const TabStops& tabStops,
DGreedyLineBreaker.cpp42 const LineWidth& lineWidthLimits, const TabStops& tabStops, in GreedyLineBreaker() argument
48 mTabStops(tabStops), in GreedyLineBreaker()
552 const LineWidth& lineWidthLimits, const TabStops& tabStops, in breakLineGreedy() argument
557 GreedyLineBreaker lineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation, in breakLineGreedy()
578 GreedyLineBreaker phLineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation, in breakLineGreedy()
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp85 ScopedNullableFloatArrayRO tabStops(env, variableTabStops); in nComputeLineBreaks() local
93 tabStops.get(), tabStops.size(), defaultTabStop)); in nComputeLineBreaks()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp101 TabStops tabStops(nullptr, 0, 10); in doLineBreakForJapanese() local
102 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, false, in doLineBreakForJapanese()
122 TabStops tabStops(nullptr, 0, 10); in doLineBreakForKorean() local
123 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, false, in doLineBreakForKorean()
143 TabStops tabStops(nullptr, 0, 10); in doLineBreak() local
144 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreak()
182 TabStops tabStops(nullptr, 0, 10); in doLineBreakWithNoHyphenSpan() local
183 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreakWithNoHyphenSpan()
203 TabStops tabStops(nullptr, 0, 10); in doLineBreakForBounds() local
204 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreakForBounds()
[all …]
DOptimalLineBreakerTest.cpp1205 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1298 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1386 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1462 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1619 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1754 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1967 TabStops tabStops(nullptr, 0, 10); in TEST_F() local
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h94 const float* tabStops, int32_t tabStopSize, in computeBreaks() argument
99 TabStops(tabStops, tabStopSize, defaultTabStopWidth), in computeBreaks()
DLineBreaker.h123 const TabStops& tabStops, bool useBoundsForWidth);
/frameworks/base/core/java/android/text/
DLayout.java782 TabStops tabStops = null; in drawText() local
875 if (tabStops == null) { in drawText()
876 tabStops = new TabStops(TAB_INCREMENT, spans); in drawText()
878 tabStops.reset(TAB_INCREMENT, spans); in drawText()
904 int max = (int)getLineExtent(lineNum, tabStops, false); in drawText()
925 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops, in drawText()
1174 TabStops tabStops = null; in getLineStartPos() local
1183 tabStops = new TabStops(TAB_INCREMENT, tabSpans); in getLineStartPos()
1186 int max = (int)getLineExtent(line, tabStops, false); in getLineStartPos()
1263 TabStops tabStops = null; in computeDrawingBoundingBox() local
[all …]
DTextLine.java218 Directions directions, boolean hasTabs, TabStops tabStops, in set() argument
277 mTabs = tabStops; in set()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java324 public void setTabStops(@Nullable float[] tabStops, in setTabStops() argument
326 mVariableTabStops = tabStops; in setTabStops()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java112 private TextLine getTextLine(CharSequence str, TextPaint paint, TabStops tabStops) { in getTextLine() argument
119 layout.getLineDirections(0), tabStops != null, tabStops, in getTextLine()