HomeSort by relevance Sort by last modified time
    Searched refs:ofFloat (Results 1 - 25 of 172) sorted by null

1 2 3 4 5 6 7

  /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);
  /developers/build/prebuilts/gradle/BatchStepSensor/BatchStepSensorSample/src/main/java/com/example/android/batchstepsensor/
DefaultCardStreamAnimator.java 39 PropertyValuesHolder.ofFloat("alpha", 1.f, 0.f),
40 PropertyValuesHolder.ofFloat("scaleX", 1.f, 0.f),
41 PropertyValuesHolder.ofFloat("scaleY", 1.f, 0.f),
42 PropertyValuesHolder.ofFloat("rotation", 0.f, 270.f));
57 PropertyValuesHolder.ofFloat("alpha", 0.f, 1.f),
58 PropertyValuesHolder.ofFloat("translationY", outPoint.y / 2.f, 0.f),
59 PropertyValuesHolder.ofFloat("rotation", -45.f, 0.f));
70 PropertyValuesHolder.ofFloat("alpha", 0.5f, 1.f),
71 PropertyValuesHolder.ofFloat("rotation", 60.f, 0.f));
89 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 39 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
51 Keyframe keyFrame = Keyframe.ofFloat(0.0f,9.0f);
70 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
77 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
83 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
90 Keyframe keyFrame = Keyframe.ofFloat(0.0f);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/
Utils.java 127 Keyframe k0 = Keyframe.ofFloat(0f, 1f);
128 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio);
129 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio);
130 Keyframe k3 = Keyframe.ofFloat(1f, 1f);
  /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).
  /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);
  /packages/apps/Camera2/src/com/android/camera/
AnimationManager.java 59 ObjectAnimator slide = ObjectAnimator.ofFloat(view, "translationX", 0f, slideDistance)
63 ObjectAnimator translateY = ObjectAnimator.ofFloat(view, "translationY",
90 ObjectAnimator.ofFloat(view, "scaleX", scale, 1f)
92 ObjectAnimator.ofFloat(view, "scaleY", scale, 1f)
94 ObjectAnimator.ofFloat(view, "translationX",
140 mFlashAnim = ObjectAnimator.ofFloat(flashOverlay, "alpha",
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
RadialSelectorView.java 334 kf0 = Keyframe.ofFloat(0f, 1);
335 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier);
336 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier);
340 kf0 = Keyframe.ofFloat(0f, 1f);
341 kf1 = Keyframe.ofFloat(1f, 0f);
371 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier);
372 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier);
373 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier);
374 kf3 = Keyframe.ofFloat(1f, 1);
378 kf0 = Keyframe.ofFloat(0f, 0f)
    [all...]
  /sdk/testapps/customPropAnimTest/src/com/android/custompropertyanimation/
CustomPropertyAnimationActivity.java 19 ObjectAnimator anim = ObjectAnimator.ofFloat(view, "foo", 1);
  /packages/apps/Nfc/src/com/android/nfc/
SendUi.java 224 PropertyValuesHolder preX = PropertyValuesHolder.ofFloat("scaleX", PRE_SCREENSHOT_SCALE);
225 PropertyValuesHolder preY = PropertyValuesHolder.ofFloat("scaleY", PRE_SCREENSHOT_SCALE);
231 PropertyValuesHolder postX = PropertyValuesHolder.ofFloat("scaleX", SEND_SCREENSHOT_SCALE);
232 PropertyValuesHolder postY = PropertyValuesHolder.ofFloat("scaleY", SEND_SCREENSHOT_SCALE);
233 PropertyValuesHolder alphaDown = PropertyValuesHolder.ofFloat("alpha",
246 PropertyValuesHolder scaleUpX = PropertyValuesHolder.ofFloat("scaleX", SCALE_UP_SCREENSHOT_SCALE);
247 PropertyValuesHolder scaleUpY = PropertyValuesHolder.ofFloat("scaleY", SCALE_UP_SCREENSHOT_SCALE);
254 PropertyValuesHolder fadeIn = PropertyValuesHolder.ofFloat("alpha", 1.0f);
261 PropertyValuesHolder alphaUp = PropertyValuesHolder.ofFloat("alpha", TEXT_HINT_ALPHA_RANGE);
267 alphaDown = PropertyValuesHolder.ofFloat("alpha", BLACK_LAYER_ALPHA_DOWN_RANGE)
    [all...]
  /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));
  /frameworks/base/core/java/android/transition/
Slide.java 47 ObjectAnimator anim = ObjectAnimator.ofFloat(endView, View.TRANSLATION_Y,
59 ObjectAnimator anim = ObjectAnimator.ofFloat(startView, View.TRANSLATION_Y, 0,
  /packages/apps/Contacts/src/com/android/contacts/widget/
TransitionAnimationView.java 82 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 0.0f, 1.0f);
85 mAnimator = ObjectAnimator.ofFloat(mMaskingView, View.ALPHA, 1.0f, 0.0f);
  /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);
  /cts/tests/tests/textureview/src/android/textureview/cts/
TextureViewTestActivity.java 46 ObjectAnimator rotate = ObjectAnimator.ofFloat(mTexView, "rotationY", 180);
47 ObjectAnimator fadeIn = ObjectAnimator.ofFloat(mTexView, "alpha", 0.3f, 1f);
48 ObjectAnimator scaleY = ObjectAnimator.ofFloat(mTexView, "scaleY", 0.3f, 1f);

Completed in 1402 milliseconds

1 2 3 4 5 6 7