Home
last modified time | relevance | path

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

12345

/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()
84 public void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
90 anim.setInterpolator(interpolator); in setViewAlpha()
96 TimeInterpolator interpolator) { in setFloat() argument
101 anim.setDuration(mDuration).setInterpolator(interpolator); in setFloat()
106 TimeInterpolator interpolator) { in addFloat() argument
108 anim.setInterpolator(interpolator); in addFloat()
114 TimeInterpolator interpolator) { in setInt() argument
119 anim.setInterpolator(interpolator); in setInt()
DInterpolators.java152 public static Interpolator clampToProgress(Interpolator interpolator, float lowerBound, in clampToProgress() argument
165 return interpolator.getInterpolation((t - lowerBound) / (upperBound - lowerBound)); in clampToProgress()
174 public static Interpolator mapToProgress(Interpolator interpolator, float lowerBound,
176 return t -> Utilities.mapRange(interpolator.getInterpolation(t), lowerBound, upperBound);
183 public Interpolator interpolator;
244 interpolator = t -> t <= overshootFraction
DPropertySetter.java36 default void setViewAlpha(View view, float alpha, TimeInterpolator interpolator) { in setViewAlpha() argument
47 TimeInterpolator interpolator) { in setFloat() argument
55 TimeInterpolator interpolator) { in setInt() argument
DAnimatorPlaybackController.java307 public void dispatchSetInterpolator(TimeInterpolator interpolator) { in dispatchSetInterpolator() argument
308 callAnimatorCommandRecursively(mAnim, a -> a.setInterpolator(interpolator)); in dispatchSetInterpolator()
379 public final TimeInterpolator interpolator; field in AnimatorPlaybackController.Holder
388 this.interpolator = this.anim.getInterpolator(); in Holder()
398 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/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()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/
DBaseSwipeUpHandlerV2.java508 public void setShelfState(ShelfAnimState shelfState, Interpolator interpolator, long duration) { in setShelfState() argument
509 mAnimationFactory.setShelfState(shelfState, interpolator, duration); in setShelfState()
816 Interpolator interpolator = DEACCEL; in handleNormalGestureEnd() local
822 interpolator = endTarget == RECENTS ? OVERSHOOT_1_2 : DEACCEL; in handleNormalGestureEnd()
834 interpolator = overshoot.interpolator; in handleNormalGestureEnd()
847 interpolator = OVERSHOOT_1_2; in handleNormalGestureEnd()
876 setShelfState(ShelfAnimState.OVERVIEW, interpolator, duration); in handleNormalGestureEnd()
889 animateToProgress(startShift, endShift, duration, interpolator, endTarget, velocityPxPerMs); in handleNormalGestureEnd()
933 private void animateToProgress(float start, float end, long duration, Interpolator interpolator, in animateToProgress() argument
936 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/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/src/com/android/launcher3/util/
DOverScroller.java67 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument
68 this(context, interpolator, true); in OverScroller()
78 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument
79 if (interpolator == null) { in OverScroller()
82 mInterpolator = interpolator; in OverScroller()
88 public void setInterpolator(TimeInterpolator interpolator) { in setInterpolator() argument
89 if (interpolator == null) { in setInterpolator()
92 mInterpolator = interpolator; in setInterpolator()
/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/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/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/Launcher3/src/com/android/launcher3/
DLauncherState.java286 public final Interpolator interpolator;
288 public PageAlphaProvider(Interpolator interpolator) {
289 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/Launcher3/src/com/android/launcher3/widget/
DWidgetsFullSheet.java184 getContext(), android.R.interpolator.linear_out_slow_in)); in open()
252 float distanceToMove, Interpolator interpolator, PendingAnimation target) { in addHintCloseAnim() argument
253 target.setFloat(mRecyclerView, VIEW_TRANSLATE_Y, -distanceToMove, interpolator); in addHintCloseAnim()
254 target.setViewAlpha(mRecyclerView, 0.5f, interpolator); in addHintCloseAnim()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmLockPattern.java164 getContext(), android.R.interpolator.linear_out_slow_in)); in onCreateView()
168 getContext(), android.R.interpolator.fast_out_linear_in), in onCreateView()
558 Interpolator interpolator, in createAnimation() argument
567 delay, duration, interpolator, finishListener); in createAnimation()
570 appearing, interpolator, finishListener); in createAnimation() local

12345