Home
last modified time | relevance | path

Searched refs:setDuration (Results 1 – 25 of 247) sorted by relevance

12345678910

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/
DDismissAnimationsHolder.java64 .setDuration(mShortDuration) in startEnterAnimation()
75 .setDuration(mShortDuration) in startEnterAnimation()
80 .setDuration(mShortDuration) in startEnterAnimation()
86 .setDuration(mShortDuration) in startEnterAnimation()
94 .setDuration(mShortDuration) in startExitAnimation()
105 .setDuration(mShortDuration) in startExitAnimation()
110 .setDuration(mShortDuration) in startExitAnimation()
116 .setDuration(mShortDuration) in startExitAnimation()
124 .setDuration(mShortDuration) in startDismissAnimation()
135 .setDuration(mShortDuration) in startDismissAnimation()
[all …]
DRecentsRowFocusAnimationHolder.java50 mFocusGainAnimatorSet.setDuration(duration); in RecentsRowFocusAnimationHolder()
59 mFocusLossAnimatorSet.setDuration(duration); in RecentsRowFocusAnimationHolder()
/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java89 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
91 .setDuration(PRESSED_ANIM_DURATION)); in onElevationsChanged()
97 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
99 .setDuration(PRESSED_ANIM_DURATION)); in onElevationsChanged()
109 .setDuration(PRESSED_ANIM_DURATION)) 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/tests/Assist/src/com/android/test/assist/
DAssistInteractionSession.java128 .setDuration(500); in playAssistAnimation()
132 .setDuration(300) in playAssistAnimation()
139 animator.setDuration(300); in playAssistAnimation()
144 colorAnim.setDuration(300); in playAssistAnimation()
159 .setDuration(500) in playAssistAnimation()
166 .setDuration(500); in playAssistAnimation()
171 .setDuration(500) in playAssistAnimation()
/frameworks/base/graphics/java/android/graphics/drawable/
DRippleForeground.java175 tweenRadius.setDuration(duration); in createSoftwareEnter()
181 tweenOrigin.setDuration(duration); in createSoftwareEnter()
187 opacity.setDuration(OPACITY_ENTER_DURATION_FAST); in createSoftwareEnter()
246 tweenRadius.setDuration(radiusDuration); in createSoftwareExit()
251 tweenOrigin.setDuration(originDuration); in createSoftwareExit()
256 opacity.setDuration(opacityDuration); in createSoftwareExit()
295 radius.setDuration(radiusDuration); in createHardwareExit()
299 x.setDuration(originDuration); in createHardwareExit()
303 y.setDuration(originDuration); in createHardwareExit()
308 opacity.setDuration(opacityDuration); in createHardwareExit()
DRippleBackground.java96 opacity.setDuration(duration); in createSoftwareEnter()
109 exit.setDuration(OPACITY_EXIT_DURATION); in createSoftwareExit()
120 enter.setDuration(fastEnterDuration); in createSoftwareExit()
149 exit.setDuration(OPACITY_EXIT_DURATION); in createHardwareExit()
161 enter.setDuration(fastEnterDuration); in createHardwareExit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistOrbContainer.java102 .setDuration(300) in startEnterAnimation()
107 .setDuration(300) in startEnterAnimation()
125 .setDuration(250) in startExitAnimation()
130 .setDuration(250) in startExitAnimation()
/frameworks/support/compat/tests/java/android/support/v4/view/
DViewPropertyAnimatorCompatTest.java58 ViewCompat.animate(mView).alpha(0).setDuration(100).withEndAction(new Runnable() { in testWithEndAction()
74 ViewCompat.animate(mView).alpha(0).setDuration(50).withEndAction(new Runnable() { in testWithEndAction()
94 ViewCompat.animate(mView).alpha(0).setDuration(100).withStartAction(new Runnable() { in testWithStartAction()
110 ViewCompat.animate(mView).alpha(0).setDuration(50).withStartAction(new Runnable() { in testWithStartAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java132 .setDuration(scaledDuration(300)) in startShowAnimation()
147 .setDuration(scaledDuration(400)); in startShowAnimation()
176 .setDuration(scaledDuration(150)) in startShowAnimation()
181 .setDuration(scaledDuration(250)); in startShowAnimation()
189 .setDuration(scaledDuration(150)) in startShowAnimation()
212 .setDuration(scaledDuration(250)) in startDismiss()
/frameworks/support/design/base/android/support/design/widget/
DValueAnimatorCompat.java105 abstract void setDuration(long duration); in setDuration() method in ValueAnimatorCompat.Impl
182 public void setDuration(long duration) { in setDuration() method in ValueAnimatorCompat
183 mImpl.setDuration(duration); in setDuration()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DColorFiltersMutateActivity.java74 sat.setDuration(1000); in BitmapsView()
81 light.setDuration(1000); in BitmapsView()
88 mult.setDuration(1000); in BitmapsView()
95 color.setDuration(1000); in BitmapsView()
DViewLayersActivity.java55 moveRight.setDuration(1500); in onCreate()
61 moveLeft.setDuration(1500); in onCreate()
67 rotate.setDuration(3000); in onCreate()
/frameworks/support/design/src/android/support/design/widget/
DSnackbar.java222 snackbar.setDuration(duration); in make()
367 public Snackbar setDuration(@Duration int duration) { in setDuration() method in Snackbar
540 .setDuration(ANIMATION_DURATION) in animateViewIn()
557 anim.setDuration(ANIMATION_DURATION); in animateViewIn()
579 .setDuration(ANIMATION_DURATION) in animateViewOut()
595 anim.setDuration(ANIMATION_DURATION); in animateViewOut()
773 ViewCompat.animate(mMessageView).alpha(1f).setDuration(duration) in animateChildrenIn()
778 ViewCompat.animate(mActionView).alpha(1f).setDuration(duration) in animateChildrenIn()
785 ViewCompat.animate(mMessageView).alpha(0f).setDuration(duration) in animateChildrenOut()
790 ViewCompat.animate(mActionView).alpha(0f).setDuration(duration) in animateChildrenOut()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java55 a1 = ValueAnimator.ofFloat(A1_START_VALUE, A1_END_VALUE).setDuration(300); in setUp()
56 a2 = ValueAnimator.ofInt(A2_START_VALUE, A2_END_VALUE).setDuration(500); in setUp()
352 a1.setDuration(1000); in testResume()
571 final ValueAnimator a0 = ValueAnimator.ofInt(100, 200).setDuration(500);
572 final ValueAnimator a3 = ValueAnimator.ofFloat(0, 1).setDuration(500);
573 final ValueAnimator a4 = ValueAnimator.ofInt(200, 300).setDuration(500);
636 a1.setDuration(1000);
637 a2.setDuration(1000);
881 a1.setDuration(0);
882 a2.setDuration(0);
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DFlingAnimationUtils.java103 animator.setDuration(properties.duration); in apply()
122 animator.setDuration(properties.duration); in apply()
170 animator.setDuration(properties.duration); in applyDismissing()
190 animator.setDuration(properties.duration); in applyDismissing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DSettingsButton.java104 .setDuration(RUN_DURATION) in startExitAnimation()
135 mAnimator.setDuration(ACCEL_LENGTH); in startAccelSpin()
163 mAnimator.setDuration(FULL_SPEED_LENGTH); in startContinuousSpin()
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/cards/presenters/
DIconCardPresenter.java54 ObjectAnimator.ofInt(drawable, "alpha", 0, 255).setDuration(ANIMATION_DURATION).start(); in animateIconBackground()
56 ObjectAnimator.ofInt(drawable, "alpha", 255, 0).setDuration(ANIMATION_DURATION).start(); in animateIconBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java219 scaleAnimator.setDuration(ANIMATION_DURATION_SCALE); in enterSoftware()
228 alphaAnimator.setDuration(ANIMATION_DURATION_FADE); in exitSoftware()
289 startAnim.setDuration(ANIMATION_DURATION_SCALE); in enterHardware()
297 endAnim.setDuration(ANIMATION_DURATION_SCALE); in enterHardware()
332 opacityAnim.setDuration(ANIMATION_DURATION_FADE); in exitHardware()
/frameworks/base/tests/RenderThreadTest/src/com/example/renderthread/
DSubActivity.java48 child.animate().translationX(0).setDuration(MainActivity.DURATION); in onResume()
52 bg.animate().alpha(1f).setDuration(MainActivity.DURATION); in onResume()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPasswordTextView.java571 widthAnimator.setDuration((long) (DISAPPEAR_DURATION * currentWidthFactor)); in startWidthDisappearAnimation()
583 textAnimator.setDuration((long) (DISAPPEAR_DURATION * currentTextSizeFactor)); in startTextDisappearAnimation()
596 animator.setDuration(duration); in startDotDisappearAnimation()
608 widthAnimator.setDuration((long) (APPEAR_DURATION * (1f - currentWidthFactor))); in startWidthAppearAnimation()
619 textAnimator.setDuration((long) (APPEAR_DURATION * (1f - currentTextSizeFactor))); in startTextAppearAnimation()
629 textTranslateAnimator.setDuration(APPEAR_DURATION); in startTextAppearAnimation()
644 overShootAnimator.setDuration(overShootDuration); in startDotAppearAnimation()
648 settleBackAnimator.setDuration(DOT_APPEAR_DURATION_OVERSHOOT - overShootDuration); in startDotAppearAnimation()
658 growAnimator.setDuration((long) (APPEAR_DURATION * (1.0f - currentDotSizeFactor))); in startDotAppearAnimation()
/frameworks/support/transition/ics/android/support/transition/
DTransitionSetPort.java78 transition.setDuration(mDuration); in addTransition()
92 public TransitionSetPort setDuration(long duration) { in setDuration() method in TransitionSetPort
93 super.setDuration(duration); in setDuration()
97 mTransitions.get(i).setDuration(duration); in setDuration()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DSystemBarScrimViews.java97 .setDuration(animation.getDuration(AnimationProps.BOUNDS)) in animateNavBarScrimVisibility()
121 .setDuration(AnimationProps.BOUNDS, mNavBarScrimEnterDuration) in onBusEvent()
191 .setDuration(AnimationProps.BOUNDS, duration) in createBoundsAnimation()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DCrossfadeMultiple.java63 mCrossfadeGroup.setDuration(300); in onCreate()
69 inOut.setDuration(300); in onCreate()
73 changeBounds.setDuration(0); in onCreate()
/frameworks/support/design/honeycomb-mr1/android/support/design/widget/
DValueAnimatorCompatImplHoneycombMr1.java98 public void setDuration(long duration) { in setDuration() method in ValueAnimatorCompatImplHoneycombMr1
99 mValueAnimator.setDuration(duration); in setDuration()

12345678910