/frameworks/base/core/tests/coretests/src/android/animation/ |
ValueAnimatorEventsTest.java | 25 mAnimator = ValueAnimator.ofFloat(0, 1);
|
ObjectAnimatorEventsTest.java | 31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100);
|
AnimatorSetEventsTest.java | 32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100); 33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
MultiPropertyAnimation.java | 89 ObjectAnimator yBouncer = ObjectAnimator.ofFloat(ball, "y", 95 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(), 97 PropertyValuesHolder pvhAlpha = PropertyValuesHolder.ofFloat("alpha", 1.0f, 0f); 106 PropertyValuesHolder pvhW = PropertyValuesHolder.ofFloat("width", ball.getWidth(), 108 PropertyValuesHolder pvhH = PropertyValuesHolder.ofFloat("height", ball.getHeight(), 110 PropertyValuesHolder pvTX = PropertyValuesHolder.ofFloat("x", ball.getX(), 112 PropertyValuesHolder pvTY = PropertyValuesHolder.ofFloat("y", ball.getY(), 120 pvhY = PropertyValuesHolder.ofFloat("y", ball.getY(), getHeight() - BALL_SIZE); 122 Keyframe kf0 = Keyframe.ofFloat(0f, ballX); 123 Keyframe kf1 = Keyframe.ofFloat(.5f, ballX + 100f) [all...] |
BouncingBalls.java | 92 ValueAnimator bounceAnim = ObjectAnimator.ofFloat(newBall, "y", startY, endY); 95 ValueAnimator squashAnim1 = ObjectAnimator.ofFloat(newBall, "x", newBall.getX(), 101 ValueAnimator squashAnim2 = ObjectAnimator.ofFloat(newBall, "width", newBall.getWidth(), 107 ValueAnimator stretchAnim1 = ObjectAnimator.ofFloat(newBall, "y", endY, 113 ValueAnimator stretchAnim2 = ObjectAnimator.ofFloat(newBall, "height", 119 ValueAnimator bounceBackAnim = ObjectAnimator.ofFloat(newBall, "y", endY, 132 ValueAnimator fadeAnim = ObjectAnimator.ofFloat(newBall, "alpha", 1f, 0f);
|
LayoutAnimationsHideShow.java | 123 PropertyValuesHolder.ofFloat("scaleX", 1f, 0f, 1f); 125 PropertyValuesHolder.ofFloat("scaleY", 1f, 0f, 1f); 139 Keyframe kf0 = Keyframe.ofFloat(0f, 0f); 140 Keyframe kf1 = Keyframe.ofFloat(.9999f, 360f); 141 Keyframe kf2 = Keyframe.ofFloat(1f, 0f); 156 ObjectAnimator animIn = ObjectAnimator.ofFloat(null, "rotationY", 90f, 0f). 167 ObjectAnimator animOut = ObjectAnimator.ofFloat(null, "rotationX", 0f, 90f).
|
LayoutAnimations.java | 159 PropertyValuesHolder.ofFloat("scaleX", 1f, 0f, 1f); 161 PropertyValuesHolder.ofFloat("scaleY", 1f, 0f, 1f); 174 Keyframe kf0 = Keyframe.ofFloat(0f, 0f); 175 Keyframe kf1 = Keyframe.ofFloat(.9999f, 360f); 176 Keyframe kf2 = Keyframe.ofFloat(1f, 0f); 190 customAppearingAnim = ObjectAnimator.ofFloat(null, "rotationY", 90f, 0f). 200 customDisappearingAnim = ObjectAnimator.ofFloat(null, "rotationX", 0f, 90f).
|
ListFlipper.java | 107 ObjectAnimator visToInvis = ObjectAnimator.ofFloat(visibleList, "rotationY", 0f, 90f); 110 final ObjectAnimator invisToVis = ObjectAnimator.ofFloat(invisibleList, "rotationY",
|
AnimationCloning.java | 80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y", 87 ObjectAnimator animDown = ObjectAnimator.ofFloat(ball2, "y", 90 ObjectAnimator animUp = ObjectAnimator.ofFloat(ball2, "y",
|
AnimatorEvents.java | 120 ObjectAnimator yAnim = ObjectAnimator.ofFloat(ball, "y", 128 ObjectAnimator xAnim = ObjectAnimator.ofFloat(ball, "x", 135 ObjectAnimator alphaAnim = ObjectAnimator.ofFloat(ball, "alpha", 1f, .5f).
|
/packages/apps/Nfc/src/com/android/nfc/ |
SendUi.java | 153 PropertyValuesHolder preX = PropertyValuesHolder.ofFloat("scaleX", PRE_SCREENSHOT_SCALE); 154 PropertyValuesHolder preY = PropertyValuesHolder.ofFloat("scaleY", PRE_SCREENSHOT_SCALE); 160 PropertyValuesHolder postX = PropertyValuesHolder.ofFloat("scaleX", CLONE_SCREENSHOT_SCALE); 161 PropertyValuesHolder postY = PropertyValuesHolder.ofFloat("scaleY", CLONE_SCREENSHOT_SCALE); 162 PropertyValuesHolder alphaDown = PropertyValuesHolder.ofFloat("alpha", 175 PropertyValuesHolder scaleUpX = PropertyValuesHolder.ofFloat("scaleX", SCALE_UP_SCREENSHOT_SCALE); 176 PropertyValuesHolder scaleUpY = PropertyValuesHolder.ofFloat("scaleY", SCALE_UP_SCREENSHOT_SCALE); 183 PropertyValuesHolder fadeIn = PropertyValuesHolder.ofFloat("alpha", 1.0f); 190 PropertyValuesHolder alphaUp = PropertyValuesHolder.ofFloat("alpha", TEXT_HINT_ALPHA_RANGE); 281 PropertyValuesHolder postX = PropertyValuesHolder.ofFloat("scaleX" [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
Screensaver.java | 108 ObjectAnimator.ofFloat(mSaverView, "alpha", 0f, 1f) 113 Animator xMove = ObjectAnimator.ofFloat(mSaverView, 115 Animator yMove = ObjectAnimator.ofFloat(mSaverView, 118 Animator xShrink = ObjectAnimator.ofFloat(mSaverView, "scaleX", 1f, 0.85f); 119 Animator xGrow = ObjectAnimator.ofFloat(mSaverView, "scaleX", 0.85f, 1f); 121 Animator yShrink = ObjectAnimator.ofFloat(mSaverView, "scaleY", 1f, 0.85f); 122 Animator yGrow = ObjectAnimator.ofFloat(mSaverView, "scaleY", 0.85f, 1f); 126 Animator fadeout = ObjectAnimator.ofFloat(mSaverView, "alpha", 1f, 0f); 127 Animator fadein = ObjectAnimator.ofFloat(mSaverView, "alpha", 0f, 1f);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
SearchDropTargetBar.java | 95 ObjectAnimator fadeInAlphaAnim = ObjectAnimator.ofFloat(mDropTargetBar, "alpha", 1f); 101 fadeInAnimators.with(ObjectAnimator.ofFloat(mDropTargetBar, "translationY", 0f)); 110 ObjectAnimator fadeOutAlphaAnim = ObjectAnimator.ofFloat(mDropTargetBar, "alpha", 0f); 115 fadeOutAnimators.with(ObjectAnimator.ofFloat(mDropTargetBar, "translationY", 126 mQSBSearchBarFadeInAnim = ObjectAnimator.ofFloat(mQSBSearchBar, "alpha", 1f); 134 mQSBSearchBarFadeOutAnim = ObjectAnimator.ofFloat(mQSBSearchBar, "alpha", 0f);
|
InterruptibleInOutAnimator.java | 48 mAnimator = ValueAnimator.ofFloat(fromValue, toValue).setDuration(duration);
|
/frameworks/base/core/java/android/animation/ |
KeyframeSet.java | 65 public static KeyframeSet ofFloat(float... values) { 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]);
|
Keyframe.java | 105 public static Keyframe ofFloat(float fraction, float value) { 121 public static Keyframe ofFloat(float fraction) {
|
ObjectAnimator.java | 208 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) { 226 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, 327 setValues(PropertyValuesHolder.ofFloat(mProperty, values)); 329 setValues(PropertyValuesHolder.ofFloat(mPropertyName, values));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
KeyButtonView.java | 185 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)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
Choreographer.java | 73 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/ |
ViewLayersActivity.java | 53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList, 59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList, 65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList,
|
Animated3dActivity.java | 45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
NotificationPanel.java | 239 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",
|
ShirtPocket.java | 75 ObjectAnimator.ofFloat(this, "alpha", 0f, 1f).start(); 90 Animator a = ObjectAnimator.ofFloat(this, "alpha", getAlpha(), 0f);
|
/frameworks/base/core/java/com/android/internal/widget/ |
AbsActionBarView.java | 130 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);
|
/packages/apps/Browser/src/com/android/browser/ |
PhoneUi.java | 370 ObjectAnimator title = ObjectAnimator.ofFloat(mAnimScreen.mTitle, "alpha", 372 ObjectAnimator sx = ObjectAnimator.ofFloat(mAnimScreen, "scaleFactor", 374 ObjectAnimator blend1 = ObjectAnimator.ofFloat(mAnimScreen.mMain, 453 ObjectAnimator fade2 = ObjectAnimator.ofFloat(mAnimScreen.mMain, "alpha", 0f, 1f); 454 ObjectAnimator fade1 = ObjectAnimator.ofFloat(mNavScreen, "alpha", 1f, 0f); 466 ObjectAnimator scale = ObjectAnimator.ofFloat(mAnimScreen, "scaleFactor", 468 ObjectAnimator otheralpha = ObjectAnimator.ofFloat(mCustomViewContainer, "alpha", 1f, 0f);
|