Home
last modified time | relevance | path

Searched refs:startValue (Results 1 – 25 of 34) sorted by relevance

12

/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()
DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
67 array = new float[startValue.length]; in evaluate()
71 float start = startValue[i]; in evaluate()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
66 array = new int[startValue.length]; in evaluate()
69 int start = startValue[i]; in evaluate()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
39 int startInt = startValue; in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument
39 float startFloat = startValue.floatValue(); in evaluate()
DArgbEvaluator.java57 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
58 int startInt = (Integer) startValue; in evaluate()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
DPropertyValuesHolder.java1083 values.startValue = mKeyframes.getValue(0); in getPropertyValues()
1084 if (values.startValue instanceof PathParser.PathData) { in getPropertyValues()
1087 values.startValue = new PathParser.PathData((PathParser.PathData) values.startValue); in getPropertyValues()
1700 public Object startValue; field in PropertyValuesHolder.PropertyValues
1708 + startValue.toString() + ", endValue: " + endValue.toString()); in toString()
/frameworks/base/libs/hwui/
DPropertyValuesHolder.h66 PropertyValuesHolderImpl(const T& startValue, const T& endValue) in PropertyValuesHolderImpl() argument
67 : mStartValue(startValue), mEndValue(endValue) {} in PropertyValuesHolderImpl()
90 GroupPropertyValuesHolder(VectorDrawable::Group* ptr, int propertyId, float startValue, 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()
121 FullPathPropertyValuesHolder(VectorDrawable::FullPath* ptr, int propertyId, float startValue, in FullPathPropertyValuesHolder() argument
123 : PropertyValuesHolderImpl(startValue, endValue) in FullPathPropertyValuesHolder()
137 PathDataPropertyValuesHolder(VectorDrawable::Path* ptr, PathData* startValue, in PathDataPropertyValuesHolder() argument
139 : PropertyValuesHolderImpl(*startValue, *endValue), mPath(ptr) { in PathDataPropertyValuesHolder()
[all …]
DAnimator.cpp444 RevealAnimator::RevealAnimator(int centerX, int centerY, float startValue, float finalValue) in RevealAnimator() argument
446 setStartValue(startValue); in RevealAnimator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/pip/
DPipAnimationControllerTest.java93 final Rect startValue = new Rect(0, 0, 100, 100); in getAnimator_whenSameTypeRunning_updateExistingAnimator() local
97 .getAnimator(mLeash, startValue, endValue1, null); in getAnimator_whenSameTypeRunning_updateExistingAnimator()
102 .getAnimator(mLeash, startValue, endValue2, null); in getAnimator_whenSameTypeRunning_updateExistingAnimator()
128 final Rect startValue = new Rect(0, 0, 100, 100); in pipTransitionAnimator_updateEndValue() local
132 .getAnimator(mLeash, startValue, endValue1, null); in pipTransitionAnimator_updateEndValue()
141 final Rect startValue = new Rect(0, 0, 100, 100); in pipTransitionAnimator_setPipAnimationCallback() local
144 .getAnimator(mLeash, startValue, endValue, null); in pipTransitionAnimator_setPipAnimationCallback()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipAnimationController.java191 Rect destinationBounds, T startValue, T endValue) { in PipTransitionAnimator() argument
195 mStartValue = startValue; in PipTransitionAnimator()
327 Rect destinationBounds, float startValue, float endValue) { in ofAlpha() argument
329 destinationBounds, startValue, endValue) { in ofAlpha()
358 Rect startValue, Rect endValue, Rect sourceHintRect) { in ofBounds() argument
361 final Rect initialStartValue = new Rect(startValue); in ofBounds()
363 ? new Rect(sourceHintRect.left - startValue.left, in ofBounds()
364 sourceHintRect.top - startValue.top, in ofBounds()
365 startValue.right - sourceHintRect.right, in ofBounds()
366 startValue.bottom - sourceHintRect.bottom) in ofBounds()
[all …]
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp105 jfloat startValue, jfloat endValue) { in createGroupPropertyHolder() argument
108 startValue, endValue); in createGroupPropertyHolder()
123 int startValue, jint endValue) { in createPathColorPropertyHolder() argument
126 propertyId, startValue, endValue); in createPathColorPropertyHolder()
131 float startValue, jfloat endValue) { in createPathPropertyHolder() argument
134 propertyId, startValue, endValue); in createPathPropertyHolder()
138 static jlong createRootAlphaPropertyHolder(JNIEnv*, jobject, jlong nativePtr, jfloat startValue, in createRootAlphaPropertyHolder() argument
142 startValue, endValue); in createRootAlphaPropertyHolder()
Dandroid_graphics_animation_RenderNodeAnimator.cpp137 static void setStartValue(JNIEnv* env, jobject clazz, jlong animatorPtr, jfloat startValue) { in setStartValue() argument
139 animator->setStartValue(startValue); in setStartValue()
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAnimatedVectorDrawable_Delegate.java91 float startValue, float endValue) { in nCreateGroupPropertyHolder() argument
95 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, in nCreateGroupPropertyHolder()
109 int startValue, int endValue) { in nCreatePathColorPropertyHolder() argument
113 return sHolders.addNewDelegate(IntPropertySetter.of(setter, startValue, in nCreatePathColorPropertyHolder()
119 float startValue, float endValue) { in nCreatePathPropertyHolder() argument
123 return sHolders.addNewDelegate(FloatPropertySetter.of(setter, startValue, in nCreatePathPropertyHolder()
128 /*package*/ static long nCreateRootAlphaPropertyHolder(long nativePtr, float startValue, in nCreateRootAlphaPropertyHolder() argument
133 startValue, in nCreateRootAlphaPropertyHolder()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/hvac/
DTemperatureColorStore.java110 TemperatureColorValue startValue = sTemperatureColorValues[index - 1]; in getColorForTemperature() local
112 float fraction = (temperature - startValue.getTemperature()) / (endValue.getTemperature() in getColorForTemperature()
113 - startValue.getTemperature()); in getColorForTemperature()
114 return lerpColor(fraction, startValue.getColor(), endValue.getColor()); in getColorForTemperature()
DAnimatedTemperatureView.java215 colorAnimator.setEvaluator((fraction, startValue, endValue) -> mColorStore in setTemp()
216 .lerpColor(fraction, (int) startValue, (int) endValue)); in setTemp()
/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/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1376 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup()
1389 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue) in createRTAnimatorForPath()
1414 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath()
1424 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath()
1455 Float startValue = null; in createRTAnimatorForRootGroup() local
1460 startValue = (Float) mTmpValues.startValue; 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
1830 int startValue, int endValue); in nCreatePathColorPropertyHolder() argument
[all …]
/frameworks/base/core/java/android/view/
DInsetsController.java254 private static TypeEvaluator<Insets> sEvaluator = (fraction, startValue, endValue) -> Insets.of(
255 (int) (startValue.left + fraction * (endValue.left - startValue.left)),
256 (int) (startValue.top + fraction * (endValue.top - startValue.top)),
257 (int) (startValue.right + fraction * (endValue.right - startValue.right)),
258 (int) (startValue.bottom + fraction * (endValue.bottom - startValue.bottom)));
/frameworks/base/graphics/java/android/graphics/animation/
DRenderNodeAnimator.java292 public void setStartValue(float startValue) { in setStartValue() argument
294 nSetStartValue(mNativePtr.get(), startValue); in setStartValue() local
503 private static native void nSetStartValue(long nativePtr, float startValue); in nSetStartValue() argument
/frameworks/base/core/java/android/transition/
DTransitionUtils.java206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument
207 startValue.getValues(mTempStartValues); in evaluate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/animation/
DPhysicsAnimatorTestUtils.kt304 startValue: Float, in <lambda>()
315 var prevVal = startValue in <lambda>()

12