Searched refs:anim (Results 1 - 25 of 42) sorted by relevance

12

/frameworks/base/core/java/android/animation/
H A DObjectAnimator.java171 ObjectAnimator anim = new ObjectAnimator(target, propertyName);
172 anim.setIntValues(values);
173 return anim;
189 ObjectAnimator anim = new ObjectAnimator(target, property);
190 anim.setIntValues(values);
191 return anim;
209 ObjectAnimator anim = new ObjectAnimator(target, propertyName);
210 anim.setFloatValues(values);
211 return anim;
228 ObjectAnimator anim
[all...]
H A DAnimatorInflater.java100 Animator anim = null;
117 anim = loadObjectAnimator(c, attrs);
119 anim = loadAnimator(c, attrs, null);
121 anim = new AnimatorSet();
126 createAnimatorFromXml(c, parser, attrs, (AnimatorSet) anim, ordering);
136 childAnims.add(anim);
152 return anim;
159 ObjectAnimator anim = new ObjectAnimator();
161 loadAnimator(context, attrs, anim);
168 anim
182 loadAnimator(Context context, AttributeSet attrs, ValueAnimator anim) argument
[all...]
H A DLayoutTransition.java670 final Animator anim = baseAnimator.clone();
673 anim.setTarget(child);
677 anim.setupStartValues();
686 pendingAnimations.put(child, anim);
710 anim.setupEndValues();
711 if (anim instanceof ValueAnimator) {
713 ValueAnimator valueAnim = (ValueAnimator)anim;
738 anim.setStartDelay(startDelay);
739 anim.setDuration(duration);
750 currentChangingAnimations.put(child, anim);
[all...]
H A DValueAnimator.java297 ValueAnimator anim = new ValueAnimator();
298 anim.setIntValues(values);
299 return anim;
314 ValueAnimator anim = new ValueAnimator();
315 anim.setFloatValues(values);
316 return anim;
328 ValueAnimator anim = new ValueAnimator();
329 anim.setValues(values);
330 return anim;
351 ValueAnimator anim
[all...]
H A DAnimator.java190 final Animator anim = (Animator) super.clone();
193 anim.mListeners = new ArrayList<AnimatorListener>();
196 anim.mListeners.add(oldListeners.get(i));
199 return anim;
H A DAnimatorSet.java141 for (Animator anim : items) {
143 builder = play(anim);
145 builder.with(anim);
258 * @param anim The animation that is the dependency used in later calls to the
265 public Builder play(Animator anim) { argument
266 if (anim != null) {
268 return new Builder(anim);
508 public void onAnimationCancel(Animator anim) {
511 public void onAnimationEnd(Animator anim) {
549 final AnimatorSet anim
1025 Builder(Animator anim) argument
1041 with(Animator anim) argument
1061 before(Animator anim) argument
1081 after(Animator anim) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DDrawableHolder.java75 ObjectAnimator anim = ObjectAnimator.ofFloat(this, property, toValue);
76 anim.setDuration(duration);
77 anim.setStartDelay(delay);
78 anim.setInterpolator(EASE_OUT_INTERPOLATOR);
79 this.addAnimation(anim, replace);
81 return anim;
111 * @param anim
115 private DrawableHolder addAnimation(ObjectAnimator anim, boolean overwrite) { argument
116 if (anim != null)
117 mAnimators.add(anim);
[all...]
H A DAbsActionBarView.java130 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 1);
131 anim.setDuration(FADE_DURATION);
132 anim.setInterpolator(sAlphaInterpolator);
138 set.play(anim).with(splitAnim);
141 anim.addListener(mVisAnimListener.withFinalVisibility(visibility));
142 anim.start();
145 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 0);
146 anim.setDuration(FADE_DURATION);
147 anim.setInterpolator(sAlphaInterpolator);
153 set.play(anim)
[all...]
H A DScrollingTabContainerView.java224 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 1);
225 anim.setDuration(FADE_DURATION);
226 anim.setInterpolator(sAlphaInterpolator);
228 anim.addListener(mVisAnimListener.withFinalVisibility(visibility));
229 anim.start();
231 ObjectAnimator anim = ObjectAnimator.ofFloat(this, "alpha", 0);
232 anim.setDuration(FADE_DURATION);
233 anim.setInterpolator(sAlphaInterpolator);
235 anim.addListener(mVisAnimListener.withFinalVisibility(visibility));
236 anim
[all...]
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTweener.java40 public Tweener(ObjectAnimator anim) { argument
41 animator = anim;
97 ObjectAnimator anim = null;
99 anim = ObjectAnimator.ofPropertyValuesHolder(object,
101 tween = new Tweener(anim);
105 anim = sTweens.get(object).animator;
110 anim.setInterpolator(interpolator);
114 anim.setStartDelay(delay);
115 anim.setDuration(duration);
117 anim
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationUtils.java97 Animation anim = null;
113 anim = new AnimationSet(c, attrs);
114 createAnimationFromXml(c, parser, (AnimationSet)anim, attrs);
116 anim = new AlphaAnimation(c, attrs);
118 anim = new ScaleAnimation(c, attrs);
120 anim = new RotateAnimation(c, attrs);
122 anim = new TranslateAnimation(c, attrs);
128 parent.addAnimation(anim);
132 return anim;
204 a = AnimationUtils.loadAnimation(c, com.android.internal.R.anim
[all...]
/frameworks/base/core/java/android/widget/
H A DZoomControls.java91 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha);
92 anim.setDuration(500);
93 startAnimation(anim);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java100 ObjectAnimator anim = ObjectAnimator.ofFloat(v,
102 return anim;
232 ObjectAnimator anim = createTranslationAnimation(animView, newPos);
233 anim.setInterpolator(sLinearInterpolator);
234 anim.setDuration(duration);
235 anim.addListener(new AnimatorListenerAdapter() {
241 anim.addUpdateListener(new AnimatorUpdateListener() {
249 anim.start();
255 ObjectAnimator anim = createTranslationAnimation(animView, 0);
257 anim
[all...]
H A DNyandroid.java147 final AnimationDrawable anim = (AnimationDrawable) fixedStar.getDrawable();
150 anim.start();
162 final AnimationDrawable anim = (AnimationDrawable) nv.getDrawable();
165 anim.start();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DNotificationRowLayout.java98 public void setAnimateBounds(boolean anim) { argument
99 mAnimateBounds = anim;
227 ValueAnimator anim;
230 anim = ObjectAnimator.ofFloat(child, "alpha", currentAlpha, 0);
236 anim = ValueAnimator.ofFloat(0, 1);
238 anim.setDuration(DISAPPEAR_ANIM_LEN);
240 anim.addListener(new AnimatorListenerAdapter() {
250 anim.start();
251 mDisappearingViews.put(child, anim);
/frameworks/base/services/java/com/android/server/wm/
H A DScreenRotationAnimation.java199 com.android.internal.R.anim.screen_rotate_0_exit);
201 com.android.internal.R.anim.screen_rotate_0_enter);
205 com.android.internal.R.anim.screen_rotate_plus_90_exit);
207 com.android.internal.R.anim.screen_rotate_plus_90_enter);
211 com.android.internal.R.anim.screen_rotate_180_exit);
213 com.android.internal.R.anim.screen_rotate_180_enter);
217 com.android.internal.R.anim.screen_rotate_minus_90_exit);
219 com.android.internal.R.anim.screen_rotate_minus_90_enter);
H A DAppWindowToken.java118 public void setAnimation(Animation anim) { argument
120 WindowManagerService.TAG, "Setting animation in " + this + ": " + anim);
121 animation = anim;
123 anim.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION);
124 anim.scaleCurrentDuration(service.mTransitionAnimationScale);
125 int zorder = anim.getZAdjustment();
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DGlobalScreenshot.java456 ValueAnimator anim = ValueAnimator.ofFloat(0f, 1f);
457 anim.setDuration(SCREENSHOT_DROP_IN_DURATION);
458 anim.addListener(new AnimatorListenerAdapter() {
477 anim.addUpdateListener(new AnimatorUpdateListener() {
491 return anim;
495 ValueAnimator anim = ValueAnimator.ofFloat(0f, 1f);
496 anim.setStartDelay(SCREENSHOT_DROP_OUT_DELAY);
497 anim.addListener(new AnimatorListenerAdapter() {
508 anim.setDuration(SCREENSHOT_FAST_DROP_OUT_DURATION);
509 anim
[all...]
/frameworks/base/core/java/android/webkit/
H A DZoomControlExternal.java141 AlphaAnimation anim = new AlphaAnimation(startAlpha, endAlpha);
142 anim.setDuration(500);
143 startAnimation(anim);
/frameworks/base/core/java/android/app/
H A DFragmentManager.java687 Animator anim = AnimatorInflater.loadAnimator(mActivity, fragment.mNextAnim);
688 if (anim != null) {
689 return anim;
711 int anim = attrs.getResourceId(styleIndex, 0);
714 if (anim == 0) {
718 return AnimatorInflater.loadAnimator(mActivity, anim);
833 Animator anim = loadAnimator(f, transit, true,
835 if (anim != null) {
836 anim.setTarget(f.mView);
837 anim
[all...]
H A DListFragment.java349 getActivity(), android.R.anim.fade_out));
351 getActivity(), android.R.anim.fade_in));
361 getActivity(), android.R.anim.fade_in));
363 getActivity(), android.R.anim.fade_out));
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMarqueeActivity.java61 R.anim.slide_off_left);
/frameworks/support/v4/java/android/support/v4/app/
H A DListFragment.java291 getActivity(), android.R.anim.fade_out));
293 getActivity(), android.R.anim.fade_in));
303 getActivity(), android.R.anim.fade_in));
305 getActivity(), android.R.anim.fade_out));
H A DFragmentManager.java695 AlphaAnimation anim = new AlphaAnimation(start, end);
696 anim.setInterpolator(DECELERATE_CUBIC);
697 anim.setDuration(ANIM_DUR);
698 return anim;
710 Animation anim = AnimationUtils.loadAnimation(mActivity, fragment.mNextAnim);
711 if (anim != null) {
712 return anim;
749 //int anim = attrs.getResourceId(styleIndex, 0);
752 //if (anim == 0) {
756 //return AnimatorInflater.loadAnimator(mActivity, anim);
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java159 AnimationUtils.loadAnimation(context, com.android.internal.R.anim.push_up_in));
161 AnimationUtils.loadAnimation(context, com.android.internal.R.anim.push_up_out));
167 AnimationUtils.loadAnimation(context, com.android.internal.R.anim.push_up_in));
169 AnimationUtils.loadAnimation(context, com.android.internal.R.anim.push_up_out));

Completed in 865 milliseconds

12