Home
last modified time | relevance | path

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

12345678

/packages/apps/Camera2/src/com/android/camera/
DAnimationManager.java60 .setDuration(AnimationManager.SLIDE_DURATION); in startCaptureAnimation()
65 .setDuration(AnimationManager.SHRINK_DURATION); in startCaptureAnimation()
91 .setDuration(AnimationManager.SHRINK_DURATION), in startCaptureAnimation()
93 .setDuration(AnimationManager.SHRINK_DURATION), in startCaptureAnimation()
96 .setDuration(AnimationManager.SHRINK_DURATION), in startCaptureAnimation()
142 mFlashAnim.setDuration(AnimationManager.FLASH_DURATION); in startFlashAnimation()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DSetupAnimationHelper.java91 public TransitionBuilder setDuration(long duration) { in setDuration() method in SetupAnimationHelper.TransitionBuilder
120 transition.setDuration(mDuration); in build()
156 animator.setDuration((long) (animator.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
174 transition.setDuration((long) (transition.getDuration() * ANIMATION_TIME_SCALE)); in applyAnimationTimeScale()
205 animator.setDuration(frames.length * 1000 / 60); in createFrameAnimatorWithDelay()
228 ObjectAnimator.ofFloat(view, View.ALPHA, 1.0f, 0.0f).setDuration(duration); in createFadeOutAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/
DPageIndicatorMarker.java72 .setDuration(MARKER_FADE_DURATION).start(); in activate()
75 .setDuration(MARKER_FADE_DURATION).start(); in activate()
90 .setDuration(MARKER_FADE_DURATION).start(); in inactivate()
95 .setDuration(MARKER_FADE_DURATION).start(); in inactivate()
DLauncherStateTransitionAnimation.java267 panelAlphaAndDrift.setDuration(revealDuration); in startAnimationToOverlay()
283 pageDrift.setDuration(revealDuration); in startAnimationToOverlay()
289 itemsAlpha.setDuration(revealDuration); in startAnimationToOverlay()
300 reveal.setDuration(revealDuration); in startAnimationToOverlay()
560 panelDriftY.setDuration(revealDuration - SINGLE_FRAME_DELAY); in startAnimationToWorkspaceFromOverlay()
567 panelDriftX.setDuration(revealDuration - SINGLE_FRAME_DELAY); in startAnimationToWorkspaceFromOverlay()
578 panelAlpha.setDuration(material ? revealDuration : 150); in startAnimationToWorkspaceFromOverlay()
591 pageDrift.setDuration(revealDuration - SINGLE_FRAME_DELAY); in startAnimationToWorkspaceFromOverlay()
598 itemsAlpha.setDuration(100); in startAnimationToWorkspaceFromOverlay()
610 reveal.setDuration(revealDuration); in startAnimationToWorkspaceFromOverlay()
[all …]
DWorkspaceStateTransitionAnimation.java356 .setDuration(duration) in animateWorkspace()
374 .setDuration(duration) in animateWorkspace()
384 bgAnim.setDuration(duration); in animateWorkspace()
434 overviewPanelAlpha.setDuration(duration); in animateWorkspace()
435 pageIndicatorAlpha.setDuration(duration); in animateWorkspace()
436 hotseatAlpha.setDuration(duration); in animateWorkspace()
501 bgFadeOutAnimation.setDuration(duration); in animateBackgroundGradient()
514 mStateAnimator.setDuration(0); in cancelAnimation()
DInterruptibleInOutAnimator.java51 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration); in InterruptibleInOutAnimator()
79 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration))); in animate()
/packages/apps/Camera2/src/com/android/camera/ui/
DCaptureAnimationOverlay.java115 flashAnim1.setDuration(SHORT_FLASH_FULL_DURATION_MS); in startFlashAnimation()
116 flashAnim2.setDuration(SHORT_FLASH_DECREASE_DURATION_MS); in startFlashAnimation()
118 flashAnim1.setDuration(FLASH_FULL_DURATION_MS); in startFlashAnimation()
119 flashAnim2.setDuration(FLASH_DECREASE_DURATION_MS); in startFlashAnimation()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java256 .setDuration(FADE_TIME) in run()
279 s.setDuration(SLIDE_TIME); in run()
281 s.play(shrink.setDuration(SLIDE_TIME/2)); in run()
282 s.play(grow.setDuration(SLIDE_TIME/2)).after(shrink); in run()
288 shrink.setDuration(FADE_TIME).setInterpolator(accel); in run()
289 fadeout.setDuration(FADE_TIME).setInterpolator(accel); in run()
290 grow.setDuration(FADE_TIME).setInterpolator(decel); in run()
291 fadein.setDuration(FADE_TIME).setInterpolator(decel); in run()
294 s.play(xMove.setDuration(0)).after(FADE_TIME); in run()
295 s.play(yMove.setDuration(0)).after(FADE_TIME); in run()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java150 .setDuration(OUT_DURATION) in animateOldContent()
157 .setDuration(OUT_DURATION) in animateOldContent()
166 .setDuration(OUT_DURATION) in animateOldContent()
205 .setDuration(IN_DURATION) in attachNewContent()
233 .setDuration(IN_DURATION) in animateNewContent()
243 .setDuration(IN_DURATION) in animateNewContent()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java250 radiusAnimator.setDuration(RADIUS_ANIMATION_TIME); in setupAnimators()
268 alphaAnimator.setDuration(SHOW_ALPHA_ANIMATION_TIME); in setupAnimators()
296 paddingAnimator.setDuration(PADDING_ANIMATION_TIME); in setupAnimators()
325 radiusAnimator.setDuration(RADIUS_ANIMATION_TIME); in setupAnimators()
348 alphaAnimator.setDuration(HIDE_ALPHA_ANIMATION_TIME); in setupAnimators()
DPeekView.java112 peekAnimateIn.setDuration(PEEK_IN_DURATION_MS); in startPeekAnimation()
113 peekAnimateStay.setDuration(PEEK_STAY_DURATION_MS); in startPeekAnimation()
114 peekAnimateOut.setDuration(PEEK_OUT_DURATION_MS); in startPeekAnimation()
/packages/apps/Contacts/src/com/android/contacts/editor/
DEditorAnimator.java60 fadeOutAnimator.setDuration(200); in removeEditorView()
109 fadeInAnimator.setDuration(200); in slideAndFadeIn()
139 fadeInAnimator.setDuration(200); in showFieldFooter()
209 translateAnimator.setDuration(duration); in translateViews()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPageBottomControls.java56 anim.setDuration(CONTROL_ANIM_DURATION_MS); in getControlAnimForVisibility()
76 mContainerAnimIn.setDuration(CONTAINER_ANIM_DURATION_MS); in PhotoPageBottomControls()
77 mContainerAnimOut.setDuration(CONTAINER_ANIM_DURATION_MS); in PhotoPageBottomControls()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java248 mPreAnimator.setDuration(PRE_DURATION_MS); in SendUi()
258 mSlowSendAnimator.setDuration(SLOW_SEND_DURATION_MS); in SendUi()
263 mFastSendAnimator.setDuration(FAST_SEND_DURATION_MS); in SendUi()
271 mScaleUpAnimator.setDuration(SCALE_UP_DURATION_MS); in SendUi()
277 mFadeInAnimator.setDuration(FADE_IN_DURATION_MS); in SendUi()
284 mHintAnimator.setDuration(TEXT_HINT_ALPHA_DURATION_MS); in SendUi()
290 mAlphaDownAnimator.setDuration(400); in SendUi()
295 mAlphaUpAnimator.setDuration(200); in SendUi()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java414 .setDuration(mOldContentsFadeOutDuration)); in setSelectedPositionSmooth()
456 .setDuration(mOldContentsFadeOutDuration)); in setSelectedPositionSmooth()
490 mFastOutLinearIn).setDuration(mCurrentContentsFadeInDuration); in setSelectedPositionSmooth()
506 .setDuration(mCurrentContentsFadeInDuration); in setSelectedPositionSmooth()
524 mFastOutLinearIn).setDuration(mCurrentContentsFadeInDuration); in setSelectedPositionSmooth()
755 animator.setDuration(mRowAnimationDuration); in createTranslationYAnimator()
764 animator.setDuration(mRowAnimationDuration); in createAlphaAnimator()
772 animator.setDuration(mRowAnimationDuration); in createAlphaAnimator()
780 animator.setDuration(mRowAnimationDuration); in createScaleXAnimator()
787 animator.setDuration(mRowAnimationDuration); in createScaleYAnimator()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DActionableToastBar.java377 .setDuration(mAnimationDuration) in popupToast()
395 .setDuration(mAnimationDuration) in popupToast()
410 .setDuration(mAnimationDuration) in pushDownToast()
429 .setDuration(mAnimationDuration) in pushDownToast()
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollEnrolling.java203 anim.setDuration(250); in animateProgress()
226 anim.setDuration(300); in animateFlash()
232 anim.setDuration(300); in animateFlash()
337 .setDuration(200) in showError()
353 .setDuration(100) in clearError()
/packages/apps/PhoneCommon/src/com/android/phone/common/animation/
DAnimUtils.java79 animator.setDuration(durationMs); in fadeOut()
117 animator.setDuration(durationMs); in fadeIn()
186 animator.setDuration(durationMs); in scaleInternal()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/wear/settings/
DExtendedViewHolder.java45 mScalingUpAnimator.setDuration(DEFAULT_ANIMATION_DURATION); in ExtendedViewHolder()
48 mScalingDownAnimator.setDuration(DEFAULT_ANIMATION_DURATION); in ExtendedViewHolder()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java148 a.setDuration(500); in updateNextPrevControls()
153 a.setDuration(500); in updateNextPrevControls()
160 a.setDuration(500); in updateNextPrevControls()
165 a.setDuration(500); in updateNextPrevControls()
175 animation.setDuration(500);
182 a.setDuration(500);
189 a.setDuration(500);
223 animation.setDuration(500);
738 animation.setDuration(500); in setMode()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoTable.java617 .setDuration(mPickUpDuration) in fadeOutBackground()
626 .setDuration(mPickUpDuration) in fadeOutBackground()
638 .setDuration(mPickUpDuration) in fadeInBackground()
651 .setDuration(mPickUpDuration) in fadeInBackground()
679 .setDuration(mPickUpDuration) in fadeAway()
733 .setDuration(mPickUpDuration) in placeOnDeck()
804 .setDuration(duration) in fling()
873 .setDuration(duration) in dropOnTable()
951 .setDuration(mPickUpDuration) in pickUp()
/packages/apps/Launcher2/src/com/android/launcher2/
DInterruptibleInOutAnimator.java49 mAnimator = LauncherAnimUtils.ofFloat(view, fromValue, toValue).setDuration(duration); in InterruptibleInOutAnimator()
77 mAnimator.setDuration(Math.max(0, Math.min(duration, mOriginalDuration))); in animate()
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java272 .setDuration(reveal.getDuration() / 3) in animateHintText()
324 reveal.setDuration(RIPPLE_DURATION); in startRipple()
328 ripple.animate().alpha(1).setDuration(RIPPLE_DURATION / 2) in startRipple()
332 ripple.animate().alpha(0).setDuration(RIPPLE_DURATION / 2) in startRipple()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/
DTransitionUtils.java49 animator.setDuration(res.getInteger(R.integer.alpha_activity_in_bkg_duration)); in createActivityFadeInAnimator()
69 animator.setDuration(res.getInteger(R.integer.alpha_activity_out_bkg_duration)); in createActivityFadeOutAnimator()
/packages/apps/TV/src/com/android/tv/ui/
DIntroView.java92 .setDuration(duration) in onStartEnterAnimation()
104 .setDuration(duration) in onStartExitAnimation()

12345678