Searched refs:maxDistance (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 94 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in apply() argument 95 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply() 116 float maxDistance) { in apply() argument 117 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply() 123 float currValue, float endValue, float velocity, float maxDistance) { in getProperties() argument 125 (float) (this.maxLengthSeconds * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties() 162 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in applyDismissing() argument 164 getDismissingProperties(currValue, endValue, velocity, maxDistance); in applyDismissing() 186 float maxDistance) { in applyDismissing() argument 188 getDismissingProperties(currValue, endValue, velocity, maxDistance); in applyDismissing() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | FlingAnimationUtils.java | 139 float maxDistance) { in apply() argument 141 maxDistance); in apply() 158 float velocity, float maxDistance) { in apply() argument 160 maxDistance); in apply() 166 float endValue, float velocity, float maxDistance) { in getProperties() argument 168 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties() 224 float velocity, float maxDistance) { in applyDismissing() argument 226 maxDistance); in applyDismissing() 244 float velocity, float maxDistance) { in applyDismissing() argument 246 maxDistance); in applyDismissing() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/ |
D | typing_scoring.h | 48 const float maxDistance = ScoringParams::DISTANCE_WEIGHT_LANGUAGE in calculateFinalScore() local 50 float score = ScoringParams::TYPING_BASE_OUTPUT_SCORE - compoundDistance / maxDistance; in calculateFinalScore()
|