Home
last modified time | relevance | path

Searched refs:anim (Results 1 – 25 of 78) sorted by relevance

1234

/packages/apps/Launcher2/src/com/android/launcher2/
DLauncherAnimUtils.java88 AnimatorSet anim = new AnimatorSet(); in createAnimatorSet() local
89 cancelOnDestroyActivity(anim); in createAnimatorSet()
90 return anim; in createAnimatorSet()
94 ValueAnimator anim = new ValueAnimator(); in ofFloat() local
95 anim.setFloatValues(values); in ofFloat()
96 cancelOnDestroyActivity(anim); in ofFloat()
97 return anim; in ofFloat()
101 ObjectAnimator anim = new ObjectAnimator(); in ofFloat() local
102 anim.setTarget(target); in ofFloat()
103 anim.setPropertyName(propertyName); in ofFloat()
[all …]
DSearchDropTargetBar.java82 private void setupAnimation(ObjectAnimator anim, final View v) { in setupAnimation() argument
83 anim.setInterpolator(sAccelerateInterpolator); in setupAnimation()
84 anim.setDuration(sTransitionInDuration); in setupAnimation()
85 anim.addListener(new AnimatorListenerAdapter() { in setupAnimation()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java88 AnimatorSet anim = new AnimatorSet(); in createAnimatorSet() local
89 cancelOnDestroyActivity(anim); in createAnimatorSet()
90 return anim; in createAnimatorSet()
94 ValueAnimator anim = new ValueAnimator(); in ofFloat() local
95 anim.setFloatValues(values); in ofFloat()
96 cancelOnDestroyActivity(anim); in ofFloat()
97 return anim; in ofFloat()
101 ObjectAnimator anim = new ObjectAnimator(); in ofFloat() local
102 anim.setTarget(target); in ofFloat()
103 anim.setPropertyName(propertyName); in ofFloat()
[all …]
DPagedView.java1833 AnimatorSet anim = (AnimatorSet) v.getTag(ANIM_TAG_KEY); in onTouchEvent()
1834 if (anim != null) { in onTouchEvent()
1835 anim.cancel(); in onTouchEvent()
1839 anim = new AnimatorSet(); in onTouchEvent()
1840 anim.setDuration(REORDERING_REORDER_REPOSITION_DURATION); in onTouchEvent()
1841 anim.playTogether( in onTouchEvent()
1843 anim.start(); in onTouchEvent()
1844 v.setTag(anim); in onTouchEvent()
2441 AnimatorSet anim = new AnimatorSet(); in animateDragViewToOriginalPosition() local
2442 anim.setDuration(REORDERING_DROP_REPOSITION_DURATION); in animateDragViewToOriginalPosition()
[all …]
DSearchDropTargetBar.java88 private void setupAnimation(ObjectAnimator anim, final View v) { in setupAnimation() argument
89 anim.setInterpolator(sAccelerateInterpolator); in setupAnimation()
90 anim.setDuration(sTransitionInDuration); in setupAnimation()
91 anim.addListener(new AnimatorListenerAdapter() { in setupAnimation()
DWorkspace.java2128 AnimatorSet anim = animated ? LauncherAnimUtils.createAnimatorSet() : null; in getChangeStateAnimation() local
2228 anim.setDuration(duration); in getChangeStateAnimation()
2234 anim.play(scale); in getChangeStateAnimation()
2248 anim.play(alphaAnim); in getChangeStateAnimation()
2262 anim.play(bgAnim); in getChangeStateAnimation()
2299 anim.play(overviewPanelAlpha); in getChangeStateAnimation()
2300 anim.play(hotseatAlpha); in getChangeStateAnimation()
2301 anim.play(searchBarAlpha); in getChangeStateAnimation()
2302 anim.play(pageIndicatorAlpha); in getChangeStateAnimation()
2303 anim.setStartDelay(delay); in getChangeStateAnimation()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/multiwaveview/
DTweener.java40 public Tweener(ObjectAnimator anim) { in Tweener() argument
41 animator = anim; in Tweener()
101 ObjectAnimator anim = null; in to() local
103 anim = ObjectAnimator.ofPropertyValuesHolder(object, in to()
105 tween = new Tweener(anim); in to()
109 anim = sTweens.get(object).animator; in to()
114 anim.setInterpolator(interpolator); in to()
118 anim.setStartDelay(delay); in to()
119 anim.setDuration(duration); in to()
121 anim.removeAllUpdateListeners(); // There should be only one in to()
[all …]
DGlowPadView.java133 Tweener anim = get(i); in start() local
134 anim.animator.start(); in start()
141 Tweener anim = get(i); in cancel() local
142 anim.animator.cancel(); in cancel()
150 Tweener anim = get(i); in stop() local
151 anim.animator.end(); in stop()
/packages/apps/InCallUI/src/com/android/incallui/widget/multiwaveview/
DTweener.java40 public Tweener(ObjectAnimator anim) { in Tweener() argument
41 animator = anim; in Tweener()
101 ObjectAnimator anim = null; in to() local
103 anim = ObjectAnimator.ofPropertyValuesHolder(object, in to()
105 tween = new Tweener(anim); in to()
109 anim = sTweens.get(object).animator; in to()
114 anim.setInterpolator(interpolator); in to()
118 anim.setStartDelay(delay); in to()
119 anim.setDuration(duration); in to()
121 anim.removeAllUpdateListeners(); // There should be only one in to()
[all …]
DGlowPadView.java135 Tweener anim = get(i); in start() local
136 anim.animator.start(); in start()
143 Tweener anim = get(i); in cancel() local
144 anim.animator.cancel(); in cancel()
152 Tweener anim = get(i); in stop() local
153 anim.animator.end(); in stop()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DSwipeHelper.java116 ObjectAnimator anim = ObjectAnimator.ofFloat(v, in createTranslationAnimation() local
118 return anim; in createTranslationAnimation()
122 ObjectAnimator anim = createTranslationAnimation(v, newPos); in createDismissAnimation() local
123 anim.setInterpolator(sDecelerateInterpolator); in createDismissAnimation()
124 anim.setDuration(duration); in createDismissAnimation()
125 return anim; in createDismissAnimation()
273 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); in dismissChild() local
274 anim.addListener(new AnimatorListenerAdapter() { in dismissChild()
281 anim.addUpdateListener(new AnimatorUpdateListener() { in dismissChild()
290 anim.start(); in dismissChild()
[all …]
/packages/apps/Dialer/src/com/android/dialer/list/
DSwipeHelper.java138 ObjectAnimator anim = ObjectAnimator.ofFloat(v, in createTranslationAnimation() local
140 return anim; in createTranslationAnimation()
144 ObjectAnimator anim = createTranslationAnimation(v, newPos); in createDismissAnimation() local
145 anim.setInterpolator(sLinearInterpolator); in createDismissAnimation()
146 anim.setDuration(duration); in createDismissAnimation()
147 return anim; in createDismissAnimation()
280 ObjectAnimator anim = createDismissAnimation(animView, newPos, duration); in dismissChild() local
281 anim.addListener(new AnimatorListenerAdapter() { in dismissChild()
288 anim.addUpdateListener(new AnimatorUpdateListener() { in dismissChild()
297 anim.start(); in dismissChild()
[all …]
/packages/apps/Browser/src/com/android/browser/view/
DPieMenu.java217 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in animateOpen() local
218 anim.addUpdateListener(new AnimatorUpdateListener() { in animateOpen()
228 anim.setDuration(2*ANIMATION); in animateOpen()
229 anim.start(); in animateOpen()
487 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in animateOut() local
488 anim.addUpdateListener(new AnimatorUpdateListener() { in animateOut()
500 anim.setDuration(ANIMATION); in animateOut()
501 anim.addListener(listener); in animateOut()
502 anim.start(); in animateOut()
508 ValueAnimator anim = ValueAnimator.ofFloat(0, 1); in animateIn() local
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLView.java23 import com.android.gallery3d.anim.CanvasAnimation;
24 import com.android.gallery3d.anim.StateTransitionAnimation;
276 CanvasAnimation anim = component.mAnimation; in renderChild() local
277 if (anim != null) { in renderChild()
278 canvas.save(anim.getCanvasSaveFlags()); in renderChild()
279 if (anim.calculate(AnimationTime.get())) { in renderChild()
284 anim.apply(canvas); in renderChild()
287 if (anim != null) canvas.restore(); in renderChild()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPhotoSelectionActivity.java343 ObjectAnimator anim = ObjectAnimator.ofPropertyValuesHolder(mPhotoView, in displayPhoto()
347 anim.addListener(mAnimationListener); in displayPhoto()
349 anim.start(); in displayPhoto()
418 ObjectAnimator anim = ObjectAnimator.ofFloat( in closePhotoAndFinish()
420 anim.addListener(new AnimatorListenerAdapter() { in closePhotoAndFinish()
426 anim.start(); in closePhotoAndFinish()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DTrimControllerOverlay.java56 ObjectAnimator anim = ObjectAnimator.ofFloat(mPlayPauseReplayView, "alpha", 1f, 0f); in showPlaying() local
57 anim.setDuration(200); in showPlaying()
58 anim.start(); in showPlaying()
59 anim.addListener(new AnimatorListener() { in showPlaying()
DPhotoPageBottomControls.java54 Animation anim = visible ? new AlphaAnimation(0f, 1f) in getControlAnimForVisibility() local
56 anim.setDuration(CONTROL_ANIM_DURATION_MS); in getControlAnimForVisibility()
57 return anim; in getControlAnimForVisibility()
/packages/apps/Browser/src/com/android/browser/
DTitleBar.java316 getContext(), R.anim.autologin_enter)); in showAutoLogin()
327 Animation anim = AnimationUtils.loadAnimation(getContext(), in hideAutoLogin() local
328 R.anim.autologin_exit); in hideAutoLogin()
329 anim.setAnimationListener(new AnimationListener() { in hideAutoLogin()
344 mAutoLogin.startAnimation(anim); in hideAutoLogin()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DIndicatorControlBarContainer.java46 context, R.anim.first_level_fade_in); in IndicatorControlBarContainer()
48 context, R.anim.first_level_fade_out); in IndicatorControlBarContainer()
51 context, R.anim.second_level_fade_in); in IndicatorControlBarContainer()
53 context, R.anim.second_level_fade_out); in IndicatorControlBarContainer()
DAbstractIndicatorButton.java47 mFadeIn = AnimationUtils.loadAnimation(context, R.anim.setting_popup_grow_fade_in); in AbstractIndicatorButton()
48 mFadeOut = AnimationUtils.loadAnimation(context, R.anim.setting_popup_shrink_fade_out); in AbstractIndicatorButton()
/packages/apps/Gallery2/src/com/android/photos/
DMultiSelectGridFragment.java241 getActivity(), android.R.anim.fade_out)); in setGridShown()
243 getActivity(), android.R.anim.fade_in)); in setGridShown()
253 getActivity(), android.R.anim.fade_in)); in setGridShown()
255 getActivity(), android.R.anim.fade_out)); in setGridShown()
/packages/apps/Calendar/src/com/android/calendar/
DDayFragment.java92 mInAnimationForward = AnimationUtils.loadAnimation(context, R.anim.slide_left_in); in onCreate()
93 mOutAnimationForward = AnimationUtils.loadAnimation(context, R.anim.slide_left_out); in onCreate()
94 mInAnimationBackward = AnimationUtils.loadAnimation(context, R.anim.slide_right_in); in onCreate()
95 mOutAnimationBackward = AnimationUtils.loadAnimation(context, R.anim.slide_right_out); in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DMainPanel.java142 transaction.setCustomAnimations(R.anim.slide_in_right, R.anim.slide_out_right); in setCategoryFragment()
144 transaction.setCustomAnimations(R.anim.slide_in_left, R.anim.slide_out_left); in setCategoryFragment()
/packages/apps/Gallery/src/com/android/camera/
DViewImage.java579 makeInAnimation(R.anim.transition_in), in onCreate()
580 makeInAnimation(R.anim.slide_in), in onCreate()
581 makeInAnimation(R.anim.slide_in_vertical), in onCreate()
585 makeOutAnimation(R.anim.transition_out), in onCreate()
586 makeOutAnimation(R.anim.slide_out), in onCreate()
587 makeOutAnimation(R.anim.slide_out_vertical), in onCreate()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java331 ViewPropertyAnimator anim = mainPanel.getView().animate(); in loadEditorPanel() local
332 anim.translationY(panelHeight).start(); in loadEditorPanel()
334 handler.postDelayed(showEditor, anim.getDuration()); in loadEditorPanel()
342 transaction.setCustomAnimations(R.anim.slide_in_right, R.anim.slide_out_left); in toggleInformationPanel()

1234