Searched refs:fromValue (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.cpp29 inline constexpr float lerp(float fromValue, float toValue, float fraction) { argument
30 return float(fromValue * (1 - fraction) + toValue * fraction);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DDetailsParallaxDrawable.java178 final int fromValue = context.getResources()
182 parallax.addEffect(frameTop.atAbsolute(fromValue), frameTop.atAbsolute(toValue))
/frameworks/base/core/java/android/view/
H A DViewPropertyAnimator.java239 NameValuesHolder(int nameConstant, float fromValue, float deltaValue) { argument
241 mFromValue = fromValue;
920 float fromValue = getValue(constantName);
921 float deltaValue = toValue - fromValue;
922 animatePropertyBy(constantName, fromValue, deltaValue);
934 float fromValue = getValue(constantName);
935 animatePropertyBy(constantName, fromValue, byValue);

Completed in 91 milliseconds