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

1 2

  /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));
RectEvaluator.java 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),
41 startValue.top + (int)((endValue.top - startValue.top) * fraction),
42 startValue.right + (int)((endValue.right - startValue.right) * fraction),
43 startValue.bottom + (int)((endValue.bottom - startValue.bottom) * fraction));
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);
ArgbEvaluator.java 34 * @param endValue A 32-bit int value representing colors in the
41 public Object evaluate(float fraction, Object startValue, Object endValue) {
48 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...]
  /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());
  /external/jmonkeyengine/engine/src/core/com/jme3/math/
FastMath.java 95 * Linear interpolation from startValue to endValue by the given percent.
96 * Basically: ((1 - percent) * startValue) + (percent * endValue)
99 * scale value to use. if 1, use endValue, if 0, use startValue.
102 * @param endValue
104 * @return The interpolated value between startValue and endValue.
106 public static float interpolateLinear(float scale, float startValue, float endValue) {
107 if (startValue == endValue) {
114 return endValue;
116 return ((1f - scale) * startValue) + (scale * endValue);
120 * Linear interpolation from startValue to endValue by the given percent
    [all...]
  /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;
  /development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/
InsertionListView.java 364 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
365 return new Rect(interpolate(startValue.left, endValue.left, fraction),
366 interpolate(startValue.top, endValue.top, fraction),
367 interpolate(startValue.right, endValue.right, fraction),
368 interpolate(startValue.bottom, endValue.bottom, fraction));
  /development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/
DynamicListView.java 457 public Rect evaluate(float fraction, Rect startValue, Rect endValue) {
458 return new Rect(interpolate(startValue.left, endValue.left, fraction),
459 interpolate(startValue.top, endValue.top, fraction),
460 interpolate(startValue.right, endValue.right, fraction),
461 interpolate(startValue.bottom, endValue.bottom, fraction));
  /external/chromium_org/third_party/WebKit/Source/core/platform/
ScrollAnimatorNone.cpp 187 double endValue = curveIntegralAt(curve, endT);
188 return endValue - startValue;
194 double endValue = curveIntegralAt(curve, 1 - startT);
195 return endValue - startValue;
  /frameworks/base/core/java/android/transition/
Transition.java 453 Object endValue = end.values.get(key);
454 if (startValue != endValue && !startValue.equals(endValue)) {
456 "), end(" + endValue +")");
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/mac/
ScrollAnimatorMac.mm 312 - (id)initWithScrollbar:(Scrollbar*)scrollbar featureToAnimate:(FeatureToAnimate)featureToAnimate animateFrom:(CGFloat)startValue animateTo:(CGFloat)endValue duration:(NSTimeInterval)duration;
317 - (id)initWithScrollbar:(Scrollbar*)scrollbar featureToAnimate:(FeatureToAnimate)featureToAnimate animateFrom:(CGFloat)startValue animateTo:(CGFloat)endValue duration:(NSTimeInterval)duration
326 _endValue = endValue;
347 - (void)setEndValue:(CGFloat)endValue
349 _endValue = endValue;
    [all...]
  /dalvik/vm/
Init.cpp 138 dvmFprintf(stderr, " -Xjitop:hexopvalue[-endvalue]"
139 "[,hexopvalue[-endvalue]]*\n");
572 long startValue, endValue;
580 endValue = strtol(endPtr+1, &endPtr, 16);
581 endValue %= kNumPackedOpcodes;
583 endValue = startValue;
586 for (; startValue <= endValue; startValue++) {
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/
calendar.cpp     [all...]
  /external/icu4c/i18n/
calendar.cpp     [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
UIUtils.js 206 var endValue = end[key];
210 var newValue = startValue + (endValue - startValue) * complete / duration;
213 style.setProperty(key, endValue + (key in propertyUnit ? propertyUnit[key] : defaultUnit));
    [all...]
  /external/chromium_org/third_party/icu/source/i18n/unicode/
calendar.h     [all...]
  /external/icu4c/i18n/unicode/
calendar.h     [all...]
  /external/chromium_org/third_party/jsoncpp/overrides/include/json/
value.h 225 Value( const char *beginValue, const char *endValue );
    [all...]
  /external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
json_value.cpp 390 const char *endValue )
399 (unsigned int)(endValue - beginValue) );
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationItemView.java     [all...]
  /frameworks/base/tools/aapt/
ResourceTable.cpp     [all...]

Completed in 1231 milliseconds

1 2