/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | FlingAnimationUtils.java | 110 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument 111 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply() 123 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument 125 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply() 139 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() argument 141 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply() 158 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument 160 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply() 167 float endValue, float velocity, float maxDistance) { in getProperties() argument 169 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties() [all …]
|
/frameworks/base/libs/hwui/ |
D | PropertyValuesHolder.h | 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) in PropertyValuesHolderImpl() argument 67 : mStartValue(startValue), mEndValue(endValue) {} in PropertyValuesHolderImpl() 91 float endValue) in GroupPropertyValuesHolder() argument 92 : PropertyValuesHolderImpl(startValue, endValue), mGroup(ptr), mPropertyId(propertyId) { in GroupPropertyValuesHolder() 105 SkColor startValue, SkColor endValue) in FullPathColorPropertyValuesHolder() argument 106 : PropertyValuesHolderImpl(startValue, endValue) in FullPathColorPropertyValuesHolder() 122 float endValue) in FullPathPropertyValuesHolder() argument 123 : PropertyValuesHolderImpl(startValue, endValue) in FullPathPropertyValuesHolder() 138 PathData* endValue) in PathDataPropertyValuesHolder() argument 139 : PropertyValuesHolderImpl(*startValue, *endValue), mPath(ptr) { in PathDataPropertyValuesHolder() [all …]
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | RectFEvaluator.java | 44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) { in evaluate() argument 45 float left = startValue.left + ((endValue.left - startValue.left) * fraction); in evaluate() 46 float top = startValue.top + ((endValue.top - startValue.top) * fraction); in evaluate() 47 float right = startValue.right + ((endValue.right - startValue.right) * fraction); in evaluate() 48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
|
/frameworks/base/core/java/android/animation/ |
D | RectEvaluator.java | 72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate() argument 73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); in evaluate() 74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); in evaluate() 75 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); in evaluate() 76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction); in evaluate()
|
D | PointFEvaluator.java | 72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { in evaluate() argument 73 float x = startValue.x + (fraction * (endValue.x - startValue.x)); in evaluate() 74 float y = startValue.y + (fraction * (endValue.y - startValue.y)); in evaluate()
|
D | IntEvaluator.java | 38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument 40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
|
D | FloatEvaluator.java | 38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument 40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
|
D | FloatArrayEvaluator.java | 64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument 72 float end = endValue[i]; in evaluate()
|
D | IntArrayEvaluator.java | 63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument 70 int end = endValue[i]; in evaluate()
|
D | ArgbEvaluator.java | 57 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument 64 int endInt = (Integer) endValue; in evaluate()
|
D | TypeEvaluator.java | 42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
|
D | PathKeyframes.java | 146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument 147 float diff = endValue - startValue; in interpolate()
|
D | PropertyValuesHolder.java | 1089 values.endValue = mKeyframes.getValue(1); in getPropertyValues() 1090 if (values.endValue instanceof PathParser.PathData) { in getPropertyValues() 1093 values.endValue = new PathParser.PathData((PathParser.PathData) values.endValue); in getPropertyValues() 1701 public Object endValue; field in PropertyValuesHolder.PropertyValues 1708 + startValue.toString() + ", endValue: " + endValue.toString()); in toString()
|
/frameworks/base/core/jni/ |
D | android_graphics_drawable_AnimatedVectorDrawable.cpp | 108 jfloat startValue, jfloat endValue) { in createGroupPropertyHolder() argument 111 startValue, endValue); in createGroupPropertyHolder() 126 int startValue, jint endValue) { in createPathColorPropertyHolder() argument 129 propertyId, startValue, endValue); in createPathColorPropertyHolder() 134 float startValue, jfloat endValue) { in createPathPropertyHolder() argument 137 propertyId, startValue, endValue); in createPathPropertyHolder() 142 float endValue) { in createRootAlphaPropertyHolder() argument 145 startValue, endValue); in createRootAlphaPropertyHolder()
|
/frameworks/layoutlib/bridge/src/android/graphics/drawable/ |
D | AnimatedVectorDrawable_Delegate.java | 91 float startValue, float endValue) { in nCreateGroupPropertyHolder() argument 96 endValue)); in nCreateGroupPropertyHolder() 109 int startValue, int endValue) { in nCreatePathColorPropertyHolder() argument 114 endValue)); in nCreatePathColorPropertyHolder() 119 float startValue, float endValue) { in nCreatePathPropertyHolder() argument 124 endValue)); in nCreatePathPropertyHolder() 129 float endValue) { in nCreateRootAlphaPropertyHolder() argument 134 endValue)); in nCreateRootAlphaPropertyHolder()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | StackScrollerDecorView.java | 174 float endValue = nowVisible ? 1.0f : 0.0f; in setViewVisible() local 176 view.setAlpha(endValue); in setViewVisible() 186 .alpha(endValue) in setViewVisible()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/ |
D | TemperatureColorStore.java | 111 TemperatureColorValue endValue = sTemperatureColorValues[index]; in getColorForTemperature() local 112 float fraction = (temperature - startValue.getTemperature()) / (endValue.getTemperature() in getColorForTemperature() 114 return lerpColor(fraction, startValue.getColor(), endValue.getColor()); in getColorForTemperature()
|
D | AnimatedTemperatureView.java | 216 colorAnimator.setEvaluator((fraction, startValue, endValue) -> mColorStore in setTemp() 217 .lerpColor(fraction, (int) startValue, (int) endValue)); in setTemp()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | AnimatedVectorDrawable.java | 1333 if (mTmpValues.endValue instanceof PathParser.PathData && in createRTAnimator() 1376 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup() 1391 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) in createRTAnimatorForPath() 1414 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath() 1424 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath() 1456 Float endValue = null; in createRTAnimatorForRootGroup() local 1461 endValue = (Float) mTmpValues.endValue; in createRTAnimatorForRootGroup() 1465 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup() 1472 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup() 1824 float startValue, float endValue); in nCreateGroupPropertyHolder() argument [all …]
|
/frameworks/base/core/java/com/android/internal/transition/ |
D | EpicenterTranslateClipReveal.java | 265 public State evaluate(float fraction, State startValue, State endValue) { in evaluate() argument 266 mTemp.upper = startValue.upper + (int) ((endValue.upper - startValue.upper) * fraction); in evaluate() 267 mTemp.lower = startValue.lower + (int) ((endValue.lower - startValue.lower) * fraction); in evaluate() 268 mTemp.trans = startValue.trans + (int) ((endValue.trans - startValue.trans) * fraction); in evaluate()
|
/frameworks/base/core/java/android/transition/ |
D | TransitionUtils.java | 206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument 208 endValue.getValues(mTempEndValues); in evaluate()
|
D | ChangeImageTransform.java | 55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
|
D | Transition.java | 724 Object endValue = end.values.get(key); in createAnimators() local 725 if (startValue != endValue && !startValue.equals(endValue)) { in createAnimators() 727 "), end(" + endValue + ")"); in createAnimators()
|
/frameworks/base/core/java/android/view/ |
D | InsetsController.java | 69 private static TypeEvaluator<Insets> sEvaluator = (fraction, startValue, endValue) -> Insets.of( 71 (int) (startValue.top + fraction * (endValue.top - startValue.top)), 73 (int) (startValue.bottom + fraction * (endValue.bottom - startValue.bottom)));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/animation/ |
D | StackAnimationController.java | 366 .addEndListener((animation, canceled, endValue, endVelocity) -> { 374 : Math.max(min, Math.min(max, endValue)));
|