Home
last modified time | relevance | path

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

/frameworks/minikin/libs/minikin/
DOptimalLineBreaker.cpp68 float penalty; // penalty of this break (for example, hyphen penalty) member
74 Candidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in Candidate()
80 penalty(penalty), in Candidate()
113 float penalty, uint32_t spaceCount, HyphenationType type, in pushHyphenation()
115 pushBreakCandidate(offset, preBreak, postBreak, penalty, spaceCount, spaceCount, type, in pushHyphenation()
121 float penalty, uint32_t preSpaceCount, uint32_t postSpaceCount, in pushWordBreak()
123 pushBreakCandidate(offset, preBreak, postBreak, penalty, preSpaceCount, postSpaceCount, in pushWordBreak()
132 void pushBreakCandidate(uint32_t offset, ParaWidth preBreak, ParaWidth postBreak, float penalty, in pushBreakCandidate()
147 penalty, preSpaceCount, postSpaceCount, type, isRtl); in pushBreakCandidate()
333 const float penalty = hyphenPenalty * proc.wordBreakPenalty(); in populateCandidates() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java137 public boolean isFalseTap(@Penalty int penalty) { in isFalseTap() argument
138 return mInternalFalsingManager.isFalseTap(penalty); in isFalseTap()
142 public boolean isFalseLongTap(int penalty) { in isFalseLongTap() argument
143 return mInternalFalsingManager.isFalseLongTap(penalty); in isFalseLongTap()
DBrightLineFalsingManager.java164 double penalty = mSingleTapClassifier.isTap(
170 penalty, getClass().getSimpleName(),
262 public boolean isFalseTap(@Penalty int penalty) { in isFalseTap() argument
272 switch(penalty) { in isFalseTap()
326 public boolean isFalseLongTap(@Penalty int penalty) { in isFalseLongTap() argument
336 switch(penalty) { in isFalseLongTap()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DFalsingManager.java82 boolean isFalseTap(@Penalty int penalty); in isFalseTap() argument
94 boolean isFalseLongTap(@Penalty int penalty); in isFalseLongTap() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
DAddUserDialog.kt45 val penalty = in onClick() constant
51 if (falsingManager.isFalseTap(penalty)) { in onClick()
DExitGuestDialog.kt50 val penalty = in onClick() constant
56 if (falsingManager.isFalseTap(penalty)) { in onClick()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/classifier/
DFalsingManagerFake.java110 public boolean isFalseTap(@Penalty int penalty) { in isFalseTap() argument
116 public boolean isFalseLongTap(int penalty) { in isFalseLongTap() argument
/frameworks/base/packages/SystemUI/docs/
Dfalsing.md78 `FalsingManager#isFalseTap(@Penalty int penalty)`. This
95 `penalty` is a measure of how much the `HistoryTracker`'s belief should be
101 tap is truly false or not, so a single mis-tap should apply only a small penalty.
103 sense to increase the penalty as mis-taps should be less likely to occur after
/frameworks/base/core/proto/android/os/
Dbatterystats.proto885 // processor, and results in a power penalty.
/frameworks/native/docs/
DDoxyfile348 # causing a significant performance penalty.