/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
HermiteInterpolatorTests.java | 24 private final HermiteInterpolator mInterpolator = new HermiteInterpolator(); 62 mInterpolator.reset(mXCoords, mYCoords, p0, p3 + 1); 63 mInterpolator.setInterval(p0 - 1, p0, p1, p1 + 1); 64 assertEquals("p0x", mXCoords[p0], mInterpolator.mP1X); 65 assertEquals("p0y", mYCoords[p0], mInterpolator.mP1Y); 66 assertEquals("p1x", mXCoords[p1], mInterpolator.mP2X); 67 assertEquals("p1y", mYCoords[p1], mInterpolator.mP2Y); 69 assertFloatEquals("slope x p0", -0.25f, mInterpolator.mSlope1X); 70 assertFloatEquals("slope y p0", -0.75f, mInterpolator.mSlope1Y); 72 assertFloatEquals("slope x p1", 1.50f, mInterpolator.mSlope2X) [all...] |
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/ |
Zoomer.java | 32 private Interpolator mInterpolator; 60 mInterpolator = new DecelerateInterpolator(); 118 mCurrentZoom = mEndZoom * mInterpolator.getInterpolation(t);
|
/packages/apps/Gallery2/src/com/android/gallery3d/anim/ |
Animation.java | 54 private Interpolator mInterpolator; 57 mInterpolator = interpolator; 85 Interpolator i = mInterpolator;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeWithPreviewPoints.java | 35 private final HermiteInterpolator mInterpolator = new HermiteInterpolator(); 175 mInterpolator.reset(px, py, 0, size); 186 mInterpolator.setInterval(p0, p1, p2, p3); 187 final double m1 = Math.atan2(mInterpolator.mSlope1Y, mInterpolator.mSlope1X); 188 final double m2 = Math.atan2(mInterpolator.mSlope2Y, mInterpolator.mSlope2X); 192 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, 193 mInterpolator.mP1Y - mInterpolator.mP2Y) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
RampUpScroller.java | 27 private final Interpolator mInterpolator; 44 mInterpolator = new AccelerateInterpolator(); 68 scale = mInterpolator.getInterpolation((float) elapsedSinceStart / mRampUpTime);
|
LauncherViewPropertyAnimator.java | 53 TimeInterpolator mInterpolator; 169 mInterpolator = value; 225 mViewPropertyAnimator.setInterpolator(mInterpolator);
|
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 87 protected Interpolator mInterpolator; 244 mInterpolator = interpolator; 254 return mInterpolator; 380 if (mInterpolator == null) { 381 mInterpolator = new LinearInterpolator(); 385 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay);
|
Animation.java | 173 Interpolator mInterpolator; 402 mInterpolator = i; 662 return mInterpolator; 808 if (mInterpolator == null) { 809 mInterpolator = new AccelerateDecelerateInterpolator(); 869 final float interpolatedTime = mInterpolator.getInterpolation(normalizedTime); [all...] |
GridLayoutAnimationController.java | 318 if (mInterpolator == null) { 319 mInterpolator = new LinearInterpolator(); 339 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay);
|
/frameworks/base/core/java/android/animation/ |
Keyframe.java | 52 private TimeInterpolator mInterpolator = null; 209 return mInterpolator; 219 mInterpolator = interpolator;
|
KeyframeSet.java | 37 TimeInterpolator mInterpolator; // only used in the 2-keyframe case 48 mInterpolator = mLastKeyframe.getInterpolator(); 180 if (mInterpolator != null) { 181 fraction = mInterpolator.getInterpolation(fraction);
|
FloatKeyframeSet.java | 68 if (mInterpolator != null) { 69 fraction = mInterpolator.getInterpolation(fraction);
|
IntKeyframeSet.java | 68 if (mInterpolator != null) { 69 fraction = mInterpolator.getInterpolation(fraction);
|
AnimatorSet.java | 125 private TimeInterpolator mInterpolator = null; 252 mInterpolator = interpolator; 257 return mInterpolator; 510 if (mInterpolator != null) { 512 node.animation.setInterpolator(mInterpolator); [all...] |
ValueAnimator.java | 204 private TimeInterpolator mInterpolator = sDefaultInterpolator; [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 107 private final Interpolator mInterpolator; 118 mInterpolator = new DecelerateInterpolator(); 158 ? t : mInterpolator.getInterpolation(t);
|
EdgeEffect.java | 108 private final Interpolator mInterpolator; 141 mInterpolator = new DecelerateInterpolator(); 352 final float interp = mInterpolator.getInterpolation(t);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
Scroller.java | 56 private Interpolator mInterpolator; 128 mInterpolator = interpolator; 261 if (mInterpolator == null) 264 x = mInterpolator.getInterpolation(x);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 52 TimeInterpolator mInterpolator; 168 mInterpolator = value; 224 mViewPropertyAnimator.setInterpolator(mInterpolator);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
ProgressBarICS.java | 97 private Interpolator mInterpolator; 621 if (mInterpolator == null) { 622 mInterpolator = new LinearInterpolator(); 630 mAnimation.setInterpolator(mInterpolator); 667 mInterpolator = interpolator; 676 return mInterpolator;
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/ |
OverScrollerSGV.java | 42 private Interpolator mInterpolator; 77 mInterpolator = interpolator; 119 mInterpolator = interpolator; 311 if (mInterpolator == null) { 312 q = mInterpolator.getInterpolation(q); 314 q = mInterpolator.getInterpolation(q); [all...] |
/frameworks/base/core/java/android/widget/ |
EdgeEffect.java | 102 private final Interpolator mInterpolator; 151 mInterpolator = new DecelerateInterpolator(); 385 final float interp = mInterpolator.getInterpolation(t);
|
Scroller.java | 84 private Interpolator mInterpolator; 181 mInterpolator = interpolator; 317 if (mInterpolator == null) 320 x = mInterpolator.getInterpolation(x);
|
OverScroller.java | 38 private Interpolator mInterpolator; 73 mInterpolator = interpolator; 115 mInterpolator = interpolator; 307 if (mInterpolator == null) { 310 q = mInterpolator.getInterpolation(q); [all...] |
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
PopupZoomer.java | 542 private final Interpolator mInterpolator; 545 mInterpolator = i; 551 if (mInterpolator == null) return input; 552 return mInterpolator.getInterpolation(input);
|