Home
last modified time | relevance | path

Searched refs:ofFloat (Results 1 – 25 of 135) sorted by relevance

123456

/frameworks/opt/datetimepicker/src/com/android/datetimepicker/time/
DRadialSelectorView.java334 kf0 = Keyframe.ofFloat(0f, 1); in getDisappearAnimator()
335 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in getDisappearAnimator()
336 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); in getDisappearAnimator()
340 kf0 = Keyframe.ofFloat(0f, 1f); in getDisappearAnimator()
341 kf1 = Keyframe.ofFloat(1f, 0f); in getDisappearAnimator()
371 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); in getReappearAnimator()
372 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); in getReappearAnimator()
373 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in getReappearAnimator()
374 kf3 = Keyframe.ofFloat(1f, 1); in getReappearAnimator()
378 kf0 = Keyframe.ofFloat(0f, 0f); in getReappearAnimator()
[all …]
DRadialTextsView.java295 kf0 = Keyframe.ofFloat(0f, 1); in renderAnimations()
296 kf1 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in renderAnimations()
297 kf2 = Keyframe.ofFloat(1f, mTransitionEndRadiusMultiplier); in renderAnimations()
301 kf0 = Keyframe.ofFloat(0f, 1f); in renderAnimations()
302 kf1 = Keyframe.ofFloat(1f, 0f); in renderAnimations()
318 kf0 = Keyframe.ofFloat(0f, mTransitionEndRadiusMultiplier); in renderAnimations()
319 kf1 = Keyframe.ofFloat(delayPoint, mTransitionEndRadiusMultiplier); in renderAnimations()
320 kf2 = Keyframe.ofFloat(midwayPoint, mTransitionMidRadiusMultiplier); in renderAnimations()
321 kf3 = Keyframe.ofFloat(1f, 1); in renderAnimations()
325 kf0 = Keyframe.ofFloat(0f, 0f); in renderAnimations()
[all …]
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java89 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
90 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ) in onElevationsChanged()
97 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
98 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, pressedTranslationZ) in onElevationsChanged()
108 anim.play(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f) in onElevationsChanged()
111 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
118 set.play(ObjectAnimator.ofFloat(mView, "elevation", 0f).setDuration(0)) in onElevationsChanged()
119 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f).setDuration(0)); in onElevationsChanged()
DViewUtilsLollipop.java64 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
68 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
72 ObjectAnimator.ofFloat(view, "elevation", 0).setDuration(0)); in setDefaultAppBarLayoutStateListAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DRecentsRowFocusAnimationHolder.java48 ObjectAnimator.ofFloat(mView, "alpha", 1f), in RecentsRowFocusAnimationHolder()
49 ObjectAnimator.ofFloat(mTitleView, "alpha", 1f)); in RecentsRowFocusAnimationHolder()
57 ObjectAnimator.ofFloat(mView, "alpha", 1f, dimAlpha), in RecentsRowFocusAnimationHolder()
58 ObjectAnimator.ofFloat(mTitleView, "alpha", 0f)); in RecentsRowFocusAnimationHolder()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java127 Keyframe k0 = Keyframe.ofFloat(0f, 1f); in getPulseAnimator()
128 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio); in getPulseAnimator()
129 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); in getPulseAnimator()
130 Keyframe k3 = Keyframe.ofFloat(1f, 1f); in getPulseAnimator()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java82 public static KeyframeSet ofFloat(float... values) { in ofFloat() method in KeyframeSet
87 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f); in ofFloat()
88 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); in ofFloat()
93 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]); in ofFloat()
96 (FloatKeyframe) Keyframe.ofFloat((float) i / (numKeyframes - 1), values[i]); in ofFloat()
DObjectAnimator.java442 public static ObjectAnimator ofFloat(Object target, String propertyName, float... values) { in ofFloat() method in ObjectAnimator
465 public static ObjectAnimator ofFloat(Object target, String xPropertyName, String yPropertyName, in ofFloat() method in ObjectAnimator
488 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> property, in ofFloat() method in ObjectAnimator
508 public static <T> ObjectAnimator ofFloat(T target, Property<T, Float> xProperty, in ofFloat() method in ObjectAnimator
781 setValues(PropertyValuesHolder.ofFloat(mProperty, values)); in setFloatValues()
783 setValues(PropertyValuesHolder.ofFloat(mPropertyName, values)); in setFloatValues()
DKeyframe.java114 public static Keyframe ofFloat(float fraction, float value) { in ofFloat() method in Keyframe
130 public static Keyframe ofFloat(float fraction) { in ofFloat() method in Keyframe
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java173 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in createSoftwareEnter()
179 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in createSoftwareEnter()
185 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter()
244 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in createSoftwareExit()
249 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in createSoftwareExit()
254 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in createSoftwareExit()
DRippleBackground.java94 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in createSoftwareEnter()
107 final ObjectAnimator exit = ObjectAnimator.ofFloat(this, RippleBackground.OPACITY, 0); in createSoftwareExit()
118 final ObjectAnimator enter = ObjectAnimator.ofFloat(this, RippleBackground.OPACITY, 1); in createSoftwareExit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskViewTransform.java161 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.TRANSLATION_Z, in applyToTaskView()
167 PropertyValuesHolder.ofFloat(View.SCALE_X, v.getScaleX(), scale), in applyToTaskView()
168 PropertyValuesHolder.ofFloat(View.SCALE_Y, v.getScaleX(), scale)); in applyToTaskView()
172 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, v.getAlpha(), alpha); in applyToTaskView()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DViewLayersActivity.java53 final ObjectAnimator moveRight = ObjectAnimator.ofFloat(leftList, in onCreate()
59 final ObjectAnimator moveLeft = ObjectAnimator.ofFloat(rightList, in onCreate()
65 final ObjectAnimator rotate = ObjectAnimator.ofFloat(middleList, in onCreate()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPasswordTextView.java567 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 0.0f); in startWidthDisappearAnimation()
579 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 0.0f); in startTextDisappearAnimation()
591 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f); in startDotDisappearAnimation()
605 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 1.0f); in startWidthAppearAnimation()
615 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 1.0f); in startTextAppearAnimation()
625 textTranslateAnimator = ValueAnimator.ofFloat(1.0f, 0.0f); in startTextAppearAnimation()
638 ValueAnimator overShootAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, in startDotAppearAnimation()
645 ValueAnimator settleBackAnimator = ValueAnimator.ofFloat(DOT_OVERSHOOT_FACTOR, in startDotAppearAnimation()
656 ValueAnimator growAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, 1.0f); in startDotAppearAnimation()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetEventsTest.java32 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
33 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
DValueAnimatorEventsTest.java25 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
DObjectAnimatorEventsTest.java31 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100); in setUp()
DAutoCancelTest.java45 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator()
49 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1); in setupAnimator()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java206 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 1); in setupAnimatorToVisibility()
211 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); in setupAnimatorToVisibility()
221 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 0); in setupAnimatorToVisibility()
226 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); in setupAnimatorToVisibility()
/frameworks/base/docs/html/training/animation/
Dzoom.jd260 .play(ObjectAnimator.ofFloat(expandedImageView, View.X,
262 .with(ObjectAnimator.ofFloat(expandedImageView, View.Y,
264 .with(ObjectAnimator.ofFloat(expandedImageView, View.SCALE_X,
265 startScale, 1f)).with(ObjectAnimator.ofFloat(expandedImageView,
298 .ofFloat(expandedImageView, View.X, startBounds.left))
300 .ofFloat(expandedImageView,
303 .ofFloat(expandedImageView,
306 .ofFloat(expandedImageView,
/frameworks/base/core/java/android/widget/
DStackView.java255 PropertyValuesHolder slideInY = PropertyValuesHolder.ofFloat("YProgress", 0.0f); in transformViewForTransition()
256 PropertyValuesHolder slideInX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
275 PropertyValuesHolder slideOutY = PropertyValuesHolder.ofFloat("YProgress", 1.0f); in transformViewForTransition()
276 PropertyValuesHolder slideOutX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
352 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex()
353 … PropertyValuesHolder translationY = PropertyValuesHolder.ofFloat("translationY", transY); in transformViewAtIndex()
354 PropertyValuesHolder scalePropX = PropertyValuesHolder.ofFloat("scaleX", scale); in transformViewAtIndex()
355 PropertyValuesHolder scalePropY = PropertyValuesHolder.ofFloat("scaleY", scale); in transformViewAtIndex()
864 … PropertyValuesHolder snapBackY = PropertyValuesHolder.ofFloat("YProgress", finalYProgress);
865 PropertyValuesHolder snapBackX = PropertyValuesHolder.ofFloat("XProgress", 0.0f);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java132 mAnimator = ObjectAnimator.ofFloat(this, View.ROTATION, 0, 360); in startAccelSpin()
161 mAnimator = ObjectAnimator.ofFloat(this, View.ROTATION, 0, 360); in startContinuousSpin()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DOnboardingDemoFragment.java144 return ObjectAnimator.ofFloat(view, View.ALPHA, 0.0f, 1.0f).setDuration(ANIMATION_DURATION); in createFadeInAnimator()
148 return ObjectAnimator.ofFloat(view, View.ALPHA, 1.0f, 0.0f).setDuration(ANIMATION_DURATION); in createFadeOutAnimator()
DOnboardingDemoSupportFragment.java146 return ObjectAnimator.ofFloat(view, View.ALPHA, 0.0f, 1.0f).setDuration(ANIMATION_DURATION); in createFadeInAnimator()
150 return ObjectAnimator.ofFloat(view, View.ALPHA, 1.0f, 0.0f).setDuration(ANIMATION_DURATION); in createFadeOutAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDessertCaseView.java429 ObjectAnimator.ofFloat(v, View.SCALE_X, (float) scale),
430 ObjectAnimator.ofFloat(v, View.SCALE_Y, (float) scale)
437 ObjectAnimator.ofFloat(v, View.ROTATION, rot),
438 ObjectAnimator.ofFloat(v, View.X, i* mCellSize + (scale-1) * mCellSize /2),
439 ObjectAnimator.ofFloat(v, View.Y, j* mCellSize + (scale-1) * mCellSize /2)

123456