Home
last modified time | relevance | path

Searched refs:startValue (Results 1 – 25 of 35) 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()
DPathKeyframes.java146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
147 float diff = endValue - startValue; in interpolate()
148 return startValue + (diff * fraction); in interpolate()
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 …]
/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/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java101 final Rect startValue = new Rect(0, 0, 100, 100); in getAnimator_whenSameTypeRunning_updateExistingAnimator() local
105 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue1, null, in getAnimator_whenSameTypeRunning_updateExistingAnimator()
111 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue2, null, in getAnimator_whenSameTypeRunning_updateExistingAnimator()
167 final Rect startValue = new Rect(0, 0, 100, 100); in pipTransitionAnimator_updateEndValue() local
171 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue1, null, in pipTransitionAnimator_updateEndValue()
182 final Rect startValue = new Rect(0, 0, 100, 100); in pipTransitionAnimator_setPipAnimationCallback() local
185 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue, null, in pipTransitionAnimator_setPipAnimationCallback()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DFontInterpolator.kt118 val newAxes = lerp(startAxes, endAxes) { tag, startValue, endValue -> in <lambda>() method
123 startValue ?: FONT_WEIGHT_DEFAULT_VALUE, in <lambda>()
128 startValue ?: FONT_ITALIC_DEFAULT_VALUE, in <lambda>()
132 require(startValue != null && endValue != null) { in <lambda>()
135 MathUtils.lerp(startValue, endValue, progress) in <lambda>()
/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/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAnimationController.java139 float startValue, float endValue) { in OneHandedTransitionAnimator() argument
142 mStartValue = startValue; in OneHandedTransitionAnimator()
259 SurfaceControl leash, float startValue, float endValue, Rect displayBounds) { in ofYOffset() argument
261 return new OneHandedTransitionAnimator(token, leash, startValue, endValue) { in ofYOffset()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipAnimationController.java263 @AnimationType int animationType, Rect destinationBounds, T baseValue, T startValue, in PipTransitionAnimator() argument
270 mStartValue = startValue; in PipTransitionAnimator()
482 Rect destinationBounds, float startValue, float endValue) { in ofAlpha() argument
484 destinationBounds, startValue, startValue, endValue, 0) { in ofAlpha()
518 Rect baseValue, Rect startValue, Rect endValue, Rect sourceHintRect, in ofBounds() argument
561 endValue, new Rect(baseValue), new Rect(startValue), new Rect(endValue), in ofBounds()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1367 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup()
1380 long startPathDataPtr = ((PathParser.PathData) mTmpValues.startValue) in createRTAnimatorForPath()
1405 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath()
1415 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath()
1446 Float startValue = null; in createRTAnimatorForRootGroup() local
1451 startValue = (Float) mTmpValues.startValue; in createRTAnimatorForRootGroup()
1456 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup()
1463 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup()
1815 float startValue, float endValue); in nCreateGroupPropertyHolder() argument
1821 int startValue, int endValue); in nCreatePathColorPropertyHolder() argument
[all …]
/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/core/java/android/view/
DInsetsController.java297 private static TypeEvaluator<Insets> sEvaluator = (fraction, startValue, endValue) -> Insets.of(
298 (int) (startValue.left + fraction * (endValue.left - startValue.left)),
299 (int) (startValue.top + fraction * (endValue.top - startValue.top)),
300 (int) (startValue.right + fraction * (endValue.right - startValue.right)),
301 (int) (startValue.bottom + fraction * (endValue.bottom - startValue.bottom)));
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DPhysicsAnimatorTestUtils.kt316 startValue: Float, in <lambda>()
327 var prevVal = startValue in <lambda>()

12