Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DLineBreaker.cpp27 const TabStops& tabStops) { 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()
389 const LineWidth& lineWidthLimits, const TabStops& tabStops, in breakLineGreedy() argument
394 GreedyLineBreaker lineBreaker(textBuf, measured, lineWidthLimits, tabStops, enableHyphenation); in breakLineGreedy()
/frameworks/layoutlib/bridge/src/android/graphics/text/
DBaseLineBreaker.java38 @NonNull TabStops tabStops) { in BaseLineBreaker() argument
41 mTabStops = tabStops; in BaseLineBreaker()
DGreedyLineBreaker.java31 @NonNull TabStops tabStops) { in GreedyLineBreaker() argument
32 super(primitives, lineWidth, tabStops); in GreedyLineBreaker()
DOptimizingLineBreaker.java39 @NonNull TabStops tabStops) { in OptimizingLineBreaker() argument
40 super(primitives, lineWidth, tabStops); in OptimizingLineBreaker()
/frameworks/base/libs/hwui/jni/text/
DLineBreaker.cpp89 ScopedNullableFloatArrayRO tabStops(env, variableTabStops); in nComputeLineBreaks() local
97 tabStops.get(), tabStops.size(), defaultTabStop)); in nComputeLineBreaks()
/frameworks/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp87 TabStops tabStops(nullptr, 0, 10); in doLineBreak() local
88 return breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in doLineBreak()
116 TabStops tabStops(nullptr, 0, 10); in TEST_F() local
117 LineBreakResult r = breakLineGreedy(textBuffer, *measuredText, rectangleLineWidth, tabStops, in TEST_F()
710 TabStops tabStops(nullptr, 0, 10); in TEST_F() local
712 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
730 TabStops tabStops(nullptr, 0, 10); in TEST_F() local
732 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
761 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
764 breakLineGreedy(textBuf, *measuredText, rectangleLineWidth, tabStops, DO_HYPHEN); in TEST_F()
[all …]
DOptimalLineBreakerTest.cpp1338 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1431 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1519 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1595 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1752 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
1887 TabStops tabStops(nullptr, 0, 0); in TEST_F() local
2104 TabStops tabStops(nullptr, 0, 10); in TEST_F() local
/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h88 const float* tabStops, int32_t tabStopSize, in computeBreaks() argument
93 TabStops(tabStops, tabStopSize, defaultTabStopWidth)); in computeBreaks()
DLineBreaker.h121 const TabStops& tabStops);
/frameworks/base/core/java/android/text/
DLayout.java429 TabStops tabStops = null; in drawText() local
521 if (tabStops == null) { in drawText()
522 tabStops = new TabStops(TAB_INCREMENT, spans); in drawText()
524 tabStops.reset(TAB_INCREMENT, spans); in drawText()
550 int max = (int)getLineExtent(lineNum, tabStops, false); in drawText()
571 tl.set(paint, buf, start, end, dir, directions, hasTab, tabStops, in drawText()
718 TabStops tabStops = null; in getLineStartPos() local
727 tabStops = new TabStops(TAB_INCREMENT, tabSpans); in getLineStartPos()
730 int max = (int)getLineExtent(line, tabStops, false); in getLineStartPos()
1201 TabStops tabStops = null; in getHorizontal() local
[all …]
DTextLine.java177 Directions directions, boolean hasTabs, TabStops tabStops, in set() argument
235 mTabs = tabStops; in set()
/frameworks/base/core/tests/coretests/src/android/text/
DTextLineTest.java100 private TextLine getTextLine(String str, TextPaint paint, TabStops tabStops) { in getTextLine() argument
107 layout.getLineDirections(0), tabStops != null, tabStops, in getTextLine()
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java287 public void setTabStops(@Nullable float[] tabStops, in setTabStops() argument
289 mVariableTabStops = tabStops; in setTabStops()