Lines Matching refs:clusters

83 bool TextTabAlign::leftAlignProcessTab(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
89 fTabStartPos = words.width() + clusters.width() + totalFakeSpacing;
96 clusters.extend(currentCluster);
97 words.extend(clusters);
107 bool TextTabAlign::leftAlignProcessEndofWord(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
116 bool TextTabAlign::leftAlignProcessEndofLine(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
126 bool TextTabAlign::leftAlignProcessCluster(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
135 void TextTabAlign::rightAlignProcessTabBlockEnd(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters)
144 bool TextTabAlign::rightAlignProcessTab(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
149 fTabEndPos = words.width() + clusters.width() + totalFakeSpacing;
150 rightAlignProcessTabBlockEnd(words, clusters);
158 fTabStartPos = words.width() + clusters.width() + totalFakeSpacing;
164 clusters.extend(currentCluster);
165 words.extend(clusters);
172 bool TextTabAlign::rightAlignProcessEndofWord(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
179 fTabEndPos = words.width() + clusters.width() + totalFakeSpacing;
182 rightAlignProcessTabBlockEnd(words, clusters);
188 return rightAlignProcessEndofLine(words, clusters, currentCluster, totalFakeSpacing);
194 bool TextTabAlign::rightAlignProcessEndofLine(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
201 rightAlignProcessTabBlockEnd(words, clusters);
205 bool TextTabAlign::rightAlignProcessCluster(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
209 fTabEndPos = words.width() + clusters.width() + totalFakeSpacing;
216 bool TextTabAlign::centerAlignProcessTabBlockEnd(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters)
231 bool TextTabAlign::centerAlignProcessTab(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
236 fTabEndPos = words.width() + clusters.width() + totalFakeSpacing;
237 if (centerAlignProcessTabBlockEnd(words, clusters)) {
238 clusters.extend(currentCluster);
248 fTabStartPos = words.width() + clusters.width() + totalFakeSpacing;
254 clusters.extend(currentCluster);
255 words.extend(clusters);
263 bool TextTabAlign::centerAlignProcessEndofWord(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
270 SkScalar tabEndPosTmp = words.width() + clusters.width() + totalFakeSpacing;
272 centerAlignProcessTabBlockEnd(words, clusters);
280 return centerAlignProcessTabBlockEnd(words, clusters);
285 return centerAlignProcessEndofLine(words, clusters, currentCluster, totalFakeSpacing);
291 bool TextTabAlign::centerAlignProcessEndofLine(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
298 centerAlignProcessTabBlockEnd(words, clusters);
302 bool TextTabAlign::centerAlignProcessCluster(TextWrapper::TextStretch& words, TextWrapper::TextStretch& clusters,
309 SkScalar tabEndPosTmp = words.width() + clusters.width() + totalFakeSpacing;
311 centerAlignProcessTabBlockEnd(words, clusters);