/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...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeDrawingPoints.java | 35 private final HermiteInterpolator mInterpolator = new HermiteInterpolator(); 131 mInterpolator.reset(px, py, 0, size); 142 mInterpolator.setInterval(p0, p1, p2, p3); 143 final double m1 = Math.atan2(mInterpolator.mSlope1Y, mInterpolator.mSlope1X); 144 final double m2 = Math.atan2(mInterpolator.mSlope2Y, mInterpolator.mSlope2X); 148 final double deltaDistance = Math.hypot(mInterpolator.mP1X - mInterpolator.mP2X, 149 mInterpolator.mP1Y - mInterpolator.mP2Y) [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ViewPropertyAnimatorCompatSet.java | 38 private Interpolator mInterpolator; 68 if (mInterpolator != null) { 69 animator.setInterpolator(mInterpolator); 103 mInterpolator = interpolator;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
TouchAnimator.java | 40 private final Interpolator mInterpolator; 51 mInterpolator = interpolator; 57 if (mInterpolator != null) { 58 t = mInterpolator.getInterpolation(t); 128 private Interpolator mInterpolator; 186 mInterpolator = intepolator; 198 mStartDelay, mEndDelay, mInterpolator, mListener);
|
/frameworks/support/design/gingerbread/android/support/design/widget/ |
ValueAnimatorCompatImplGingerbread.java | 45 private Interpolator mInterpolator; 61 if (mInterpolator == null) { 62 mInterpolator = new AccelerateDecelerateInterpolator(); 87 mInterpolator = interpolator; 169 mAnimatedFraction = mInterpolator != null 170 ? mInterpolator.getInterpolation(linearFraction)
|
/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/services/Car/car-support-lib/src/android/support/car/ui/ |
PagedLayoutManager.java | 125 private final Interpolator mInterpolator; 131 mInterpolator = AnimationUtils.loadInterpolator(context, interpolator); 142 action.update(0, -dy, DURATION_MS, mInterpolator);
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
OverlayListView.java | 104 private Interpolator mInterpolator; 186 mInterpolator = interpolator; 236 float interpolatedTime = (mInterpolator == null) ? normalizedTime 237 : mInterpolator.getInterpolation(normalizedTime);
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
AppearAnimationUtils.java | 40 private final Interpolator mInterpolator; 56 mInterpolator = interpolator; 103 mAppearing, mInterpolator, endRunnable); 127 mAppearing, mInterpolator, endRunnable); 176 return mInterpolator;
|
/frameworks/base/core/tests/coretests/src/android/transition/ |
TransitionTest.java | 82 assertEquals(fade.mInterpolator, clone.mInterpolator);
|
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 40 TimeInterpolator mInterpolator; // only used in the 2-keyframe case 51 mInterpolator = mLastKeyframe.getInterpolator(); 207 if (mInterpolator != null) { 208 fraction = mInterpolator.getInterpolation(fraction);
|
FloatKeyframeSet.java | 74 if (mInterpolator != null) { 75 fraction = mInterpolator.getInterpolation(fraction);
|
IntKeyframeSet.java | 74 if (mInterpolator != null) { 75 fraction = mInterpolator.getInterpolation(fraction);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonRipple.java | 61 private final Interpolator mInterpolator = new LogInterpolator(); 218 scaleAnimator.setInterpolator(mInterpolator); 290 startAnim.setInterpolator(mInterpolator); 298 endAnim.setInterpolator(mInterpolator);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
TransitionImageAnimation.java | 65 private Interpolator mInterpolator = new DecelerateInterpolator(); 119 mInterpolator = interpolator; 124 return mInterpolator; 269 v.setInterpolator(mInterpolator);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Paper.java | 107 private final Interpolator mInterpolator; 118 mInterpolator = new DecelerateInterpolator(); 158 ? t : mInterpolator.getInterpolation(t);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherViewPropertyAnimator.java | 52 TimeInterpolator mInterpolator; 168 mInterpolator = value; 224 mViewPropertyAnimator.setInterpolator(mInterpolator);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherViewPropertyAnimator.java | 54 TimeInterpolator mInterpolator; 169 mInterpolator = value; 225 mViewPropertyAnimator.setInterpolator(mInterpolator);
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
ProgressDrawable.java | 71 private static final TimeInterpolator mInterpolator = Gusterpolator.INSTANCE; 126 sweepAngle = MAX_SWEEP * mInterpolator.getInterpolation( 129 sweepAngle = MAX_SWEEP * (1.0f - mInterpolator.getInterpolation(
|
/frameworks/base/core/java/android/view/ |
RenderNodeAnimator.java | 88 private TimeInterpolator mInterpolator; 162 if (mInterpolator == null) return; 165 if (isNativeInterpolator(mInterpolator)) { 166 ni = ((NativeInterpolatorFactory)mInterpolator).createNativeInterpolator(); 169 ni = FallbackLUTInterpolator.createNativeInterpolator(mInterpolator, duration); 357 mInterpolator = interpolator; 362 return mInterpolator;
|
/frameworks/base/core/java/android/view/animation/ |
LayoutAnimationController.java | 89 protected Interpolator mInterpolator; 246 mInterpolator = interpolator; 256 return mInterpolator; 382 if (mInterpolator == null) { 383 mInterpolator = new LinearInterpolator(); 387 normalizedDelay = mInterpolator.getInterpolation(normalizedDelay);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
FocusHighlightHelper.java | 63 private final Interpolator mInterpolator = new AccelerateDecelerateInterpolator(); 133 if (mInterpolator != null) { 134 fraction = mInterpolator.getInterpolation(fraction);
|
/frameworks/base/libs/hwui/ |
PropertyValuesAnimatorSet.h | 39 std::unique_ptr<Interpolator> mInterpolator;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
ImmersiveModeConfirmation.java | 218 private final Interpolator mInterpolator; 264 mInterpolator = AnimationUtils 303 .setInterpolator(mInterpolator) 316 mColorAnim.setInterpolator(mInterpolator);
|