Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/src/com/android/launcher3/anim/
DPendingAnimation.java62 public void add(Animator anim, TimeInterpolator interpolator, SpringProperty springProperty) { in add() argument
63 anim.setInterpolator(interpolator); in add()
77 public void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
83 anim.setInterpolator(interpolator); in setViewAlpha()
88 public void setViewBackgroundColor(View view, int color, TimeInterpolator interpolator) { in setViewBackgroundColor() argument
94 anim.setInterpolator(interpolator); in setViewBackgroundColor()
100 TimeInterpolator interpolator) { in setFloat() argument
105 anim.setDuration(mDuration).setInterpolator(interpolator); in setFloat()
110 TimeInterpolator interpolator) { in addFloat() argument
112 anim.setInterpolator(interpolator); in addFloat()
[all …]
DPropertySetter.java36 default void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
46 default void setViewBackgroundColor(View view, int color, TimeInterpolator interpolator) { in setViewBackgroundColor() argument
56 TimeInterpolator interpolator) { in setFloat() argument
64 TimeInterpolator interpolator) { in setInt() argument
DInterpolators.java151 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument
168 return interpolator.getInterpolation((t - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
177 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound,
179 return t -> Utilities.mapRange(interpolator.getInterpolation(t), lowerBound, upperBound);
DAnimatorPlaybackController.java296 public void dispatchSetInterpolator(TimeInterpolator interpolator) { in dispatchSetInterpolator() argument
297 callAnimatorCommandRecursively(mAnim, a -> a.setInterpolator(interpolator)); in dispatchSetInterpolator()
371 public final TimeInterpolator interpolator; field in AnimatorPlaybackController.Holder
380 this.interpolator = this.anim.getInterpolator(); in Holder()
390 anim.setInterpolator(interpolator); in reset()
/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/Car/Notification/src/com/android/car/notification/headsup/animationhelper/
DCarHeadsUpNotificationRightAnimationHelper.java34 Interpolator interpolator = AnimationUtils.loadInterpolator( in getAnimateInAnimator() local
36 R.interpolator.heads_up_entry_direction_interpolator); in getAnimateInAnimator()
39 R.interpolator.heads_up_entry_alpha_interpolator); in getAnimateInAnimator()
44 move.setInterpolator(interpolator); in getAnimateInAnimator()
58 Interpolator interpolator = AnimationUtils.loadInterpolator( in getAnimateOutAnimator() local
60 R.interpolator.heads_up_exit_direction_interpolator); in getAnimateOutAnimator()
63 R.interpolator.heads_up_exit_alpha_interpolator); in getAnimateOutAnimator()
67 move.setInterpolator(interpolator); in getAnimateOutAnimator()
/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/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/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/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/apps/Launcher3/quickstep/src/com/android/quickstep/util/
DTaskViewSimulator.java180 public void addAppToOverviewAnim(PendingAnimation pa, TimeInterpolator interpolator) { in addAppToOverviewAnim() argument
181 pa.addFloat(fullScreenProgress, AnimatedFloat.VALUE, 1, 0, interpolator); in addAppToOverviewAnim()
182 pa.addFloat(recentsViewScale, AnimatedFloat.VALUE, getFullScreenScale(), 1, interpolator); in addAppToOverviewAnim()
188 public void addOverviewToAppAnim(PendingAnimation pa, TimeInterpolator interpolator) { in addOverviewToAppAnim() argument
189 pa.addFloat(fullScreenProgress, AnimatedFloat.VALUE, 0, 1, interpolator); in addOverviewToAppAnim()
190 pa.addFloat(recentsViewScale, AnimatedFloat.VALUE, 1, getFullScreenScale(), interpolator); in addOverviewToAppAnim()
/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/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/Launcher3/src/com/android/launcher3/
DLauncherState.java311 public final Interpolator interpolator;
313 public PageAlphaProvider(Interpolator interpolator) {
314 this.interpolator = interpolator;
/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/DeskClock/src/com/android/deskclock/
DMoveScreensaverRunnable.kt95 mActiveAnimator?.interpolator = mDeceleration in run()
105 hide.interpolator = mAcceleration in run()
112 show.interpolator = mDeceleration in run()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java349 TimeInterpolator interpolator = null; in animateView() local
351 interpolator = DEACCEL_1_5; in animateView()
394 animateView(view, updateCb, duration, interpolator, onCompleteRunnable, animationEndStyle, in animateView()
399 TimeInterpolator interpolator, final Runnable onCompleteRunnable, in animateView() argument
417 mDropAnim.setInterpolator(interpolator); in animateView()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmLockPattern.java169 getContext(), android.R.interpolator.linear_out_slow_in)); in onCreateView()
173 getContext(), android.R.interpolator.fast_out_linear_in), in onCreateView()
584 Interpolator interpolator, in createAnimation() argument
593 delay, duration, interpolator, finishListener); in createAnimation()
596 appearing, interpolator, finishListener); in createAnimation() local
/packages/apps/Gallery2/src/com/android/gallery3d/anim/
DAnimation.java56 public void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
57 mInterpolator = interpolator; in setInterpolator()

1234