Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/support/design/lollipop/android/support/design/widget/
DFloatingActionButtonLollipop.java106 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
108 .setDuration(PRESSED_ANIM_DURATION)); in onElevationsChanged()
114 set.play(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)) in onElevationsChanged()
116 .setDuration(PRESSED_ANIM_DURATION)); in onElevationsChanged()
123 animators.add(ObjectAnimator.ofFloat(mView, "elevation", elevation).setDuration(0)); in onElevationsChanged()
130 mView.getTranslationZ()).setDuration(PRESSED_ANIM_DELAY)); in onElevationsChanged()
133 .setDuration(PRESSED_ANIM_DURATION)); in onElevationsChanged()
140 set.play(ObjectAnimator.ofFloat(mView, "elevation", 0f).setDuration(0)) in onElevationsChanged()
141 .with(ObjectAnimator.ofFloat(mView, View.TRANSLATION_Z, 0f).setDuration(0)); in onElevationsChanged()
DViewUtilsLollipop.java66 ObjectAnimator.ofFloat(view, "elevation", 0f).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
70 ObjectAnimator.ofFloat(view, "elevation", elevation).setDuration(dur)); in setDefaultAppBarLayoutStateListAnimator()
74 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/design/tests/src/android/support/design/widget/
DCustomSnackbarTest.java102 content.animate().alpha(1f).setDuration(duration) in makeCustomSnackbar()
109 content.animate().alpha(0f).setDuration(duration) in makeCustomSnackbar()
125 .setSubtitle(SUBTITLE_TEXT).setDuration(Snackbar.LENGTH_SHORT), in testBasicContent()
131 .setSubtitle(SUBTITLE_TEXT).setDuration(Snackbar.LENGTH_LONG), in testBasicContent()
137 .setSubtitle(SUBTITLE_TEXT).setDuration(Snackbar.LENGTH_INDEFINITE), in testBasicContent()
148 .setSubtitle(SUBTITLE_TEXT).setDuration(length) in verifyDismissCallback()
246 .setSubtitle("Different subtitle").setDuration(Snackbar.LENGTH_SHORT); in testDismissViaAnotherSnackbar()
270 .setSubtitle(SUBTITLE_TEXT).setDuration(Snackbar.LENGTH_INDEFINITE); in testMultipleCallbacks()
/frameworks/support/compat/tests/java/android/support/v4/view/
DViewPropertyAnimatorCompatTest.java57 ViewCompat.animate(mView).alpha(0).setDuration(100).withEndAction(new Runnable() { in testWithEndAction()
73 ViewCompat.animate(mView).alpha(0).setDuration(50).withEndAction(new Runnable() { in testWithEndAction()
93 ViewCompat.animate(mView).alpha(0).setDuration(100).withStartAction(new Runnable() { in testWithStartAction()
109 ViewCompat.animate(mView).alpha(0).setDuration(50).withStartAction(new Runnable() { in testWithStartAction()
/frameworks/support/design/src/android/support/design/internal/
DSnackbarContentLayout.java135 mMessageView.animate().alpha(1f).setDuration(duration) in animateContentIn()
140 mActionView.animate().alpha(1f).setDuration(duration) in animateContentIn()
148 mMessageView.animate().alpha(0f).setDuration(duration) in animateContentOut()
153 mActionView.animate().alpha(0f).setDuration(duration) in animateContentOut()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogMotion.java133 .setDuration(scaledDuration(300)) in startShowAnimation()
157 .setDuration(scaledDuration(400)); in startShowAnimation()
186 .setDuration(scaledDuration(150)) in startShowAnimation()
191 .setDuration(scaledDuration(250)); in startShowAnimation()
199 .setDuration(scaledDuration(150)) in startShowAnimation()
222 .setDuration(scaledDuration(250)) in startDismiss()
/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/transition/tests/src/android/support/transition/
DTransitionManagerTest.java100 transition.setDuration(0); in testGo_transitionListenerStart()
117 transition.setDuration(0); in testGo_transitionListenerEnd()
145 transition.setDuration(30000); in testEndTransitions()
168 transition.setDuration(0); in testEndTransitionsBeforeStarted()
/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/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/v17/leanback/src/android/support/v17/leanback/widget/
DMediaNowPlayingView.java68 mObjectAnimator1.setDuration(2320); in MediaNowPlayingView()
77 mObjectAnimator2.setDuration(2080); in MediaNowPlayingView()
85 mObjectAnimator3.setDuration(2000); in MediaNowPlayingView()
/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/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/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java239 scaleAnimator.setDuration(ANIMATION_DURATION_SCALE); in enterSoftware()
248 alphaAnimator.setDuration(ANIMATION_DURATION_FADE); in exitSoftware()
309 startAnim.setDuration(ANIMATION_DURATION_SCALE); in enterHardware()
317 endAnim.setDuration(ANIMATION_DURATION_SCALE); in enterHardware()
352 opacityAnim.setDuration(ANIMATION_DURATION_FADE); in exitHardware()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DTaskStackAnimationHelper.java312 .setDuration(AnimationProps.BOUNDS, 150) in startEnterAnimation()
313 .setDuration(AnimationProps.ALPHA, 150); in startEnterAnimation()
321 … .setDuration(AnimationProps.BOUNDS, ENTER_FROM_HOME_TRANSLATION_DURATION) in startEnterAnimation()
322 .setDuration(AnimationProps.ALPHA, ENTER_FROM_HOME_ALPHA_DURATION); in startEnterAnimation()
332 .setDuration(AnimationProps.BOUNDS, dockGestureAnimDuration + in startEnterAnimation()
377 .setDuration(AnimationProps.BOUNDS, EXIT_TO_HOME_TRANSLATION_DURATION) in startExitToHomeAnimation()
396 .setDuration(AnimationProps.ALPHA, EXIT_TO_HOME_TRANSLATION_DURATION); in startExitToHomeAnimation()
573 .setDuration(AnimationProps.BOUNDS, duration) in startScrollToFocusedTaskAnimation()
662 .setDuration(AnimationProps.BOUNDS, duration) in startNewStackScrollAnimation()
684 deleteTaskView.animate().setDuration(300).scaleX(0.9f).scaleY(0.9f).alpha(0).setListener( in startTaskGridDeleteTaskAnimation()
[all …]
DAnimationProps.java98 setDuration(ALL, duration); in AnimationProps()
122 animator.setDuration(getDuration(propertyType)); in apply()
155 public AnimationProps setDuration(@PropType int propertyType, int duration) { in setDuration() method in AnimationProps
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/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java545 widthAnimator.setDuration((long) (DISAPPEAR_DURATION * currentWidthFactor)); in startWidthDisappearAnimation()
557 textAnimator.setDuration((long) (DISAPPEAR_DURATION * currentTextSizeFactor)); in startTextDisappearAnimation()
570 animator.setDuration(duration); in startDotDisappearAnimation()
582 widthAnimator.setDuration((long) (APPEAR_DURATION * (1f - currentWidthFactor))); in startWidthAppearAnimation()
593 textAnimator.setDuration((long) (APPEAR_DURATION * (1f - currentTextSizeFactor))); in startTextAppearAnimation()
603 textTranslateAnimator.setDuration(APPEAR_DURATION); in startTextAppearAnimation()
618 overShootAnimator.setDuration(overShootDuration); in startDotAppearAnimation()
622 settleBackAnimator.setDuration(DOT_APPEAR_DURATION_OVERSHOOT - overShootDuration); in startDotAppearAnimation()
632 growAnimator.setDuration((long) (APPEAR_DURATION * (1.0f - currentDotSizeFactor))); in startDotAppearAnimation()
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
DCustomSnackbarUsage.java54 content.animate().alpha(1f).setDuration(duration) in show()
61 content.animate().alpha(0f).setDuration(duration) in show()
/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()

12345678910>>...13