Lines Matching refs:Rect
18 import android.graphics.Rect;
21 * This evaluator can be used to perform type interpolation between <code>Rect</code> values.
23 public class RectEvaluator implements TypeEvaluator<Rect> {
27 * end Rect values, with <code>fraction</code> representing the proportion
29 * calculation on each of the separate components in the Rect objects
33 * @param startValue The start Rect
34 * @param endValue The end Rect
39 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
40 return new Rect(startValue.left + (int)((endValue.left - startValue.left) * fraction),