Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/animation/
DFloatKeyframeSet.java84 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local
85 if (interpolator != null) { in getFloatValue()
86 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
100 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local
101 if (interpolator != null) { in getFloatValue()
102 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
114 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getFloatValue() local
115 if (interpolator != null) { in getFloatValue()
116 fraction = interpolator.getInterpolation(fraction); in getFloatValue()
DIntKeyframeSet.java84 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local
85 if (interpolator != null) { in getIntValue()
86 fraction = interpolator.getInterpolation(fraction); in getIntValue()
100 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local
101 if (interpolator != null) { in getIntValue()
102 fraction = interpolator.getInterpolation(fraction); in getIntValue()
113 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getIntValue() local
114 if (interpolator != null) { in getIntValue()
115 fraction = interpolator.getInterpolation(fraction); in getIntValue()
DKeyframeSet.java188 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local
189 if (interpolator != null) { in getValue()
190 fraction = interpolator.getInterpolation(fraction); in getValue()
199 final TimeInterpolator interpolator = mLastKeyframe.getInterpolator(); in getValue() local
200 if (interpolator != null) { in getValue()
201 fraction = interpolator.getInterpolation(fraction); in getValue()
213 final TimeInterpolator interpolator = nextKeyframe.getInterpolator(); in getValue() local
214 if (interpolator != null) { in getValue()
215 fraction = interpolator.getInterpolation(fraction); in getValue()
DKeyframe.java218 public void setInterpolator(TimeInterpolator interpolator) { in setInterpolator() argument
219 mInterpolator = interpolator; in setInterpolator()
DLayoutTransition.java575 public void setInterpolator(int transitionType, TimeInterpolator interpolator) { in setInterpolator() argument
578 mChangingAppearingInterpolator = interpolator; in setInterpolator()
581 mChangingDisappearingInterpolator = interpolator; in setInterpolator()
584 mChangingInterpolator = interpolator; in setInterpolator()
587 mAppearingInterpolator = interpolator; in setInterpolator()
590 mDisappearingInterpolator = interpolator; in setInterpolator()
DAnimatorSet.java251 public void setInterpolator(TimeInterpolator interpolator) { in setInterpolator() argument
252 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/core/java/android/view/animation/
DAnimationUtils.java291 Interpolator interpolator = null; in createInterpolatorFromXml() local
310 interpolator = new LinearInterpolator(c, attrs); in createInterpolatorFromXml()
312 interpolator = new AccelerateInterpolator(c, attrs); in createInterpolatorFromXml()
314 interpolator = new DecelerateInterpolator(c, attrs); in createInterpolatorFromXml()
316 interpolator = new AccelerateDecelerateInterpolator(c, attrs); in createInterpolatorFromXml()
318 interpolator = new CycleInterpolator(c, attrs); in createInterpolatorFromXml()
320 interpolator = new AnticipateInterpolator(c, attrs); in createInterpolatorFromXml()
322 interpolator = new OvershootInterpolator(c, attrs); in createInterpolatorFromXml()
324 interpolator = new AnticipateOvershootInterpolator(c, attrs); in createInterpolatorFromXml()
326 interpolator = new BounceInterpolator(c, attrs); in createInterpolatorFromXml()
[all …]
DAnimationSet.java353 final Interpolator interpolator = a.mInterpolator; in initializeInvalidateRegion() local
354 a.applyTransformation(interpolator != null ? interpolator.getInterpolation(0.0f) in initializeInvalidateRegion()
447 final Interpolator interpolator = mInterpolator; in initialize() local
475 a.setInterpolator(interpolator); in initialize()
DLayoutAnimationController.java243 public void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
244 mInterpolator = interpolator; in setInterpolator()
/frameworks/support/v4/java/android/support/v4/widget/
DScrollerCompat.java35 Object createScroller(Context context, Interpolator interpolator); in createScroller() argument
57 public Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument
58 return interpolator != null ? in createScroller()
59 new Scroller(context, interpolator) : new Scroller(context); in createScroller()
145 public Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument
146 return ScrollerCompatGingerbread.createScroller(context, interpolator); in createScroller()
254 public static ScrollerCompat create(Context context, Interpolator interpolator) { in create() argument
255 return new ScrollerCompat(context, interpolator); in create()
258 ScrollerCompat(Context context, Interpolator interpolator) { in ScrollerCompat() argument
259 mScroller = IMPL.createScroller(context, interpolator); in ScrollerCompat()
/frameworks/support/v4/gingerbread/android/support/v4/widget/
DScrollerCompatGingerbread.java25 public static Object createScroller(Context context, Interpolator interpolator) { in createScroller() argument
26 return interpolator != null ? in createScroller()
27 new OverScroller(context, interpolator) : new OverScroller(context); in createScroller()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTweener.java61 TimeInterpolator interpolator = null; in to() local
74 interpolator = (TimeInterpolator) value; // TODO: multiple interpolators? in to()
112 if (interpolator != null) { in to()
113 anim.setInterpolator(interpolator); in to()
DGlowPadView.java503 final TimeInterpolator interpolator = Ease.Cubic.easeOut; in hideTargets() local
508 "ease", interpolator, in hideTargets()
520 "ease", interpolator, in hideTargets()
/frameworks/base/core/java/android/widget/
DOverScroller.java60 public OverScroller(Context context, Interpolator interpolator) { in OverScroller() argument
61 this(context, interpolator, true); in OverScroller()
72 public OverScroller(Context context, Interpolator interpolator, boolean flywheel) { in OverScroller() argument
73 mInterpolator = interpolator; in OverScroller()
91 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument
93 this(context, interpolator, true); in OverScroller()
109 public OverScroller(Context context, Interpolator interpolator, in OverScroller() argument
111 this(context, interpolator, flywheel); in OverScroller()
114 void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
115 mInterpolator = interpolator; in setInterpolator()
DScroller.java169 public Scroller(Context context, Interpolator interpolator) { in Scroller() argument
170 this(context, interpolator, in Scroller()
179 public Scroller(Context context, Interpolator interpolator, boolean flywheel) { in Scroller() argument
181 mInterpolator = interpolator; in Scroller()
DProgressBar.java913 public void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
914 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/docs/html/guide/topics/resources/
Danimation-resource.jd375 android:interpolator="@[package:]anim/<em>interpolator_resource</em>"
420 <dt><code>android:interpolator</code></dt>
423 The value must be a reference to a resource that specifies an interpolator
424 (not an interpolator class name). There are default interpolator
425 resources available from the platform or you can create your own interpolator resource.
428 <dd><em>Boolean</em>. "true" if you want to share the same interpolator among all child
534 android:interpolator="@android:anim/accelerate_decelerate_interpolator"
544 android:interpolator="@android:anim/accelerate_interpolator"
586 <p>An interpolator is an animation modifier defined in XML that affects the rate of change in an
590 <p>An interpolator is applied to an animation element with the {@code android:interpolator}
[all …]
/frameworks/base/docs/html/training/animation/
Dcardflip.jd111 android:interpolator="@android:interpolator/accelerate_decelerate"
133 android:interpolator="@android:interpolator/accelerate_decelerate"
162 android:interpolator="@android:interpolator/accelerate_decelerate"
185 android:interpolator="@android:interpolator/accelerate_decelerate"
/frameworks/base/core/res/
DMakeJavaSymbols.sed21 s|.*R.interpolator.\([a-zA-Z0-9_]*\).*| <java-symbol type="interpolator" name="\1" />|gp
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java244 long startime, int duration, Interpolator interpolator) { in drag() argument
250 float ii = interpolator.getInterpolation(i / (float)steps); in drag()
/frameworks/base/docs/html/guide/topics/graphics/
Dview-animation.jd39 <code>&lt;rotate&gt;</code>, interpolator element, or <code>&lt;set&gt;</code> element that holds
49 android:interpolator="@android:anim/accelerate_decelerate_interpolator"
58 &lt;set android:interpolator="@android:anim/decelerate_interpolator"&gt;
Dprop-animation.jd302 <p>A time interpolator defines how specific values in an animation are calculated as a
310 interpolator.</p>
322 <td>An interpolator whose rate of change starts and ends slowly but accelerates
329 <td>An interpolator whose rate of change starts out slowly and then
336 <td>An interpolator whose change starts backward then flings forward.</td>
342 <td>An interpolator whose change starts backward, flings forward and overshoots
349 <td>An interpolator whose change bounces at the end.</td>
355 <td>An interpolator whose animation repeats for a specified number of cycles.</td>
361 <td>An interpolator whose rate of change starts out quickly and and then
368 <td>An interpolator whose rate of change is constant.</td>
[all …]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DProgressBarICS.java74 android.R.attr.interpolator,
666 public void setInterpolator(Interpolator interpolator) { in setInterpolator() argument
667 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/core/java/android/view/
DViewPropertyAnimator.java319 public ViewPropertyAnimator setInterpolator(TimeInterpolator interpolator) { in setInterpolator() argument
321 mInterpolator = interpolator; in setInterpolator()
/frameworks/base/services/java/com/android/server/wm/
DDisplayMagnifier.java519 Interpolator interpolator = new DecelerateInterpolator(2.5f); in ViewportWindow() local
525 mShowHideFrameAnimator.setInterpolator(interpolator); in ViewportWindow()

12