Home
last modified time | relevance | path

Searched refs:interpolator (Results 1 – 25 of 99) sorted by relevance

1234

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPropertySetter.java32 public void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
40 TimeInterpolator interpolator) { in setFloat() argument
45 TimeInterpolator interpolator) { in setInt() argument
60 public void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
66 anim.setDuration(mDuration).setInterpolator(interpolator); in setViewAlpha()
72 TimeInterpolator interpolator) { in setFloat() argument
77 anim.setDuration(mDuration).setInterpolator(interpolator); in setFloat()
83 TimeInterpolator interpolator) { in setInt() argument
88 anim.setDuration(mDuration).setInterpolator(interpolator); in setInt()
DInterpolators.java147 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument
160 return interpolator.getInterpolation((t - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
169 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound,
171 return t -> Utilities.mapRange(interpolator.getInterpolation(t), lowerBound, upperBound);
178 public Interpolator interpolator;
239 interpolator = t -> t <= overshootFraction
DAnimatorPlaybackController.java280 public void dispatchSetInterpolator(TimeInterpolator interpolator) { in dispatchSetInterpolator() argument
281 dispatchSetInterpolatorRecursively(mAnim, interpolator); in dispatchSetInterpolator()
284 private void dispatchSetInterpolatorRecursively(Animator anim, TimeInterpolator interpolator) { in dispatchSetInterpolatorRecursively() argument
285 anim.setInterpolator(interpolator); in dispatchSetInterpolatorRecursively()
288 dispatchSetInterpolatorRecursively(child, interpolator); in dispatchSetInterpolatorRecursively()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/
DFlingAnimationUtils.java97 animator.setInterpolator(properties.interpolator); in apply()
119 animator.setInterpolator(properties.interpolator); in apply()
130 animatorProperties.interpolator = linearOutSlowIn; in getProperties()
137 animatorProperties.interpolator = in getProperties()
143 animatorProperties.interpolator = Interpolators.FAST_OUT_SLOW_IN; in getProperties()
166 animator.setInterpolator(properties.interpolator); in applyDismissing()
190 animator.setInterpolator(properties.interpolator); in applyDismissing()
206 animatorProperties.interpolator = mLinearOutFasterIn; in getDismissingProperties()
216 animatorProperties.interpolator = superInterpolator; in getDismissingProperties()
221 animatorProperties.interpolator = Interpolators.FAST_OUT_LINEAR_IN; in getDismissingProperties()
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/
DSwipeButtonView.java292 Interpolator interpolator = in setCircleRadius() local
296 animator.setInterpolator(interpolator); in setCircleRadius()
315 previewClipper.setInterpolator(interpolator); in setCircleRadius()
368 float imageScale, boolean animate, long duration, @Nullable Interpolator interpolator) { in setImageScale() argument
385 if (interpolator == null) { in setImageScale()
386 interpolator = in setImageScale()
391 animator.setInterpolator(interpolator); in setImageScale()
430 @Nullable Interpolator interpolator, in setImageAlpha() argument
457 if (interpolator == null) { in setImageAlpha()
458 interpolator = in setImageAlpha()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/anim/
DBenefitsAnimation.java257 android.R.interpolator.linear)); in getTranslationAnimatorSet()
259 android.R.interpolator.fast_out_slow_in)); in getTranslationAnimatorSet()
261 android.R.interpolator.linear)); in getTranslationAnimatorSet()
263 android.R.interpolator.fast_out_slow_in)); in getTranslationAnimatorSet()
265 android.R.interpolator.linear)); in getTranslationAnimatorSet()
267 android.R.interpolator.fast_out_slow_in)); in getTranslationAnimatorSet()
273 @AnimRes @InterpolatorRes int interpolator) { in getTranslationAnimator() argument
276 animator.setInterpolator(AnimationUtils.loadInterpolator(mActivity, interpolator)); in getTranslationAnimator()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DOverScroller.java59 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument
60 this(context, interpolator, true); in OverScroller()
71 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument
72 mInterpolator = interpolator; in OverScroller()
92 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument
94 this(context, interpolator, true); in OverScroller()
110 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument
112 this(context, interpolator, flywheel); in OverScroller()
115 void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
116 mInterpolator = interpolator; in setInterpolator()
DScroller.java115 public Scroller(Context context, Interpolator interpolator) { in Scroller() argument
116 this(context, interpolator, in Scroller()
125 public Scroller(Context context, Interpolator interpolator, boolean flywheel) { in Scroller() argument
127 mInterpolator = interpolator; in Scroller()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java410 int delay, Interpolator interpolator, final boolean pressed) { in prepareAndAnimateView() argument
415 fadeCheckmarks(v, action, duration, delay, interpolator); in prepareAndAnimateView()
422 if (interpolator != null) { in prepareAndAnimateView()
423 v.animate().setInterpolator(interpolator); in prepareAndAnimateView()
449 Interpolator interpolator) { in fadeCheckmarks() argument
465 if (interpolator != null) { in fadeCheckmarks()
466 checkView.animate().setInterpolator(interpolator); in fadeCheckmarks()
488 if (interpolator != null) { in fadeCheckmarks()
489 checkView.animate().setInterpolator(interpolator); in fadeCheckmarks()
DBaseDialogFragment.java206 int duration, Interpolator interpolator, final boolean isIcon) { in prepareAndAnimateView() argument
213 if (interpolator != null) { in prepareAndAnimateView()
214 v.animate().setInterpolator(interpolator); in prepareAndAnimateView()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DWindowTransformSwipeHandler.java501 public void setShelfState(ShelfAnimState shelfState, Interpolator interpolator, long duration) { in setShelfState() argument
502 mAnimationFactory.setShelfState(shelfState, interpolator, duration); in setShelfState()
769 Interpolator interpolator = DEACCEL; in handleNormalGestureEnd() local
775 interpolator = endTarget == RECENTS ? OVERSHOOT_1_2 : DEACCEL; in handleNormalGestureEnd()
787 interpolator = overshoot.interpolator; in handleNormalGestureEnd()
800 interpolator = OVERSHOOT_1_2; in handleNormalGestureEnd()
828 setShelfState(ShelfAnimState.OVERVIEW, interpolator, duration); in handleNormalGestureEnd()
837 animateToProgress(startShift, endShift, duration, interpolator, endTarget, velocityPxPerMs); in handleNormalGestureEnd()
860 private void animateToProgress(float start, float end, long duration, Interpolator interpolator, in animateToProgress() argument
863 interpolator, target, velocityPxPerMs)); in animateToProgress()
[all …]
/packages/apps/TV/src/com/android/tv/ui/
DIntroView.java85 protected void onStartEnterAnimation(TimeInterpolator interpolator, long duration) { in onStartEnterAnimation() argument
90 .setInterpolator(interpolator) in onStartEnterAnimation()
98 TimeInterpolator interpolator, long duration, final Runnable onAnimationEnded) { in onStartExitAnimation() argument
102 .setInterpolator(interpolator) in onStartExitAnimation()
DFullscreenDialogView.java61 AnimationUtils.loadInterpolator(context, android.R.interpolator.linear_out_slow_in); in FullscreenDialogView()
63 AnimationUtils.loadInterpolator(context, android.R.interpolator.fast_out_linear_in); in FullscreenDialogView()
121 protected void onStartEnterAnimation(TimeInterpolator interpolator, long duration) {} in onStartEnterAnimation() argument
125 TimeInterpolator interpolator, long duration, Runnable onAnimationEnded) {} in onStartExitAnimation() argument
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverScroller.java65 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument
66 this(context, interpolator, true); in OverScroller()
76 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument
77 if (interpolator == null) { in OverScroller()
80 mInterpolator = interpolator; in OverScroller()
86 public void setInterpolator(TimeInterpolator interpolator) { in setInterpolator() argument
87 if (interpolator == null) { in setInterpolator()
90 mInterpolator = interpolator; in setInterpolator()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/utils/
DUiUtils.java120 Interpolator interpolator = AnimationUtils.loadInterpolator(view.getContext(), shown in setViewShown() local
121 ? android.R.interpolator.fast_out_slow_in in setViewShown()
122 : android.R.interpolator.fast_out_linear_in); in setViewShown()
126 .setInterpolator(interpolator) in setViewShown()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/hint/
DPawAnswerHint.java217 Interpolator interpolator) { in createUniformScaleAnimator() argument
222 scaleX.setInterpolator(interpolator); in createUniformScaleAnimator()
223 scaleY.setInterpolator(interpolator); in createUniformScaleAnimator()
230 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument
233 alpha.setInterpolator(interpolator); in createAlphaAnimator()
DDotAnswerHint.java263 Interpolator interpolator) { in createUniformScaleAnimator() argument
270 scaleX.setInterpolator(interpolator); in createUniformScaleAnimator()
271 scaleY.setInterpolator(interpolator); in createUniformScaleAnimator()
278 View target, float begin, float end, long duration, long delay, Interpolator interpolator) { in createAlphaAnimator() argument
281 alpha.setInterpolator(interpolator); in createAlphaAnimator()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DDotsPageIndicator.java107 private final Interpolator interpolator; field in DotsPageIndicator
154 interpolator = loadInterpolator(context, android.R.interpolator.fast_out_slow_in); in DotsPageIndicator()
156interpolator = loadInterpolator(context, android.R.anim.accelerate_decelerate_interpolator); in DotsPageIndicator()
632 moveSelected.setInterpolator(interpolator); in createMoveSelectedAnimator()
647 joining.setInterpolator(interpolator); in createJoiningAnimator()
762 setInterpolator(interpolator); in PendingRetreatAnimator()
858 setInterpolator(interpolator); in PendingRevealAnimator()
/packages/apps/Settings/src/com/android/settings/widget/
DDotsPageIndicator.java107 private final Interpolator interpolator; field in DotsPageIndicator
154 interpolator = loadInterpolator(context, android.R.interpolator.fast_out_slow_in); in DotsPageIndicator()
156interpolator = loadInterpolator(context, android.R.anim.accelerate_decelerate_interpolator); in DotsPageIndicator()
632 moveSelected.setInterpolator(interpolator); in createMoveSelectedAnimator()
647 joining.setInterpolator(interpolator); in createJoiningAnimator()
762 setInterpolator(interpolator); in PendingRetreatAnimator()
858 setInterpolator(interpolator); in PendingRevealAnimator()
/packages/apps/Camera2/src/com/android/camera/ui/
DStickyBottomCaptureLayout.java185 final Interpolator interpolator = in animateCaptureIndicatorToX() local
189 .setInterpolator(interpolator) in animateCaptureIndicatorToX()
201 final Interpolator interpolator = in animateCaptureIndicatorToY() local
205 .setInterpolator(interpolator) in animateCaptureIndicatorToY()
/packages/apps/Camera2/src/com/android/camera/widget/
DFilmstripLayout.java133 TimeInterpolator interpolator; in init() local
135 interpolator = AnimationUtils.loadInterpolator( in init()
136 getContext(), android.R.interpolator.fast_out_slow_in); in init()
138 interpolator = Gusterpolator.INSTANCE; in init()
140 mFilmstripAnimator.setInterpolator(interpolator); in init()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherState.java336 public final Interpolator interpolator;
338 public PageAlphaProvider(Interpolator interpolator) {
339 this.interpolator = interpolator;
DPagedView.java189 protected void setDefaultInterpolator(Interpolator interpolator) { in setDefaultInterpolator() argument
190 mDefaultInterpolator = interpolator; in setDefaultInterpolator()
1476 public boolean snapToPage(int whichPage, int duration, TimeInterpolator interpolator) { in snapToPage() argument
1477 return snapToPage(whichPage, duration, false, interpolator); in snapToPage()
1481 TimeInterpolator interpolator) { in snapToPage() argument
1486 return snapToPage(whichPage, delta, duration, immediate, interpolator, 0, false); in snapToPage()
1494 TimeInterpolator interpolator, float velocity, boolean spring) { in snapToPage() argument
1524 if (interpolator != null) { in snapToPage()
1525 mScroller.setInterpolator(interpolator); in snapToPage()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPattern.java163 getContext(), android.R.interpolator.linear_out_slow_in)); in onCreateView()
167 getContext(), android.R.interpolator.fast_out_linear_in), in onCreateView()
557 Interpolator interpolator, in createAnimation() argument
566 delay, duration, interpolator, finishListener); in createAnimation()
569 appearing, interpolator, finishListener); in createAnimation() local
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPattern.java163 getContext(), android.R.interpolator.linear_out_slow_in)); in onCreateView()
167 getContext(), android.R.interpolator.fast_out_linear_in), in onCreateView()
557 Interpolator interpolator, in createAnimation() argument
566 delay, duration, interpolator, finishListener); in createAnimation()
569 appearing, interpolator, finishListener); in createAnimation() local

1234