Home
last modified time | relevance | path

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

12345

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/transition/
DLargeScreenShadeInterpolatorImplTest.kt36 actual = { fraction -> impl.getBehindScrimAlpha(fraction) }, in <lambda>() method
37 expected = { fraction -> splitShadeInterpolator.getBehindScrimAlpha(fraction) } in <lambda>() method
46 actual = { fraction -> impl.getBehindScrimAlpha(fraction) }, in <lambda>() method
47 expected = { fraction -> portraitShadeInterpolator.getBehindScrimAlpha(fraction) } in <lambda>() method
56 actual = { fraction -> impl.getNotificationScrimAlpha(fraction) }, in <lambda>() method
57 expected = { fraction -> splitShadeInterpolator.getNotificationScrimAlpha(fraction) } in <lambda>() method
65 actual = { fraction -> impl.getNotificationScrimAlpha(fraction) }, in <lambda>() method
66 expected = { fraction -> portraitShadeInterpolator.getNotificationScrimAlpha(fraction) } in <lambda>() method
75 actual = { fraction -> impl.getNotificationContentAlpha(fraction) }, in <lambda>() method
76 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()
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()
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()
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()
DTypeEvaluator.java42 public T evaluate(float fraction, T startValue, T endValue); in evaluate()
DFloatEvaluator.java38 public Float evaluate(float fraction, Number startValue, Number endValue) { in evaluate()
DIntEvaluator.java38 public Integer evaluate(float fraction, Integer startValue, Integer 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/module/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/module/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.kt40 val fraction = 0.6f in onPanelExpansionChanged_listenerNotified() constant
54 val fraction = 0.6f in addExpansionListener_listenerNotifiedOfCurrentValues() constant
209 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/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipContentOverlay.java68 Rect currentBounds, float fraction); in onAnimationUpdate()
97 Rect currentBounds, float fraction) { in onAnimationUpdate()
150 Rect currentBounds, float fraction) { in onAnimationUpdate()
219 Rect currentBounds, float fraction) { in onAnimationUpdate()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DParallaxable.java30 void setParallaxFraction(float fraction); in setParallaxFraction()
/frameworks/av/media/module/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/base/libs/hwui/utils/
DVectorDrawableUtils.cpp54 const PathData& morphTo, float fraction) { in interpolatePathData()
89 const PathData& to, float fraction) { in interpolatePaths()
/frameworks/av/media/module/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/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

12345