Home
last modified time | relevance | path

Searched refs:ofFloat (Results 1 – 25 of 134) 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/opt/datetimepicker/src/com/android/datetimepicker/
DUtils.java130 Keyframe k0 = Keyframe.ofFloat(0f, 1f); in getPulseAnimator()
131 Keyframe k1 = Keyframe.ofFloat(0.275f, decreaseRatio); in getPulseAnimator()
132 Keyframe k2 = Keyframe.ofFloat(0.69f, increaseRatio); in getPulseAnimator()
133 Keyframe k3 = Keyframe.ofFloat(1f, 1f); in getPulseAnimator()
/frameworks/base/core/java/android/animation/
DKeyframeSet.java74 public static KeyframeSet ofFloat(float... values) { in ofFloat() method in KeyframeSet
79 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f); in ofFloat()
80 keyframes[1] = (FloatKeyframe) Keyframe.ofFloat(1f, values[0]); in ofFloat()
85 keyframes[0] = (FloatKeyframe) Keyframe.ofFloat(0f, values[0]); in ofFloat()
88 (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/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java94 ValueAnimator textSizeAnimator = ObjectAnimator.ofFloat(mPercentage, "textSize", in init()
101 ValueAnimator textOpacityAnimator = ObjectAnimator.ofFloat(mPercentage, "alpha", 0, 1); in init()
109 ValueAnimator textFadeAnimator = ObjectAnimator.ofFloat(mPercentage, "alpha", 1, 0); in init()
/frameworks/base/packages/SystemUI/legacy/recents/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()
DAnimated3dActivity.java45 ObjectAnimator animator = ObjectAnimator.ofFloat(view, "rotationY", 0.0f, 360.0f); in onCreate()
/frameworks/base/core/tests/coretests/src/android/animation/
DAnimatorSetEventsTest.java36 ObjectAnimator xAnim = ObjectAnimator.ofFloat(this, "translationX", 0, 100);
37 ObjectAnimator yAnim = ObjectAnimator.ofFloat(this, "translationY", 0, 100);
DValueAnimatorEventsTest.java26 mAnimator = ValueAnimator.ofFloat(0, 1); in setUp()
DObjectAnimatorEventsTest.java33 mAnimator = ObjectAnimator.ofFloat(button, "translationX", 0, 100); in setUp()
DAutoCancelTest.java52 returnVal = ObjectAnimator.ofFloat(this, properties[0], 0, 1); in setupAnimator()
56 pvhArray[i] = PropertyValuesHolder.ofFloat(properties[i], 0, 1); in setupAnimator()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java576 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 0.0f); in startWidthDisappearAnimation()
588 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 0.0f); in startTextDisappearAnimation()
600 ValueAnimator animator = ValueAnimator.ofFloat(currentDotSizeFactor, 0.0f); in startDotDisappearAnimation()
614 widthAnimator = ValueAnimator.ofFloat(currentWidthFactor, 1.0f); in startWidthAppearAnimation()
624 textAnimator = ValueAnimator.ofFloat(currentTextSizeFactor, 1.0f); in startTextAppearAnimation()
634 textTranslateAnimator = ValueAnimator.ofFloat(1.0f, 0.0f); in startTextAppearAnimation()
647 ValueAnimator overShootAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, in startDotAppearAnimation()
654 ValueAnimator settleBackAnimator = ValueAnimator.ofFloat(DOT_OVERSHOOT_FACTOR, in startDotAppearAnimation()
665 ValueAnimator growAnimator = ValueAnimator.ofFloat(currentDotSizeFactor, 1.0f); in startDotAppearAnimation()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java641 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
644 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
647 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_SCALE, 1, 1), in createReturnAnimationLocked()
648 PropertyValuesHolder.ofFloat( in createReturnAnimationLocked()
671 PropertyValuesHolder.ofFloat( in createCancelAnimationLocked()
673 PropertyValuesHolder.ofFloat( in createCancelAnimationLocked()
675 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_SCALE, 1, 0), in createCancelAnimationLocked()
676 PropertyValuesHolder.ofFloat(ANIMATED_PROPERTY_ALPHA, mOriginalAlpha, 0)); in createCancelAnimationLocked()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java207 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 1); in setupAnimatorToVisibility()
212 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); in setupAnimatorToVisibility()
222 ObjectAnimator anim = ObjectAnimator.ofFloat(this, View.ALPHA, 0); in setupAnimatorToVisibility()
227 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); in setupAnimatorToVisibility()
/frameworks/base/core/java/android/widget/
DStackView.java256 PropertyValuesHolder slideInY = PropertyValuesHolder.ofFloat("YProgress", 0.0f); in transformViewForTransition()
257 PropertyValuesHolder slideInX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
276 PropertyValuesHolder slideOutY = PropertyValuesHolder.ofFloat("YProgress", 1.0f); in transformViewForTransition()
277 PropertyValuesHolder slideOutX = PropertyValuesHolder.ofFloat("XProgress", 0.0f); in transformViewForTransition()
353 … PropertyValuesHolder translationX = PropertyValuesHolder.ofFloat("translationX", transX); in transformViewAtIndex()
354 … PropertyValuesHolder translationY = PropertyValuesHolder.ofFloat("translationY", transY); in transformViewAtIndex()
355 PropertyValuesHolder scalePropX = PropertyValuesHolder.ofFloat("scaleX", scale); in transformViewAtIndex()
356 PropertyValuesHolder scalePropY = PropertyValuesHolder.ofFloat("scaleY", scale); in transformViewAtIndex()
865 … PropertyValuesHolder snapBackY = PropertyValuesHolder.ofFloat("YProgress", finalYProgress);
866 PropertyValuesHolder snapBackX = PropertyValuesHolder.ofFloat("XProgress", 0.0f);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java134 mAnimator = ObjectAnimator.ofFloat(this, View.ROTATION, 0, 360); in startAccelSpin()
163 mAnimator = ObjectAnimator.ofFloat(this, View.ROTATION, 0, 360); in startContinuousSpin()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java221 final ObjectAnimator tweenRadius = ObjectAnimator.ofFloat(this, TWEEN_RADIUS, 1); in startSoftwareEnter()
227 final ObjectAnimator tweenOrigin = ObjectAnimator.ofFloat(this, TWEEN_ORIGIN, 1); in startSoftwareEnter()
233 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 1); in startSoftwareEnter()
241 final ObjectAnimator opacity = ObjectAnimator.ofFloat(this, OPACITY, 0); in startSoftwareExit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipMenuActivity.java358 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in showMenu()
361 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in showMenu()
363 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in showMenu()
407 ObjectAnimator menuAnim = ObjectAnimator.ofFloat(mMenuContainer, View.ALPHA, in hideMenu()
410 ObjectAnimator settingsAnim = ObjectAnimator.ofFloat(mSettingsButton, View.ALPHA, in hideMenu()
412 ObjectAnimator dismissAnim = ObjectAnimator.ofFloat(mDismissButton, View.ALPHA, in hideMenu()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFaceDialogView.java196 ValueAnimator.ofFloat(mOutlineProvider.calculateSmall(), 0); in updateSize()
205 ValueAnimator.ofFloat(iconSmallPositionY, mIconOriginalY); in updateSize()
213 ValueAnimator.ofFloat(dpToPixels(TEXT_ANIMATE_DISTANCE), 0); in updateSize()
221 final ValueAnimator opacityAnimator = ValueAnimator.ofFloat(0, 1); in updateSize()
/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)
/frameworks/base/core/java/android/transition/
DRotate.java55 return ObjectAnimator.ofFloat(view, View.ROTATION, in createAnimator()
DCrossfade.java214 anim1 = ObjectAnimator.ofFloat(view, View.ALPHA, 0, 0, 1); in createAnimator()
216 anim1 = ObjectAnimator.ofFloat(view, View.ALPHA, 0, 1); in createAnimator()

123456