Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DFlingAnimationUtils.java108 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
121 float currValue, float endValue, float velocity) { in apply() argument
122 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
136 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue)); in apply()
152 AnimatorProperties properties = getProperties(currValue, endValue, velocity, in apply()
170 float currValue, float endValue, float velocity, float maxDistance) { in apply() argument
196 float endValue, float velocity, float maxDistance) { in getProperties() argument
198 * Math.sqrt(Math.abs(endValue - currValue) / maxDistance)); in getProperties()
199 float diff = Math.abs(endValue - currValue); in getProperties()
295 * Math.pow(Math.abs(endValue - currValue) / maxDistance, 0.5f)); in getDismissingProperties()
[all …]
/aosp14/frameworks/base/libs/hwui/
H A 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
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()
151 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) in RootAlphaPropertyValuesHolder() argument
[all …]
/aosp14/frameworks/base/core/java/android/animation/
H A 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()
H A 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()
H A DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
40 return (int)(startInt + fraction * (endValue - startInt)); in evaluate()
H A DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate() argument
40 return startFloat + fraction * (endValue.floatValue() - startFloat); in evaluate()
H A DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate() argument
72 float end = endValue[i]; in evaluate()
H A DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate() argument
70 int end = endValue[i]; in evaluate()
H A DArgbEvaluator.java57 public Object evaluate(float fraction, Object startValue, Object endValue) { in evaluate() argument
64 int endInt = (Integer) endValue; in evaluate()
H A DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate() argument
H A DPathKeyframes.java146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate() argument
147 float diff = endValue - startValue; in interpolate()
H A 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()
/aosp14/frameworks/base/libs/hwui/jni/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/progress/
H A DPhysicsBasedUnfoldTransitionProgressProvider.kt101 cancelTransition(endValue = 1f, animate = true)
105 cancelTransition(endValue = 0f, animate = false)
146 cancelTransition(endValue = 1f, animate = true)
150 private fun cancelTransition(endValue: Float, animate: Boolean) {
152 if (endValue == 1.0f && !isAnimatedCancelRunning) {
161 springAnimation.animateToFinalPosition(endValue)
164 transitionProgress = endValue
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipAnimationController.java343 mEndValue = endValue; in PipTransitionAnimator()
519 public void updateEndValue(T endValue) { in updateEndValue() argument
520 mEndValue = endValue; in updateEndValue()
579 super.updateEndValue(endValue); in ofAlpha()
595 initialSourceValue = new Rect(endValue); in ofBounds()
604 lastEndRect = new Rect(endValue); in ofBounds()
605 rotatedEndRect = new Rect(endValue); in ofBounds()
629 endValue, new Rect(baseValue), new Rect(startValue), new Rect(endValue)) { in ofBounds()
684 rotatedEndRect.set(endValue); in ofBounds()
777 public void updateEndValue(Rect endValue) { in ofBounds() argument
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
H A DFontInterpolator.kt128 lerp(startAxes, endAxes) { tag, startValue, endValue ->
133 endValue ?: FONT_WEIGHT_DEFAULT_VALUE,
140 endValue ?: FONT_ITALIC_DEFAULT_VALUE,
145 require(startValue != null && endValue != null) {
148 MathUtils.lerp(startValue, endValue, progress)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DStackScrollerDecorView.java206 float endValue = nowVisible ? 1.0f : 0.0f; in setViewVisible() local
208 view.setAlpha(endValue); in setViewVisible()
218 .alpha(endValue) in setViewVisible()
/aosp14/frameworks/base/services/core/java/com/android/server/display/color/
H A DCctEvaluator.java92 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate() argument
93 final int cct = (int) (startValue + fraction * (endValue - startValue)); in evaluate()
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A 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()
1465 Float endValue = null; in createRTAnimatorForRootGroup() local
1470 endValue = (Float) mTmpValues.endValue; in createRTAnimatorForRootGroup()
1474 if (startValue == null && endValue == null) { in createRTAnimatorForRootGroup()
1838 float startValue, float endValue); in nCreateGroupPropertyHolder() argument
1844 int startValue, int endValue); in nCreatePathColorPropertyHolder() argument
1847 float startValue, float endValue); in nCreatePathPropertyHolder() argument
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DMenuAnimationController.java217 .addEndListener((animation, canceled, endValue, endVelocity) -> {
228 : Math.max(min, Math.min(max, endValue));
250 .addEndListener((animation, canceled, endValue, endVelocity) -> {
251 if (canceled || endValue != finalPosition) {
/aosp14/frameworks/base/core/java/com/android/internal/transition/
H A 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()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/pip/
H A 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()
/aosp14/frameworks/base/core/java/android/transition/
H A DTransitionUtils.java206 public Matrix evaluate(float fraction, Matrix startValue, Matrix endValue) { in evaluate() argument
208 endValue.getValues(mTempEndValues); in evaluate()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DFaceScanningOverlay.kt268 endValue: Float,
272 return ValueAnimator.ofFloat(rimProgress, endValue).apply {

12