/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
D | FlingAnimationUtils.java | 64 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument 65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply() 78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) { in apply() argument 79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply() 94 Animator animator, float currValue, float endValue, float velocity, float maxDistance) { in apply() argument 95 AnimatorProperties properties = getProperties(currValue, endValue, velocity, maxDistance); in apply() 114 float endValue, 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() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/animation/ |
D | RectEvaluatorCompat.java | 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument 39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate() 40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate() 41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate() 42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageItemPreference.java | 61 (fraction, startValue, endValue) -> { in setStorageSize() 63 if (fraction >= 1.0f && endValue == 0) { in setStorageSize() 64 return endValue; in setStorageSize() 66 return startValue + (long) (fraction * (endValue - startValue)); in setStorageSize()
|
/packages/apps/Launcher3/src/com/android/launcher3/anim/ |
D | AnimatedFloat.java | 149 public boolean isAnimatingToValue(float endValue) { in isAnimatingToValue() argument 150 return isAnimating() && mEndValue != null && mEndValue == endValue; in isAnimatingToValue() 165 public boolean isSettledOnValue(float endValue) { in isSettledOnValue() argument 166 return !isAnimating() && value == endValue; in isSettledOnValue()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvViewUiManager.java | 398 FrameLayout.LayoutParams endValue) { in setTvViewPosition() 403 interpolateMargins(lp, startValue, endValue, fraction); in setTvViewPosition() 596 MarginLayoutParams endValue, in interpolateMargins() argument 598 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); in interpolateMargins() 599 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction); in interpolateMargins() 601 interpolate(startValue.getMarginStart(), endValue.getMarginStart(), fraction)); in interpolateMargins() 602 out.setMarginEnd(interpolate(startValue.getMarginEnd(), endValue.getMarginEnd(), fraction)); in interpolateMargins() 603 out.width = interpolate(startValue.width, endValue.width, fraction); in interpolateMargins() 604 out.height = interpolate(startValue.height, endValue.height, fraction); in interpolateMargins()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/ |
D | DeleteApiIntegrationTest.java | 86 Long endValue = (Long) get("end"); in runActionToTest() local 102 (endValue == null) in runActionToTest() 104 : Instant.ofEpochMilli(endValue); in runActionToTest()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/ |
D | ProgressDelegateInputConsumer.java | 152 float endValue = willExit ? 1 : 0; in onDragEnd() local 153 long duration = calculateDuration(velocity, endValue - mProgress.value); in onDragEnd() 156 ObjectAnimator anim = mProgress.animateToValue(endValue); in onDragEnd()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/ |
D | EventReportingJobHandlerIntegrationTest.java | 101 final long endValue = ((Number) Objects.requireNonNull(get("end"))).longValue(); in runActionToTest() local 105 startValue, endValue)); in runActionToTest()
|
D | AggregateReportingJobHandlerIntegrationTest.java | 124 final long endValue = ((Number) Objects.requireNonNull(get("end"))).longValue(); in runActionToTest() local 128 startValue, endValue)); in runActionToTest()
|
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/ |
D | SetupAnimationHelper.java | 196 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in createFrameAnimatorWithDelay()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | MaterialProgressDrawable.java | 324 private int evaluateColorChange(float fraction, int startValue, int endValue) { in evaluateColorChange() argument 331 int endInt = (Integer) endValue; in evaluateColorChange()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AutoInstallsLayout.java | 672 private static String convertToDistanceFromEnd(String value, int endValue) { in convertToDistanceFromEnd() argument 676 return Integer.toString(endValue + x); in convertToDistanceFromEnd()
|