Searched refs:hyphenPenalty (Results 1 - 1 of 1) sorted by relevance

/frameworks/minikin/libs/minikin/
H A DOptimalLineBreaker.cpp134 float hyphenPenalty = 0.5 * paint->size * paint->scaleX * lineWidth.getAt(0); local
136 hyphenPenalty *= 4.0; // TODO: Replace with a better value after some testing
142 hyphenPenalty *= 0.25;
145 linePenalty = hyphenPenalty * LINE_PENALTY_MULTIPLIER;
148 return std::make_pair(hyphenPenalty, linePenalty);
188 float hyphenPenalty, bool isRtl, OptimizeContext* out) {
199 proc.sumOfCharWidthsAtPrevWordBreak + hyIter->first, hyphenPenalty,
223 float hyphenPenalty = 0.0f; local
226 hyphenPenalty = penalties.first;
255 proc, hyphenPenalty, isRt
185 appendWithMerging(std::vector<HyphenBreak>::const_iterator hyIter, std::vector<HyphenBreak>::const_iterator endHyIter, const std::vector<DesperateBreak>& desperates, const CharProcessor& proc, float hyphenPenalty, bool isRtl, OptimizeContext* out) argument
[all...]

Completed in 8 milliseconds