Home
last modified time | relevance | path

Searched refs:getAnimatedValue (Results 1 – 25 of 69) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java453 float value1 = (Float) a1.getAnimatedValue();
454 int value2 = (Integer) a2.getAnimatedValue();
485 assertNotEqual(A1_END_VALUE, a1.getAnimatedValue());
486 assertNotEqual(A1_END_VALUE, a2.getAnimatedValue());
505 assertEquals(A1_END_VALUE, ((Float) (a1.getAnimatedValue())).floatValue());
506 assertEquals(A2_END_VALUE, ((Integer) (a2.getAnimatedValue())).intValue());
910 assertEquals(A1_END_VALUE, a1.getAnimatedValue());
911 assertEquals(A2_START_VALUE, a2.getAnimatedValue());
928 assertEquals(A1_END_VALUE, a1.getAnimatedValue());
929 assertEquals(A2_START_VALUE, a2.getAnimatedValue());
[all …]
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DResizeHWLayerActivity.java52 params.width = (Integer)valueAnimator.getAnimatedValue("width"); in onCreate()
53 params.height = (Integer)valueAnimator.getAnimatedValue("height"); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationDozeHelper.java38 updateGrayscale(target, (float) animation.getAnimatedValue()); in fadeGrayscale()
81 startIntensityAnimation(a -> listener.accept((Float) a.getAnimatedValue()), dark, delay, in setIntensityDark()
DNotificationIconDozeHelper.java66 updateImageColorFilter(target, (Float) animation.getAnimatedValue()); in fadeImageColorFilter()
72 float t = (float) animation.getAnimatedValue(); in fadeImageAlpha()
DNotificationCustomViewWrapper.java71 getDozer().updateGrayscaleMatrix((float) animation.getAnimatedValue()); in fadeGrayscale()
DPropertyAnimator.java74 animation -> property.set(view, (Float) animation.getAnimatedValue())); in startAnimation()
/frameworks/base/core/java/android/animation/
DPropertyValuesHolder.java962 mProperty.set(target, getAnimatedValue()); in setAnimatedValue()
966 mTmpValueArray[0] = getAnimatedValue(); in setAnimatedValue()
1069 Object getAnimatedValue() { in getAnimatedValue() method in PropertyValuesHolder
1211 Object getAnimatedValue() { in getAnimatedValue() method in PropertyValuesHolder.IntPropertyValuesHolder
1358 Object getAnimatedValue() { in getAnimatedValue() method in PropertyValuesHolder.FloatPropertyValuesHolder
1475 float[] values = (float[]) getAnimatedValue(); in setAnimatedValue()
1528 float[] values = (float[]) getAnimatedValue(); in setupSetter()
1582 int[] values = (int[]) getAnimatedValue(); in setAnimatedValue()
1635 int[] values = (int[]) getAnimatedValue(); in setupSetter()
DValueAnimator.java822 public Object getAnimatedValue() { in getAnimatedValue() method in ValueAnimator
824 return mValues[0].getAnimatedValue(); in getAnimatedValue()
840 public Object getAnimatedValue(String propertyName) { in getAnimatedValue() method in ValueAnimator
843 return valuesHolder.getAnimatedValue(); in getAnimatedValue()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DFastScroller.java234 mShowHideAnimator.setFloatValues((float) mShowHideAnimator.getAnimatedValue(), 1); in show()
254 mShowHideAnimator.setFloatValues((float) mShowHideAnimator.getAnimatedValue(), 0); in hide()
561 if ((float) mShowHideAnimator.getAnimatedValue() == 0) { in onAnimationEnd()
580 int alpha = (int) (SCROLLBAR_FULL_OPAQUE * ((float) valueAnimator.getAnimatedValue())); in onAnimationUpdate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistDisclosure.java233 mAlpha = (int) mAlphaOutAnimator.getAnimatedValue(); in onAnimationUpdate()
235 mAlpha = (int) mAlphaInAnimator.getAnimatedValue(); in onAnimationUpdate()
DAssistOrbView.java63 applyCircleSize((float) animation.getAnimatedValue());
77 mOffset = (float) animation.getAnimatedValue();
/frameworks/support/transition/tests/src/android/support/transition/
DVisibilityTest.java90 assertThat((float) animator.getAnimatedValue(), is(0.25f)); in testCustomVisibility()
112 assertThat((float) animator.getAnimatedValue(), is(0.25f)); in testCustomVisibility2()
/frameworks/support/v17/leanback/kitkat/android/support/v17/leanback/transition/
DScale.java66 final float scale = (Float) animation.getAnimatedValue(); in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DExpandableViewState.java267 child.setActualHeight((int) animation.getAnimatedValue(), in startHeightAnimation()
349 child.setShadowAlpha((float) animation.getAnimatedValue()); in startShadowAlphaAnimation()
411 child.setClipTopAmount((int) animation.getAnimatedValue()); in startInsetAnimation()
/frameworks/base/core/java/android/transition/
DChangeText.java217 int currAlpha = (Integer) animation.getAnimatedValue(); in createAnimator()
243 int currAlpha = (Integer) animation.getAnimatedValue(); in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DTrustDrawable.java255 mCurAlpha = (int) animation.getAnimatedValue();
264 mCurInnerRadius = (float) animation.getAnimatedValue();
/frameworks/support/samples/SupportTransitionDemos/src/com/example/android/support/transition/widget/
DChangeColor.java99 Object value = animation.getAnimatedValue(); in createAnimator()
/frameworks/support/design/src/android/support/design/internal/
DTextScale.java78 float animatedValue = (float) valueAnimator.getAnimatedValue(); in createAnimator()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java410 currentDotSizeFactor = (float) animation.getAnimatedValue();
419 currentTextSizeFactor = (float) animation.getAnimatedValue();
428 currentTextTranslationY = (float) animation.getAnimatedValue();
437 currentWidthFactor = (float) animation.getAnimatedValue();
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java140 final float v = (Float) mChevronPositionAnimator.getAnimatedValue(); in startShowAnimation()
176 float v = (Float) animation.getAnimatedValue(); in startShowAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java399 mCircleRadius = (float) animation.getAnimatedValue(); in getAnimatorToRadius()
439 mImageScale = (float) animation.getAnimatedValue(); in setImageScale()
501 int alpha = (int) animation.getAnimatedValue(); in setImageAlpha()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DPlaybackOverlaySupportFragment.java437 setBgAlpha((Integer) arg0.getAnimatedValue()); in loadBgAnimator()
480 final float fraction = (Float) arg0.getAnimatedValue(); in loadControlRowAnimator()
523 final float fraction = (Float) arg0.getAnimatedValue(); in loadOtherRowAnimator()
559 vh.view.setAlpha((Float) arg0.getAnimatedValue()); in loadDescriptionAnimator()
DPlaybackOverlayFragment.java434 setBgAlpha((Integer) arg0.getAnimatedValue()); in loadBgAnimator()
477 final float fraction = (Float) arg0.getAnimatedValue(); in loadControlRowAnimator()
520 final float fraction = (Float) arg0.getAnimatedValue(); in loadOtherRowAnimator()
556 vh.view.setAlpha((Float) arg0.getAnimatedValue()); in loadDescriptionAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DViewInvertHelper.java70 updateInvertPaint((Float) animation.getAnimatedValue()); in fade()
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DTileDrawable.java59 setAlpha((Integer) animation.getAnimatedValue()); in TileDrawable()

123