Home
last modified time | relevance | path

Searched refs:breakInfo (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DGreedyLineBreaker.java39 BreakInfo breakInfo = new BreakInfo(); in computeBreaks() local
80 breakInfo.mBreaksList.add(mPrimitives.get(goodBreakIndex).location); in computeBreaks()
81 breakInfo.mWidthsList.add(goodBreakWidth); in computeBreaks()
82 breakInfo.mFlagsList.add(firstTabIndex < goodBreakIndex); in computeBreaks()
89 breakInfo.mBreaksList.add(mPrimitives.get(breakIndex).location); in computeBreaks()
90 breakInfo.mWidthsList.add(breakWidth); in computeBreaks()
91 breakInfo.mFlagsList.add(firstTabIndex < breakIndex); in computeBreaks()
114 breakInfo.mBreaksList.add(p.location); in computeBreaks()
115 breakInfo.mWidthsList.add(printedWidth); in computeBreaks()
116 breakInfo.mFlagsList.add(firstTabIndex < i); in computeBreaks()
[all …]
DOptimizingLineBreaker.java44 public void computeBreaks(@NonNull LineBreaks breakInfo) { in computeBreaks() argument
51 breakInfo.breaks = new int[]{0}; in computeBreaks()
52 breakInfo.widths = new float[]{p.width}; in computeBreaks()
53 breakInfo.flags = new int[]{0}; in computeBreaks()
124 resize(breakInfo, count); in computeBreaks()
129 breakInfo.breaks[count] = mPrimitives.get(idx).location; in computeBreaks()
130 breakInfo.widths[count] = opt[idx].mWidth; in computeBreaks()
131 breakInfo.flags [count] = opt[idx].mHasTabs ? TAB_MASK : 0; in computeBreaks()
DLineBreaker.java42 public abstract void computeBreaks(@NonNull LineBreaks breakInfo); in computeBreaks() argument