HomeSort by relevance Sort by last modified time
    Searched refs:endValue (Results 1 - 25 of 117) sorted by null

1 2 3 4 5

  /development/samples/devbytes/animation/CurvedMotion/src/com/example/android/curvedmotion/
PathEvaluator.java 23 * on the operation specified by the endValue (the operation for the interval between
28 public PathPoint evaluate(float t, PathPoint startValue, PathPoint endValue) {
30 if (endValue.mOperation == PathPoint.CURVE) {
33 3 * oneMinusT * oneMinusT * t * endValue.mControl0X +
34 3 * oneMinusT * t * t * endValue.mControl1X +
35 t * t * t * endValue.mX;
37 3 * oneMinusT * oneMinusT * t * endValue.mControl0Y +
38 3 * oneMinusT * t * t * endValue.mControl1Y +
39 t * t * t * endValue.mY;
40 } else if (endValue.mOperation == PathPoint.LINE)
    [all...]
  /frameworks/base/core/java/android/animation/
FloatEvaluator.java 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>,
34 * @param endValue The end value; should be of type <code>float</code> or <code>Float</code>
38 public Float evaluate(float fraction, Number startValue, Number endValue) {
40 return startFloat + fraction * (endValue.floatValue() - startFloat);
IntEvaluator.java 28 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>,
34 * @param endValue The end value; should be of type <code>int</code> or <code>Integer</code>
38 public Integer evaluate(float fraction, Integer startValue, Integer endValue) {
40 return (int)(startInt + fraction * (endValue - startInt));
TypeEvaluator.java 33 * where <code>x0</code> is <code>startValue</code>, <code>x1</code> is <code>endValue</code>,
38 * @param endValue The end value.
42 public T evaluate(float fraction, T startValue, T endValue);
RectEvaluator.java 67 * @param endValue The end Rect
72 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
73 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
74 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction);
75 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction);
76 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
PointFEvaluator.java 67 * @param endValue The end PointF
72 public PointF evaluate(float fraction, PointF startValue, PointF endValue) {
73 float x = startValue.x + (fraction * (endValue.x - startValue.x));
74 float y = startValue.y + (fraction * (endValue.y - startValue.y));
FloatArrayEvaluator.java 59 * @param endValue The end value.
61 * the same index in startValue and endValue.
64 public float[] evaluate(float fraction, float[] startValue, float[] endValue) {
72 float end = endValue[i];
IntArrayEvaluator.java 58 * @param endValue The end value.
60 * the same index in startValue and endValue.
63 public int[] evaluate(float fraction, int[] startValue, int[] endValue) {
70 int end = endValue[i];
ArgbEvaluator.java 47 * @param endValue A 32-bit int value representing colors in the
54 public Object evaluate(float fraction, Object startValue, Object endValue) {
61 int endInt = (Integer) endValue;
  /cts/tools/dex-tools/src/dex/reader/
DexBuffer.java 79 int endValue = 0;
84 endValue |= ((value & 0x7F) << 7 * nr);// cut away left most bit
87 return endValue;
94 int endValue = 0;
98 endValue |= (tmp << i * 8);
100 return endValue;
107 short endValue = 0;
111 endValue |= (tmp << i * 8);
113 return endValue;
120 char endValue = 0
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
RectFEvaluator.java 39 * @param endValue The end Rect
44 public RectF evaluate(float fraction, RectF startValue, RectF endValue) {
45 float left = startValue.left + ((endValue.left - startValue.left) * fraction);
46 float top = startValue.top + ((endValue.top - startValue.top) * fraction);
47 float right = startValue.right + ((endValue.right - startValue.right) * fraction);
48 float bottom = startValue.bottom + ((endValue.bottom - startValue.bottom) * fraction);
  /frameworks/support/transition/src/android/support/transition/
RectEvaluator.java 71 * @param endValue The end Rect
76 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
77 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
78 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction);
79 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction);
80 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
FloatArrayEvaluator.java 51 * @param endValue The end value.
53 * the same index in startValue and endValue.
56 public float[] evaluate(float fraction, float[] startValue, float[] endValue) {
64 float end = endValue[i];
  /packages/apps/Messaging/src/com/android/messaging/ui/animation/
RectEvaluatorCompat.java 38 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
39 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction);
40 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction);
41 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction);
42 int bottom = startValue.bottom + (int) ((endValue.bottom - startValue.bottom) * fraction);
  /frameworks/support/design/base/android/support/design/widget/
AnimationUtils.java 35 * Linear interpolation between {@code startValue} and {@code endValue} by {@code fraction}.
37 static float lerp(float startValue, float endValue, float fraction) {
38 return startValue + (fraction * (endValue - startValue));
41 static int lerp(int startValue, int endValue, float fraction) {
42 return startValue + Math.round(fraction * (endValue - startValue));
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
FlingAnimationUtils.java 103 * @param endValue the end value of the animator
106 public void apply(Animator animator, float currValue, float endValue, float velocity) {
107 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
116 * @param endValue the end value of the animator
119 public void apply(ViewPropertyAnimator animator, float currValue, float endValue,
121 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
130 * @param endValue the end value of the animator
135 public void apply(Animator animator, float currValue, float endValue, float velocity
    [all...]
StackScrollerDecorView.java 80 float endValue = nowVisible ? 1.0f : 0.0f;
89 .alpha(endValue)
  /packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
FlingAnimationUtils.java 61 * @param endValue the end value of the animator
64 public void apply(Animator animator, float currValue, float endValue, float velocity) {
65 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
74 * @param endValue the end value of the animator
78 ViewPropertyAnimator animator, float currValue, float endValue, float velocity) {
79 apply(animator, currValue, endValue, velocity, Math.abs(endValue - currValue));
88 * @param endValue the end value of the animator
94 Animator animator, float currValue, float endValue, float velocity, float maxDistance)
    [all...]
  /frameworks/base/libs/hwui/
PropertyValuesHolder.h 66 PropertyValuesHolderImpl(const T& startValue, const T& endValue)
68 , mEndValue(endValue) {}
91 float endValue)
92 : PropertyValuesHolderImpl(startValue, endValue)
106 SkColor startValue, SkColor endValue)
107 : PropertyValuesHolderImpl(startValue, endValue)
122 float endValue)
123 : PropertyValuesHolderImpl(startValue, endValue)
137 PathData* endValue)
138 : PropertyValuesHolderImpl(*startValue, *endValue)
    [all...]
  /external/jsilver/src/com/google/clearsilver/jsilver/functions/string/
SliceFunction.java 40 Value endValue = args[2];
43 int end = endValue.asNumber();
65 || startValue.isPartiallyEscaped() || endValue.isPartiallyEscaped());
  /frameworks/base/core/jni/
android_graphics_drawable_AnimatedVectorDrawable.cpp 108 jfloat startValue, jfloat endValue) {
111 startValue, endValue);
126 int startValue, jint endValue) {
129 propertyId, startValue, endValue);
134 float startValue, jfloat endValue) {
137 propertyId, startValue, endValue);
142 float endValue) {
145 startValue, endValue);
  /frameworks/layoutlib/bridge/src/android/graphics/drawable/
AnimatedVectorDrawable_Delegate.java 91 float startValue, float endValue) {
96 endValue));
109 int startValue, int endValue) {
114 endValue));
119 float startValue, float endValue) {
124 endValue));
129 float endValue) {
134 endValue));
  /frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
ArgbEvaluator.java 54 * @param endValue A 32-bit int value representing colors in the
62 public Object evaluate(float fraction, Object startValue, Object endValue) {
69 int endInt = (Integer) endValue;
  /packages/apps/TV/src/com/android/tv/ui/
TvViewUiManager.java 379 FrameLayout.LayoutParams startValue, FrameLayout.LayoutParams endValue) {
384 interpolateMargins(lp, startValue, endValue, fraction);
568 MarginLayoutParams startValue, MarginLayoutParams endValue, float fraction) {
569 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction);
570 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction);
571 out.setMarginStart(interpolate(startValue.getMarginStart(), endValue.getMarginStart(),
573 out.setMarginEnd(interpolate(startValue.getMarginEnd(), endValue.getMarginEnd(), fraction));
574 out.width = interpolate(startValue.width, endValue.width, fraction);
575 out.height = interpolate(startValue.height, endValue.height, fraction);
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
CustomEvaluator.java 86 public Object evaluate(float fraction, Object startValue, Object endValue) {
88 XYHolder endXY = (XYHolder) endValue;

Completed in 369 milliseconds

1 2 3 4 5