/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/ |
DefaultCardStreamAnimator.java | 37 PropertyValuesHolder.ofFloat("alpha", 1.f, 0.f), 38 PropertyValuesHolder.ofFloat("scaleX", 1.f, 0.f), 39 PropertyValuesHolder.ofFloat("scaleY", 1.f, 0.f), 40 PropertyValuesHolder.ofFloat("rotation", 0.f, 270.f)); 55 PropertyValuesHolder.ofFloat("alpha", 0.f, 1.f), 56 PropertyValuesHolder.ofFloat("translationY", outPoint.y / 2.f, 0.f), 57 PropertyValuesHolder.ofFloat("rotation", -45.f, 0.f)); 68 PropertyValuesHolder.ofFloat("alpha", 0.5f, 1.f), 69 PropertyValuesHolder.ofFloat("rotation", 60.f, 0.f)); 87 PropertyValuesHolder.ofFloat("alpha", 1.f) [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/ |
DefaultCardStreamAnimator.java | 37 PropertyValuesHolder.ofFloat("alpha", 1.f, 0.f), 38 PropertyValuesHolder.ofFloat("scaleX", 1.f, 0.f), 39 PropertyValuesHolder.ofFloat("scaleY", 1.f, 0.f), 40 PropertyValuesHolder.ofFloat("rotation", 0.f, 270.f)); 55 PropertyValuesHolder.ofFloat("alpha", 0.f, 1.f), 56 PropertyValuesHolder.ofFloat("translationY", outPoint.y / 2.f, 0.f), 57 PropertyValuesHolder.ofFloat("rotation", -45.f, 0.f)); 68 PropertyValuesHolder.ofFloat("alpha", 0.5f, 1.f), 69 PropertyValuesHolder.ofFloat("rotation", 60.f, 0.f)); 87 PropertyValuesHolder.ofFloat("alpha", 1.f) [all...] |
/development/samples/devbytes/animation/MultiPropertyAnimations/src/com/example/android/multipropertyanimations/ |
MultiPropertyAnimations.java | 53 ValueAnimator anim = ValueAnimator.ofFloat(0, 400); 78 ObjectAnimator.ofFloat(view, View.TRANSLATION_X, TX_END).start(); 79 ObjectAnimator.ofFloat(view, View.TRANSLATION_Y, TY_END).start(); 88 PropertyValuesHolder pvhTX = PropertyValuesHolder.ofFloat(View.TRANSLATION_X, TX_END); 89 PropertyValuesHolder pvhTY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, TY_END);
|
/development/samples/devbytes/animation/SquashAndStretch/src/com/example/squashandstretch/ |
SquashAndStretch.java | 82 PropertyValuesHolder pvhTY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 84 PropertyValuesHolder pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, .7f); 85 PropertyValuesHolder pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1.2f); 92 pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, 2); 93 pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, .5f); 102 pvhTY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 0); 103 pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, 1); 104 pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1);
|
/development/samples/devbytes/animation/SlidingFragments/src/com/example/android/slidingfragments/ |
SlidingFragments.java | 140 PropertyValuesHolder rotateX = PropertyValuesHolder.ofFloat("rotationX", 40f); 141 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 0.8f); 142 PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat("scaleY", 0.8f); 147 ofFloat(mDarkHoverView, "alpha", 0.0f, 0.5f); 150 ofFloat(movingFragmentView, "rotationX", 0); 171 PropertyValuesHolder rotateX = PropertyValuesHolder.ofFloat("rotationX", 40f); 172 PropertyValuesHolder scaleX = PropertyValuesHolder.ofFloat("scaleX", 1.0f); 173 PropertyValuesHolder scaleY = PropertyValuesHolder.ofFloat("scaleY", 1.0f); 178 ofFloat(mDarkHoverView, "alpha", 0.5f, 0.0f); 181 ofFloat(movingFragmentView, "rotationX", 0) [all...] |
/cts/tests/tests/animation/src/android/animation/cts/ |
KeyframeTest.java | 52 Keyframe keyFrame = Keyframe.ofFloat(0.0f); 66 Keyframe keyFrame = Keyframe.ofFloat(0.0f,9.0f); 88 Keyframe keyFrame = Keyframe.ofFloat(0.0f); 96 Keyframe keyFrame = Keyframe.ofFloat(0.0f); 103 Keyframe keyFrame = Keyframe.ofFloat(0.0f); 111 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ShadowCardStack.java | 71 Animator expand = ObjectAnimator.ofFloat(card, "translationY", targetY); 74 Animator toward = ObjectAnimator.ofFloat(card, "translationZ", i * Z); 79 Animator rotateAway = ObjectAnimator.ofFloat(card, "rotationY", 84 Animator slideAway = ObjectAnimator.ofFloat(card, "translationX", 90 Animator rotateBack = ObjectAnimator.ofFloat(card, "rotationY", 0); 93 Animator slideBack = ObjectAnimator.ofFloat(card, "translationX", 0); 97 Animator away = ObjectAnimator.ofFloat(card, "translationZ", 0); 101 Animator collapse = ObjectAnimator.ofFloat(card, "translationY", 0);
|
/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).
|
/cts/tests/tests/view/src/android/view/cts/ |
SurfaceViewSyncTest.java | 162 PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 0.01f, 1f); 163 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 0.01f, 1f); 172 PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 1f, 3f); 173 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1f, 3f); 178 PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.TRANSLATION_X, 10f, 30f); 179 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 10f, 30f); 283 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, 10f, 30f), 284 PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 10f, 30f), 285 PropertyValuesHolder.ofFloat(View.ROTATION, 45f, 45f))), 306 PropertyValuesHolder.ofFloat(View.TRANSLATION_X, -x, 0, x, 0, -x) [all...] |
TextureViewStressTestActivity.java | 52 ObjectAnimator rotate = ObjectAnimator.ofFloat(texView, "rotationY", 180); 53 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(texView, "alpha", 0.3f, 1f); 54 ObjectAnimator scaleY = ObjectAnimator.ofFloat(texView, "scaleY", 0.3f, 1f);
|
/development/samples/devbytes/animation/Anticipation/src/com/example/android/anticipation/ |
AnticiButton.java | 96 downAnim = ObjectAnimator.ofFloat(this, "skewX", mOnLeft ? .5f : -.5f); 113 finishDownAnim = ObjectAnimator.ofFloat(this, "skewX", 122 ObjectAnimator moveAnim = ObjectAnimator.ofFloat(this, 129 ObjectAnimator skewAnim = ObjectAnimator.ofFloat(this, "skewX", 134 ObjectAnimator wobbleAnim = ObjectAnimator.ofFloat(this, "skewX", 0); 152 ObjectAnimator reverser = ObjectAnimator.ofFloat(this, "skewX", 0);
|
/cts/tests/tests/transition/src/android/transition/cts/ |
TrackingVisibilityWithAnimator.java | 35 return ValueAnimator.ofFloat(0, 1);
|
/developers/build/prebuilts/gradle/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/ |
UIAnimation.java | 118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( 119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds 121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) 122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); 152 .ofFloat(expandedImageView, View.X, startBounds.left)) 154 .ofFloat(expandedImageView, 157 .ofFloat(expandedImageView, 160 .ofFloat(expandedImageView,
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
ScaleTransition.java | 30 PropertyValuesHolder holderX = PropertyValuesHolder.ofFloat("scaleX", startScale, endScale); 31 PropertyValuesHolder holderY = PropertyValuesHolder.ofFloat("scaleY", startScale, endScale);
|
/developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/ |
UIAnimation.java | 118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( 119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds 121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) 122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); 152 .ofFloat(expandedImageView, View.X, startBounds.left)) 154 .ofFloat(expandedImageView, 157 .ofFloat(expandedImageView, 160 .ofFloat(expandedImageView,
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
ScaleTransition.java | 30 PropertyValuesHolder holderX = PropertyValuesHolder.ofFloat("scaleX", startScale, endScale); 31 PropertyValuesHolder holderY = PropertyValuesHolder.ofFloat("scaleY", startScale, endScale);
|
/development/samples/browseable/WearSpeakerSample/src/com.example.android.wearable.speaker/ |
UIAnimation.java | 118 .ofFloat(expandedImageView, View.X, startBounds.left, finalBounds.left)).with( 119 ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, finalBounds 121 ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) 122 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); 152 .ofFloat(expandedImageView, View.X, startBounds.left)) 154 .ofFloat(expandedImageView, 157 .ofFloat(expandedImageView, 160 .ofFloat(expandedImageView,
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
ScaleTransition.java | 30 PropertyValuesHolder holderX = PropertyValuesHolder.ofFloat("scaleX", startScale, endScale); 31 PropertyValuesHolder holderY = PropertyValuesHolder.ofFloat("scaleY", startScale, endScale);
|
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/ |
CardView.java | 134 PropertyValuesHolder rotation = PropertyValuesHolder.ofFloat(View.ROTATION_Y, 137 PropertyValuesHolder xOffset = PropertyValuesHolder.ofFloat(View.TRANSLATION_X, 139 PropertyValuesHolder yOffset = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 153 Keyframe shadowKeyFrameStart = Keyframe.ofFloat(0, 0); 154 Keyframe shadowKeyFrameMid = Keyframe.ofFloat(0.5f, 1); 155 Keyframe shadowKeyFrameEnd = Keyframe.ofFloat(1, 0); 268 return ObjectAnimator.ofFloat(this, View.ROTATION, rotation); 285 ObjectAnimator animator = ObjectAnimator.ofFloat(this, View.ROTATION, rotation);
|
/development/samples/devbytes/animation/ListViewCellInsertion/src/com/example/android/insertingcells/ |
RoundView.java | 72 PropertyValuesHolder imgViewScaleY = PropertyValuesHolder.ofFloat(View 74 PropertyValuesHolder imgViewScaleX = PropertyValuesHolder.ofFloat(View
|
/development/samples/devbytes/animation/ToonGame/src/com/example/android/toongame/ |
ToonGame.java | 183 PropertyValuesHolder pvhTY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, 185 PropertyValuesHolder pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, .7f); 186 PropertyValuesHolder pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1.2f); 190 pvhTY = PropertyValuesHolder.ofFloat(View.TRANSLATION_Y, bottomTY, endTY); 191 pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, 1); 192 pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1); 196 pvhSX = PropertyValuesHolder.ofFloat(View.SCALE_X, stretch); 197 pvhSY = PropertyValuesHolder.ofFloat(View.SCALE_Y, squash);
|
/development/samples/training/AnimationsDemo/src/com/example/android/animationsdemo/ |
ZoomActivity.java | 169 .play(ObjectAnimator.ofFloat(expandedImageView, View.X, startBounds.left, 171 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top, 173 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X, startScale, 1f)) 174 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_Y, startScale, 1f)); 205 .play(ObjectAnimator.ofFloat(expandedImageView, View.X, startBounds.left)) 206 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y, startBounds.top)) 208 .ofFloat(expandedImageView, View.SCALE_X, startScaleFinal)) 210 .ofFloat(expandedImageView, View.SCALE_Y, startScaleFinal));
|
/development/samples/devbytes/animation/PropertyAnimations/src/com/example/android/propertyanimations/ |
PropertyAnimations.java | 56 ObjectAnimator alphaAnimation = ObjectAnimator.ofFloat(alphaButton, 63 ObjectAnimator.ofFloat(translateButton, View.TRANSLATION_X, 800); 69 ObjectAnimator.ofFloat(rotateButton, View.ROTATION, 360); 75 PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 2); 76 PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 2);
|