Searched refs:penalty (Results 1 – 6 of 6) sorted by relevance
/frameworks/layoutlib/bridge/src/android/text/ |
D | Primitive.java | 31 public final float penalty; field in Primitive 36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) { in Primitive() argument 40 this.penalty = penalty; in Primitive() 83 public Primitive getNewPrimitive(int location, float width, float penalty) { in getNewPrimitive() argument 85 return new Primitive(this, location, width, penalty); in getNewPrimitive()
|
D | OptimizingLineBreaker.java | 82 finalBreak, p.penalty) + opt[pos].mDemerits; in computeBreaks() 99 if (p.penalty == -PENALTY_INFINITY) { in computeBreaks() 174 float penalty) { in computeDemerits() argument 176 return (deviation * deviation) + penalty; in computeDemerits()
|
D | GreedyLineBreaker.java | 107 p.penalty < PENALTY_INFINITY) { in computeBreaks() 111 if (p.penalty == -PENALTY_INFINITY) { in computeBreaks()
|
/frameworks/minikin/libs/minikin/ |
D | LineBreaker.cpp | 242 float penalty = hyphenPenalty * mWordBreaker.breakBadness(); in addStyleRun() local 243 addWordBreak(current, mWidth, postBreak, mSpaceCount, postSpaceCount, penalty, in addStyleRun() 258 size_t preSpaceCount, size_t postSpaceCount, float penalty, HyphenationType hyph) { in addWordBreak() argument 276 cand.penalty = SCORE_DESPERATE; in addWordBreak() 291 cand.penalty = penalty; in addWordBreak() 341 const float penalty = mCandidates[i].penalty; in addCandidate() local 342 if (penalty <= mBestScore) { in addCandidate() 344 mBestScore = penalty; in addCandidate() 354 if (cand.penalty <= mBestScore) { in addCandidate() 356 mBestScore = cand.penalty; in addCandidate() [all …]
|
/frameworks/minikin/include/minikin/ |
D | LineBreaker.h | 199 float penalty; // penalty of this break (for example, hyphen penalty) member 210 size_t preSpaceCount, size_t postSpaceCount, float penalty, HyphenationType hyph);
|
/frameworks/native/docs/ |
D | Doxyfile | 348 # causing a significant performance penalty.
|