/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;
|
PathKeyframes.java | 146 private static float interpolate(float fraction, float startValue, float endValue) { 147 float diff = endValue - startValue;
|
/test/suite_harness/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/shared/src/com/android/systemui/shared/recents/utilities/ |
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/main/java/androidx/transition/ |
RectEvaluator.java | 69 * @param endValue The end Rect 74 public Rect evaluate(float fraction, Rect startValue, Rect endValue) { 75 int left = startValue.left + (int) ((endValue.left - startValue.left) * fraction); 76 int top = startValue.top + (int) ((endValue.top - startValue.top) * fraction); 77 int right = startValue.right + (int) ((endValue.right - startValue.right) * fraction); 78 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/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 | 174 float endValue = nowVisible ? 1.0f : 0.0f; 176 view.setAlpha(endValue); 186 .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) 67 : mStartValue(startValue), mEndValue(endValue) {} 91 float endValue) 92 : PropertyValuesHolderImpl(startValue, endValue), mGroup(ptr), mPropertyId(propertyId) { 105 SkColor startValue, SkColor endValue) 106 : PropertyValuesHolderImpl(startValue, endValue) 122 float endValue) 123 : PropertyValuesHolderImpl(startValue, endValue) 138 PathData* endValue) 139 : PropertyValuesHolderImpl(*startValue, *endValue), mPath(ptr) [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/main/java/androidx/vectordrawable/graphics/drawable/ |
ArgbEvaluator.java | 55 * @param endValue A 32-bit int value representing colors in the 63 public Object evaluate(float fraction, Object startValue, Object endValue) { 70 int endInt = (Integer) endValue;
|
/packages/apps/TV/src/com/android/tv/ui/ |
TvViewUiManager.java | 398 FrameLayout.LayoutParams endValue) { 403 interpolateMargins(lp, startValue, endValue, fraction); 607 MarginLayoutParams endValue, 609 out.topMargin = interpolate(startValue.topMargin, endValue.topMargin, fraction); 610 out.bottomMargin = interpolate(startValue.bottomMargin, endValue.bottomMargin, fraction); 612 interpolate(startValue.getMarginStart(), endValue.getMarginStart(), fraction)); 613 out.setMarginEnd(interpolate(startValue.getMarginEnd(), endValue.getMarginEnd(), fraction)); 614 out.width = interpolate(startValue.width, endValue.width, fraction); 615 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;
|