Home
last modified time | relevance | path

Searched refs:endValue (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java110 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/
DPropertyValuesHolder.h66 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/
DRectFEvaluator.java44 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/
DRectEvaluator.java72 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()
DPointFEvaluator.java72 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()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument
40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
72 float end = endValue[i]; in evaluate()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
70 int end = endValue[i]; in evaluate()
DArgbEvaluator.java57 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
64 int endInt = (Integer) endValue; in evaluate()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
DPathKeyframes.java146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
147 float diff = endValue - startValue; in interpolate()
DPropertyValuesHolder.java1089 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/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp108 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/
DAnimatedVectorDrawable_Delegate.java91 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/
DStackScrollerDecorView.java174 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/
DTemperatureColorStore.java111 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()
DAnimatedTemperatureView.java216 colorAnimator.setEvaluator((fraction, startValue, endValue) -> mColorStore in setTemp()
217 .lerpColor(fraction, (int) startValue, (int) endValue)); in setTemp()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1333 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/
DEpicenterTranslateClipReveal.java265 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/
DTransitionUtils.java206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument
208 endValue.getValues(mTempEndValues); in evaluate()
DChangeImageTransform.java55 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) {
DTransition.java724 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/
DInsetsController.java69 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/
DStackAnimationController.java366 .addEndListener((animation, canceled, endValue, endVelocity) -> {
374 : Math.max(min, Math.min(max, endValue)));

12