Home
last modified time | relevance | path

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

1234

/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherAnimUtils.java93 AnimatorSet anim = new AnimatorSet(); in createAnimatorSet() local
94 cancelOnDestroyActivity(anim); in createAnimatorSet()
95 return anim; in createAnimatorSet()
99 ValueAnimator anim = new ValueAnimator(); in ofFloat() local
100 anim.setFloatValues(values); in ofFloat()
101 cancelOnDestroyActivity(anim); in ofFloat()
102 return anim; in ofFloat()
106 ObjectAnimator anim = new ObjectAnimator(); in ofFloat() local
107 anim.setTarget(target); in ofFloat()
108 anim.setPropertyName(propertyName); in ofFloat()
[all …]
DLauncherClings.java159 ObjectAnimator anim; in showLongPressCling()
162 anim = LauncherAnimUtils.ofFloat(content, "translationY", 0); in showLongPressCling()
168 anim = LauncherAnimUtils.ofPropertyValuesHolder(content, scaleX, scaleY); in showLongPressCling()
171 anim.setDuration(SHOW_CLING_DURATION); in showLongPressCling()
172 anim.setInterpolator(new LogDecelerateInterpolator(100, 0)); in showLongPressCling()
173 anim.start(); in showLongPressCling()
DSearchDropTargetBar.java199 ObjectAnimator anim = ObjectAnimator.ofFloat(v, View.ALPHA, alpha); in animateAlpha() local
200 anim.setInterpolator(interpolator); in animateAlpha()
201 anim.addListener(new ViewVisiblilyUpdateHandler(v)); in animateAlpha()
202 mCurrentAnimation.play(anim); in animateAlpha()
DPagedView.java1721 AnimatorSet anim = (AnimatorSet) v.getTag(ANIM_TAG_KEY); in onTouchEvent()
1722 if (anim != null) { in onTouchEvent()
1723 anim.cancel(); in onTouchEvent()
1727 anim = new AnimatorSet(); in onTouchEvent()
1728 anim.setDuration(REORDERING_REORDER_REPOSITION_DURATION); in onTouchEvent()
1729 anim.playTogether( in onTouchEvent()
1731 anim.start(); in onTouchEvent()
1732 v.setTag(anim); in onTouchEvent()
2175 AnimatorSet anim = new AnimatorSet(); in animateDragViewToOriginalPosition() local
2176 anim.setDuration(REORDERING_DROP_REPOSITION_DURATION); in animateDragViewToOriginalPosition()
[all …]
/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/Dialer/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 …]
/packages/apps/Settings/src/com/android/settings/fingerprint/
DFingerprintEnrollEnrolling.java199 ObjectAnimator anim = ObjectAnimator.ofInt(mProgressBar, "progress", in animateProgress() local
201 anim.addListener(mProgressAnimationListener); in animateProgress()
202 anim.setInterpolator(mFastOutSlowInInterpolator); in animateProgress()
203 anim.setDuration(250); in animateProgress()
204 anim.start(); in animateProgress()
205 mProgressAnim = anim; in animateProgress()
209 ValueAnimator anim = ValueAnimator.ofArgb(mIndicatorBackgroundRestingColor, in animateFlash() local
219 anim.addUpdateListener(listener); in animateFlash()
220 anim.addListener(new AnimatorListenerAdapter() { in animateFlash()
223 ValueAnimator anim = ValueAnimator.ofArgb(mIndicatorBackgroundActivatedColor, in animateFlash()
[all …]
/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/TV/common/src/com/android/tv/common/ui/setup/animation/
DTranslationAnimationCreator.java55 ObjectAnimator anim = in createAnimation() local
61 anim.addListener(listener); in createAnimation()
62 anim.addPauseListener(listener); in createAnimation()
63 anim.setInterpolator(interpolator); in createAnimation()
64 return anim; in createAnimation()
/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/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()
DSlideshowView.java22 import com.android.gallery3d.anim.CanvasAnimation;
23 import com.android.gallery3d.anim.FloatAnimation;
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DDialogFragment.java247 ft.setCustomAnimations(R.anim.fragment_slide_left_in, in addAnimations()
248 R.anim.fragment_slide_left_out, R.anim.fragment_slide_right_in, in addAnimations()
249 R.anim.fragment_slide_right_out); in addAnimations()
/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/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
DPicker.java339 ObjectAnimator anim; in setOrAnimateAlphaInternal() local
342 anim = ObjectAnimator.ofFloat(view, "alpha", startAlpha, destAlpha); in setOrAnimateAlphaInternal()
345 anim = ObjectAnimator.ofFloat(view, "alpha", destAlpha); in setOrAnimateAlphaInternal()
347 anim.setDuration(mAlphaAnimDuration); in setOrAnimateAlphaInternal()
348 anim.setInterpolator(interpolator); in setOrAnimateAlphaInternal()
350 animList.add(anim); in setOrAnimateAlphaInternal()
352 anim.start(); in setOrAnimateAlphaInternal()
/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/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
DPreProvisioningActivity.java187 overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); in startDeviceOwnerProvisioning()
196 overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); in startProfileOwnerProvisioning()
/packages/apps/Dialer/InCallUI/src/com/android/incallui/
DInCallActivity.java198 isRtl ? R.anim.dialpad_slide_in_left : R.anim.dialpad_slide_in_right); in onCreate()
200 isRtl ? R.anim.dialpad_slide_out_left : R.anim.dialpad_slide_out_right); in onCreate()
202 mSlideIn = AnimationUtils.loadAnimation(this, R.anim.dialpad_slide_in_bottom); in onCreate()
203 mSlideOut = AnimationUtils.loadAnimation(this, R.anim.dialpad_slide_out_bottom); in onCreate()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionsFrameFragment.java96 shown ? android.R.anim.fade_in : android.R.anim.fade_out); in setViewShown()
/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java96 activity.overridePendingTransition(android.R.anim.fade_in, android.R.anim.fade_out); in startCameraActivity()

1234