Home
last modified time | relevance | path

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

12

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
DFlingAnimationUtils.java107 public void apply(Animator animator, float currValue, float endValue, float velocity) { in apply() argument
108 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
120 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
122 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
136 public void apply(Animator animator, float currValue, float endValue, float velocity, in apply() argument
138 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
155 public void apply(ViewPropertyAnimator animator, float currValue, float endValue, in apply() argument
157 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
164 float endValue, float velocity, float maxDistance) { in getProperties() argument
166 * 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/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()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
70 int end = endValue[i]; in evaluate()
DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
72 float 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/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()
139 float endValue) { in createRootAlphaPropertyHolder() argument
142 startValue, endValue); in createRootAlphaPropertyHolder()
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
DPhysicsBasedUnfoldTransitionProgressProvider.kt101 cancelTransition(endValue = 1f, animate = true) in saturate()
105 cancelTransition(endValue = 0f, animate = false) in saturate()
146 cancelTransition(endValue = 1f, animate = true) in onUnfoldedScreenAvailable()
150 private fun cancelTransition(endValue: Float, animate: Boolean) { in cancelTransition()
152 if (endValue == 1.0f && !isAnimatedCancelRunning) { in cancelTransition()
161 springAnimation.animateToFinalPosition(endValue) in cancelTransition()
164 transitionProgress = endValue in cancelTransition()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipAnimationController.java284 Rect destinationBounds, T baseValue, T startValue, T endValue) { in PipTransitionAnimator() argument
291 mEndValue = endValue; in PipTransitionAnimator()
463 public void updateEndValue(T endValue) { in updateEndValue() argument
464 mEndValue = endValue; in updateEndValue()
490 Rect destinationBounds, float startValue, float endValue) { in ofAlpha() argument
492 destinationBounds, startValue, startValue, endValue) { in ofAlpha()
520 public void updateEndValue(Float endValue) { in ofAlpha() argument
521 super.updateEndValue(endValue); in ofAlpha()
528 Rect baseValue, Rect startValue, Rect endValue, Rect sourceHintRect, in ofBounds() argument
537 initialSourceValue = new Rect(endValue); in ofBounds()
[all …]
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DFontInterpolator.kt125 lerp(startAxes, endAxes) { tag, startValue, endValue -> in <lambda>() method
132 endValue ?: FONT_WEIGHT_DEFAULT_VALUE, in <lambda>()
136 endValue ?: FONT_WEIGHT_DEFAULT_VALUE, in <lambda>()
143 endValue ?: FONT_ITALIC_DEFAULT_VALUE, in <lambda>()
148 require(startValue != null && endValue != null) { in <lambda>()
151 MathUtils.lerp(startValue, endValue, progress) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
DOneHandedAnimationController.java139 float startValue, float endValue) { in OneHandedTransitionAnimator() argument
143 mEndValue = endValue; in OneHandedTransitionAnimator()
249 void updateEndValue(float endValue) { in updateEndValue() argument
250 mEndValue = endValue; in updateEndValue()
259 SurfaceControl leash, float startValue, float endValue, Rect displayBounds) { in ofYOffset() argument
261 return new OneHandedTransitionAnimator(token, leash, startValue, endValue) { in ofYOffset()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DStackScrollerDecorView.java206 float endValue = nowVisible ? 1.0f : 0.0f; in setViewVisible() local
208 view.setAlpha(endValue); in setViewVisible()
218 .alpha(endValue) in setViewVisible()
/frameworks/base/graphics/java/android/graphics/drawable/
DAnimatedVectorDrawable.java1342 if (mTmpValues.endValue instanceof PathParser.PathData && in createRTAnimator()
1385 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForGroup()
1400 long endPathDataPtr = ((PathParser.PathData) mTmpValues.endValue) in createRTAnimatorForPath()
1423 (Float) mTmpValues.startValue, (Float) mTmpValues.endValue); in createRTAnimatorForFullPath()
1433 (Integer) mTmpValues.startValue, (Integer) mTmpValues.endValue); in createRTAnimatorForFullPath()
1465 Float endValue = null; in createRTAnimatorForRootGroup() local
1470 endValue = (Float) mTmpValues.endValue; in createRTAnimatorForRootGroup()
1474 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup()
1481 long propertyPtr = nCreateRootAlphaPropertyHolder(nativePtr, startValue, endValue); in createRTAnimatorForRootGroup()
1838 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/packages/SystemUI/src/com/android/systemui/privacy/television/
DTvOngoingPrivacyChip.java435 private void animateIconAlphaTo(float endValue) { in animateIconAlphaTo() argument
474 if (currentValue == endValue) { in animateIconAlphaTo()
478 if (DEBUG) Log.d(TAG, "animate alpha to " + endValue + " from " + currentValue); in animateIconAlphaTo()
481 mAnimator.setFloatValues(endValue); in animateIconAlphaTo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
DPipAnimationControllerTest.java185 final Rect endValue = new Rect(100, 100, 200, 200); in pipTransitionAnimator_setPipAnimationCallback() local
187 .getAnimator(mTaskInfo, mLeash, baseValue, startValue, endValue, null, in pipTransitionAnimator_setPipAnimationCallback()
/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) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFaceScanningOverlay.kt255 endValue: Float, in createRimDisappearAnimator()
259 return ValueAnimator.ofFloat(rimProgress, endValue).apply { in createRimDisappearAnimator()

12