Home
last modified time | relevance | path

Searched refs:penalty (Results 1 – 6 of 6) sorted by relevance

/frameworks/layoutlib/bridge/src/android/graphics/text/
DPrimitive.java31 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()
DOptimizingLineBreaker.java85 finalBreak, p.penalty) + opt[pos].mDemerits; in computeBreaks()
102 if (p.penalty == -PENALTY_INFINITY) { in computeBreaks()
163 float penalty) { in computeDemerits() argument
165 return (deviation * deviation) + penalty; in computeDemerits()
DGreedyLineBreaker.java109 p.penalty < PENALTY_INFINITY) { in computeBreaks()
113 if (p.penalty == -PENALTY_INFINITY) { in computeBreaks()
/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp67 float penalty; // penalty of this break (for example, hyphen penalty) member
73 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate()
79 penalty(penalty), in Candidate()
109 float penalty, uint32_t spaceCount, HyphenationType type, in pushHyphenation()
111 candidates.emplace_back(offset, preBreak, postBreak, penalty, spaceCount, spaceCount, type, in pushHyphenation()
117 float penalty, uint32_t preSpaceCount, uint32_t postSpaceCount, in pushWordBreak()
119 candidates.emplace_back(offset, preBreak, postBreak, penalty, preSpaceCount, postSpaceCount, in pushWordBreak()
263 const float penalty = hyphenPenalty * proc.wordBreakPenalty(); in populateCandidates() local
265 penalty, proc.rawSpaceCount, proc.effectiveSpaceCount, isRtl); in populateCandidates()
373 additionalPenalty = LAST_LINE_PENALTY_MULTIPLIER * candidates[j].penalty; in computeBreaks()
[all …]
/frameworks/base/core/proto/android/os/
Dbatterystats.proto885 // processor, and results in a power penalty.
/frameworks/native/docs/
DDoxyfile348 # causing a significant performance penalty.