Searched refs:ofFloat (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/animation/
H A DValueAnimatorEventsTest.java25 mAnimator = ValueAnimator.ofFloat(0, 1);
H A DObjectAnimatorEventsTest.java31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100);
H A DAnimatorSetEventsTest.java32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
/frameworks/base/core/java/android/animation/
H A DKeyframeSet.java65 public static KeyframeSet ofFloat(float... values) { method in class:KeyframeSet
69 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f);
70 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]);
72 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]);
74 keyframes[i] = (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]);
H A DKeyframe.java105 public static Keyframe ofFloat(float fraction, float value) { method in class:Keyframe
121 public static Keyframe ofFloat(float fraction) { method in class:Keyframe
H A DObjectAnimator.java215 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) { method in class:ObjectAnimator
233 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, method in class:ObjectAnimator
334 setValues(PropertyValuesHolder.ofFloat(mProperty, values));
336 setValues(PropertyValuesHolder.ofFloat(mPropertyName, values));
H A DLayoutTransition.java252 defaultFadeIn = ObjectAnimator.ofFloat(null, "alpha", 0f, 1f);
256 defaultFadeOut = ObjectAnimator.ofFloat(null, "alpha", 1f, 0f);
693 ValueAnimator pendingAnimRemover = ValueAnimator.ofFloat(0f, 1f).
H A DPropertyValuesHolder.java174 public static PropertyValuesHolder ofFloat(String propertyName, float... values) { method in class:PropertyValuesHolder
185 public static PropertyValuesHolder ofFloat(Property<?, Float> property, float... values) { method in class:PropertyValuesHolder
327 mKeyframeSet = KeyframeSet.ofFloat(values);
H A DAnimatorSet.java511 mDelayAnim = ValueAnimator.ofFloat(0f, 1f);
1110 ValueAnimator anim = ValueAnimator.ofFloat(0f, 1f);
H A DValueAnimator.java320 public static ValueAnimator ofFloat(float... values) { method in class:ValueAnimator
411 setValues(new PropertyValuesHolder[]{PropertyValuesHolder.ofFloat("", values)});
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonView.java185 ObjectAnimator.ofFloat(this, "glowAlpha", 1f),
186 ObjectAnimator.ofFloat(this, "glowScale", GLOW_MAX_SCALE_FACTOR)
191 ObjectAnimator.ofFloat(this, "glowAlpha", 0f),
192 ObjectAnimator.ofFloat(this, "glowScale", 1f),
193 ObjectAnimator.ofFloat(this, "drawingAlpha", BUTTON_QUIESCENT_ALPHA)
H A DNotificationRowLayout.java175 final ObjectAnimator alphaFade = ObjectAnimator.ofFloat(child, "alpha", 0f, 1f);
230 anim = ObjectAnimator.ofFloat(child, "alpha", currentAlpha, 0);
236 anim = ValueAnimator.ofFloat(0, 1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DChoreographer.java73 Animator posAnim = ObjectAnimator.ofFloat(mContentView, "translationY",
80 Animator glowAnim = ObjectAnimator.ofFloat(mContentView, "alpha",
90 noRecentAppsFadeAnim = ObjectAnimator.ofFloat(mNoRecentAppsView, "alpha",
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DViewLayersActivity.java53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList,
59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList,
65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList,
H A DAnimated3dActivity.java45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f);
H A DLinesActivity.java42 mAnimator = ObjectAnimator.ofFloat(view, "offset", 0.0f, 15.0f);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/
H A DNotificationPanel.java239 set.play(ObjectAnimator.ofFloat(
243 .with(ObjectAnimator.ofFloat(
273 Animator a = ObjectAnimator.ofFloat(toHide, "alpha", 1f, 0f)
287 ObjectAnimator.ofFloat(toShow, "alpha", 0f, 1f)
388 Animator posAnim = ObjectAnimator.ofFloat(mContentParent, "translationY",
396 Animator fadeAnim = ObjectAnimator.ofFloat(mContentParent, "alpha",
H A DShirtPocket.java75 ObjectAnimator.ofFloat(this, "alpha", 0f, 1f).start();
90 Animator a = ObjectAnimator.ofFloat(this, "alpha", getAlpha(), 0f);
/frameworks/base/core/java/com/android/internal/widget/
H A DAbsActionBarView.java130 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 1);
135 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, "alpha", 1);
145 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 0);
150 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, "alpha", 0);
H A DActionBarContextView.java393 ObjectAnimator buttonAnimator = ObjectAnimator.ofFloat(mClose, "translationX", 0);
407 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0, 1);
418 ObjectAnimator buttonAnimator = ObjectAnimator.ofFloat(mClose, "translationX",
433 ObjectAnimator a = ObjectAnimator.ofFloat(child, "scaleY", 0);
H A DDrawableHolder.java75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue);
/frameworks/base/core/java/android/widget/
H A DStackView.java246 PropertyValuesHolder slideInY = PropertyValuesHolder.ofFloat("YProgress", 0.0f);
247 PropertyValuesHolder slideInX = PropertyValuesHolder.ofFloat("XProgress", 0.0f);
266 PropertyValuesHolder slideOutY = PropertyValuesHolder.ofFloat("YProgress", 1.0f);
267 PropertyValuesHolder slideOutX = PropertyValuesHolder.ofFloat("XProgress", 0.0f);
343 PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX);
344 PropertyValuesHolder translationY = PropertyValuesHolder.ofFloat("translationY", transY);
345 PropertyValuesHolder scalePropX = PropertyValuesHolder.ofFloat("scaleX", scale);
346 PropertyValuesHolder scalePropY = PropertyValuesHolder.ofFloat("scaleY", scale);
855 PropertyValuesHolder snapBackY = PropertyValuesHolder.ofFloat("YProgress", finalYProgress);
856 PropertyValuesHolder snapBackX = PropertyValuesHolder.ofFloat("XProgres
[all...]
H A DAdapterViewAnimator.java272 ObjectAnimator anim = ObjectAnimator.ofFloat(null, "alpha", 0.0f, 1.0f);
278 ObjectAnimator anim = ObjectAnimator.ofFloat(null, "alpha", 1.0f, 0.0f);
/frameworks/base/core/java/com/android/internal/app/
H A DActionBarImpl.java549 AnimatorSet.Builder b = anim.play(ObjectAnimator.ofFloat(mContainerView, "alpha", 1));
551 b.with(ObjectAnimator.ofFloat(mContentView, "translationY",
554 b.with(ObjectAnimator.ofFloat(mContainerView, "translationY", 0));
559 b.with(ObjectAnimator.ofFloat(mSplitView, "alpha", 1));
584 AnimatorSet.Builder b = anim.play(ObjectAnimator.ofFloat(mContainerView, "alpha", 0));
586 b.with(ObjectAnimator.ofFloat(mContentView, "translationY",
588 b.with(ObjectAnimator.ofFloat(mContainerView, "translationY",
593 b.with(ObjectAnimator.ofFloat(mSplitView, "alpha", 0));
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java84 props.add(PropertyValuesHolder.ofFloat(key,
88 props.add(PropertyValuesHolder.ofFloat(key, floatValue));

Completed in 230 milliseconds

12