Home
last modified time | relevance | path

Searched defs:fraction (Results 1 – 25 of 80) sorted by relevance

1234

/aosp14/frameworks/base/core/java/android/animation/
H A DKeyframe.java82 public static Keyframe ofInt(float fraction, int value) { in ofInt()
98 public static Keyframe ofInt(float fraction) { in ofInt()
114 public static Keyframe ofFloat(float fraction, float value) { in ofFloat()
130 public static Keyframe ofFloat(float fraction) { in ofFloat()
162 public static Keyframe ofObject(float fraction) { in ofObject()
221 public void setFraction(float fraction) { in setFraction()
269 ObjectKeyframe(float fraction, Object value) { in ObjectKeyframe()
304 IntKeyframe(float fraction, int value) { in IntKeyframe()
311 IntKeyframe(float fraction) { in IntKeyframe()
351 FloatKeyframe(float fraction, float value) { in FloatKeyframe()
[all …]
H A DKeyframes.java54 Object getValue(float fraction); in getValue()
74 int getIntValue(float fraction); in getIntValue()
87 float getFloatValue(float fraction); in getFloatValue()
H A DPathKeyframes.java66 public Object getValue(float fraction) { in getValue()
99 private PointF interpolateInRange(float fraction, int startIndex, int endIndex) { in interpolateInRange()
146 private static float interpolate(float fraction, float startValue, float endValue) { in interpolate()
H A DValueAnimator.java733 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime() local
754 public void setCurrentFraction(float fraction) { in setCurrentFraction()
779 private int getCurrentIteration(float fraction) { in getCurrentIteration()
796 private float getCurrentIterationFraction(float fraction, boolean inReverse) { in getCurrentIterationFraction()
810 private float clampFraction(float fraction) { in clampFraction()
1127 float fraction = (float) (mSeekFraction - Math.floor(mSeekFraction)); in start() local
1387 final float fraction = scaledDuration > 0 ? in animateBasedOnTime() local
1458 float fraction = Math.max(0, currentPlayTime) / (float) mDuration; in animateValuesInRange() local
1630 void animateValue(float fraction) { in animateValue()
H A DFloatKeyframeSet.java39 public Object getValue(float fraction) { in getValue()
56 public float getFloatValue(float fraction) { in getFloatValue()
H A DIntKeyframeSet.java39 public Object getValue(float fraction) { in getValue()
56 public int getIntValue(float fraction) { in getIntValue()
H A DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate()
H A DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate()
H A DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate()
H A DPointFEvaluator.java72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { in evaluate()
H A DFloatArrayEvaluator.java64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) { in evaluate()
H A DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate()
H A DRectEvaluator.java72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { in evaluate()
/aosp14/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp29 inline constexpr float lerp(float fromValue, float toValue, float fraction) { in lerp()
87 void GroupPropertyValuesHolder::setFraction(float fraction) { in setFraction()
92 void FullPathColorPropertyValuesHolder::setFraction(float fraction) { in setFraction()
97 void FullPathPropertyValuesHolder::setFraction(float fraction) { in setFraction()
102 void PathDataPropertyValuesHolder::setFraction(float fraction) { in setFraction()
107 void RootAlphaPropertyValuesHolder::setFraction(float fraction) { in setFraction()
H A DPropertyValuesHolder.h40 virtual void evaluate(T* out, const T& from, const T& to, float fraction) const {}; in evaluate()
47 float fraction) const override { in evaluate()
/aosp14/frameworks/base/core/java/android/transition/
H A DSlide.java61 float getGoneX(ViewGroup sceneRoot, View view, float fraction); in getGoneX()
64 float getGoneY(ViewGroup sceneRoot, View view, float fraction); in getGoneY()
70 public float getGoneY(ViewGroup sceneRoot, View view, float fraction) { in getGoneY()
78 public float getGoneX(ViewGroup sceneRoot, View view, float fraction) { in getGoneX()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
H A DPipContentOverlay.java68 Rect currentBounds, float fraction); in onAnimationUpdate()
106 Rect currentBounds, float fraction) { in onAnimationUpdate()
164 Rect currentBounds, float fraction) { in onAnimationUpdate()
216 Rect currentBounds, float fraction) { in onAnimationUpdate()
/aosp14/frameworks/base/libs/hwui/utils/
H A DVectorDrawableUtils.cpp54 const PathData& morphTo, float fraction) { in interpolatePathData()
89 const PathData& to, float fraction) { in interpolatePaths()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
H A DShadeExpansionStateManagerTest.kt40 val fraction = 0.6f regex
60 val fraction = 0.6f regex
/aosp14/frameworks/base/core/java/android/util/
H A DPathParser.java119 float fraction) { in interpolatePathData()
139 long toDataPtr, float fraction); in nInterpolatePathData()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/
H A DOneHandedAnimationController.java198 SurfaceControl.Transaction tx, float fraction); in applySurfaceControlTransaction()
265 private float getCastedFractionValue(float start, float end, float fraction) { in ofYOffset()
271 SurfaceControl.Transaction tx, float fraction) { in ofYOffset()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java74 float fraction = pointComponents[componentIndex++]; in initPath() local
145 float fraction = tInRange / xRange; in getInterpolation() local
/aosp14/frameworks/base/core/java/android/view/
H A DInsetsResizeAnimationRunner.java143 final float fraction = mAnimation.getInterpolatedFraction(); in applyChangeInsets() local
207 public void setInsetsAndAlpha(Insets insets, float alpha, float fraction) { in setInsetsAndAlpha()
/aosp14/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java179 float fraction = pointComponents[componentIndex++]; in initPath() local
232 float fraction = tInRange / xRange; in getInterpolation() local
/aosp14/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java287 final float fraction = mState.mInsetLeft.mFraction + mState.mInsetRight.mFraction; in getIntrinsicWidth() local
298 final float fraction = mState.mInsetTop.mFraction + mState.mInsetBottom.mFraction; in getIntrinsicHeight() local
395 public InsetValue(float fraction, int dimension) { in InsetValue()

1234