Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/transition/
DLargeScreenShadeInterpolatorImplTest.kt34 actual = { fraction -> impl.getBehindScrimAlpha(fraction) }, in <lambda>() method
35 expected = { fraction -> splitShadeInterpolator.getBehindScrimAlpha(fraction) } in <lambda>() method
44 actual = { fraction -> impl.getBehindScrimAlpha(fraction) }, in <lambda>() method
45 expected = { fraction -> portraitShadeInterpolator.getBehindScrimAlpha(fraction) } in <lambda>() method
54 actual = { fraction -> impl.getNotificationScrimAlpha(fraction) }, in <lambda>() method
55 expected = { fraction -> splitShadeInterpolator.getNotificationScrimAlpha(fraction) } in <lambda>() method
63 actual = { fraction -> impl.getNotificationScrimAlpha(fraction) }, in <lambda>() method
64 expected = { fraction -> portraitShadeInterpolator.getNotificationScrimAlpha(fraction) } in <lambda>() method
73 actual = { fraction -> impl.getNotificationContentAlpha(fraction) }, in <lambda>() method
74 expected = { fraction -> splitShadeInterpolator.getNotificationContentAlpha(fraction) } in <lambda>() method
[all …]
/frameworks/base/core/java/android/animation/
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()
146 public static Keyframe ofObject(float fraction, Object value) { in ofObject()
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()
[all …]
DKeyframes.java54 Object getValue(float fraction); in getValue()
74 int getIntValue(float fraction); in getIntValue()
87 float getFloatValue(float fraction); in getFloatValue()
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()
DValueAnimator.java737 float fraction = mDuration > 0 ? (float) playTime / mDuration : 1; in setCurrentPlayTime() local
758 public void setCurrentFraction(float fraction) { in setCurrentFraction()
783 private int getCurrentIteration(float fraction) { in getCurrentIteration()
800 private float getCurrentIterationFraction(float fraction, boolean inReverse) { in getCurrentIterationFraction()
814 private float clampFraction(float fraction) { in clampFraction()
1143 float fraction = (float) (mSeekFraction - Math.floor(mSeekFraction)); in start() local
1417 final float fraction = scaledDuration > 0 ? in animateBasedOnTime() local
1484 float fraction = currentPlayTime / (float) mDuration; in animateBasedOnPlayTime() local
1639 void animateValue(float fraction) { in animateValue()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate()
DFloatKeyframeSet.java39 public Object getValue(float fraction) { in getValue()
56 public float getFloatValue(float fraction) { in getFloatValue()
DIntKeyframeSet.java39 public Object getValue(float fraction) { in getValue()
56 public int getIntValue(float fraction) { in getIntValue()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) { in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate()
DPointFEvaluator.java72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) { in evaluate()
DIntArrayEvaluator.java63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) { in evaluate()
/frameworks/base/libs/hwui/
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()
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()
/frameworks/av/media/codecs/amrwb/enc/src/
Dlog2.c60 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2_norm()
101 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2()
/frameworks/av/media/codecs/m4v_h263/enc/src/
Dbitstream_io.cpp257 PV_STATUS BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) in BitstreamSavePartial()
329 Int fraction; in BitstreamShortHeaderByteAlignStuffing() local
359 Int fraction; in BitstreamMpeg4ByteAlignStuffing() local
422 Int bitused, bitleft, offset, fraction; in BitstreamAppendEnc() local
585 Int fraction; in BitstreamRepos() local
684 Int movebyte, bitused, leftover, i, fraction; in BitstreamPrependPacket() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DShadeExpansionStateManagerTest.kt39 val fraction = 0.6f in onPanelExpansionChanged_listenerNotified() constant
59 val fraction = 0.6f in addExpansionListener_listenerNotifiedOfCurrentValues() constant
227 var fraction: Float = 0f variable in com.android.systemui.shade.ShadeExpansionStateManagerTest.TestShadeExpansionListener
/frameworks/base/core/java/android/transition/
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()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DParallaxable.java30 void setParallaxFraction(float fraction); in setParallaxFraction()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipContentOverlay.java68 Rect currentBounds, float fraction); in onAnimationUpdate()
106 Rect currentBounds, float fraction) { in onAnimationUpdate()
164 Rect currentBounds, float fraction) { in onAnimationUpdate()
215 Rect currentBounds, float fraction) { in onAnimationUpdate()
/frameworks/av/media/codecs/amrwb/dec/src/
Dpvamrwb_math_op.cpp386 int16 fraction /* (i) Q15 : Fractionnal part. (range: 0.0<=val<1.0) */ in power_of_2()
493 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Lg2_normalized()
541 int16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in amrwb_log_2()
/frameworks/av/media/codecs/amrnb/common/src/
Dlog2_norm.cpp200 Word16 *fraction /* (o) : Fractional part of Log2. (range: 0<=val<1) */ in Log2_norm()
Dpow2.cpp178 Word16 fraction, /* (i) : Fractional part. (range: 0.0<=val<1.0) */ in Pow2()
/frameworks/base/libs/hwui/utils/
DVectorDrawableUtils.cpp54 const PathData& morphTo, float fraction) { in interpolatePathData()
89 const PathData& to, float fraction) { in interpolatePaths()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DShadeExpansionChangeEvent.kt22 @FloatRange(from = 0.0, to = 1.0) val fraction: Float, constant in com.android.systemui.shade.ShadeExpansionChangeEvent

1234