/frameworks/base/core/tests/coretests/src/android/animation/ |
H A D | ViewPropertyAnimatorTest.java | 67 public Canceler(ViewPropertyAnimator anim, FutureWaiter future) { argument 68 mAnim = anim;
|
H A D | EventsTest.java | 68 public Canceler(Animator anim, FutureWaiter future) { argument 69 mAnim = anim; 96 public Ender(Animator anim, FutureWaiter future) { argument 97 mAnim = anim; 117 public Pauser(Animator anim, FutureWaiter future) { argument 118 mAnim = anim; 138 public Resumer(Animator anim, FutureWaiter future) { argument 139 mAnim = anim;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WallpaperWindowToken.java | 113 * Starts {@param anim} on all children. 115 void startAnimation(Animation anim) { argument 118 windowState.mWinAnimator.setAnimation(anim); 147 + wallpaper + " anim layer: " + wallpaper.mWinAnimator.mAnimLayer);
|
H A D | AppWindowAnimator.java | 124 public void setAnimation(Animation anim, int width, int height, int parentWidth, argument 128 + ": " + anim + " wxh=" + width + "x" + height 130 animation = anim; 132 if (!anim.isInitialized()) { 133 anim.initialize(width, height, parentWidth, parentHeight); 135 anim.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION); 136 anim.scaleCurrentDuration(mService.getTransitionAnimationScaleLocked()); 137 int zorder = anim.getZAdjustment(); 160 anim.setBackgroundColor(0); 293 // token's anim laye [all...] |
H A D | WindowStateAnimator.java | 267 public void setAnimation(Animation anim, long startTime, int stackClip) { argument 268 if (localLOGV) Slog.v(TAG, "Setting animation in " + this + ": " + anim); 271 mAnimation = anim; 282 public void setAnimation(Animation anim, int stackClip) { argument 283 setAnimation(anim, -1, stackClip); 286 public void setAnimation(Animation anim) { argument 287 setAnimation(anim, -1, STACK_CLIP_AFTER_ANIM); 460 if (DEBUG_LAYERS) Slog.v(TAG, "Stepping win " + this + " anim layer: " + mAnimLayer); 1826 int anim = mPolicy.selectAnimationLw(mWin, transit); 1829 if (anim ! [all...] |
H A D | AppTransition.java | 542 int anim = 0; 548 anim = ent.array.getResourceId(animAttr, 0); 551 if (anim != 0) { 552 return AnimationUtils.loadAnimation(context, anim); 570 int anim = 0; 576 anim = resId; 579 if (anim != 0) { 580 return AnimationUtils.loadAnimation(context, anim); 790 final Animation anim; 868 anim 1821 overrideInPlaceAppTransition(String packageName, int anim) argument [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | ObjectAnimator.java | 39 * {@sample development/samples/ApiDemos/res/anim/object_animator.xml ObjectAnimatorResources} 45 * {@sample development/samples/ApiDemos/res/anim/object_animator_pvh.xml 59 * {@sample development/samples/ApiDemos/res/anim/object_animator_pvh_kf_interpolated.xml KeyframeResources} 244 ObjectAnimator anim = new ObjectAnimator(target, propertyName); 245 anim.setIntValues(values); 246 return anim; 290 ObjectAnimator anim = new ObjectAnimator(target, property); 291 anim.setIntValues(values); 292 return anim; 443 ObjectAnimator anim 821 hasSameTargetAndProperties(@ullable Animator anim) argument 855 shouldAutoCancel(AnimationHandler.AnimationFrameCallback anim) argument [all...] |
H A D | AnimatorInflater.java | 403 * @param anim The animator, must not be null 410 private static void parseAnimatorFromTypeArray(ValueAnimator anim, argument 425 anim.setValues(pvh); 428 anim.setDuration(duration); 429 anim.setStartDelay(startDelay); 432 anim.setRepeatCount( 436 anim.setRepeatMode( 442 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize); 449 * @param anim The target Animator which will be updated. 453 private static TypeEvaluator setupAnimatorForPath(ValueAnimator anim, argument 495 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, int valueType, float pixelSize) argument 570 setupValues(ValueAnimator anim, TypedArray arrayAnimator, boolean getFloats, boolean hasFrom, int fromType, boolean hasTo, int toType) argument 1025 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument [all...] |
H A D | AnimatorSet.java | 248 for (Animator anim : items) { 250 builder = play(anim); 252 builder.with(anim); 388 * @param anim The animation that is the dependency used in later calls to the 395 public Builder play(Animator anim) { argument 396 if (anim != null) { 397 return new Builder(anim); 479 Animator anim = event.mNode.mAnimation; 480 if (mNodeMap.get(anim).mEnded) { 484 anim 1742 getNodeForAnimation(Animator anim) argument 2028 Builder(Animator anim) argument 2040 with(Animator anim) argument 2054 before(Animator anim) argument 2068 after(Animator anim) argument [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DrawableHolder.java | 75 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...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | RippleComponent.java | 299 public void add(RenderNodeAnimator anim) { argument 300 mAnimators.add(anim); 315 final RenderNodeAnimator anim = animators.get(i); 316 anim.setTarget(target); 317 anim.start(); 325 final RenderNodeAnimator anim = animators.get(i); 326 anim.cancel(); 334 final RenderNodeAnimator anim = animators.get(i); 335 anim.end(); 343 final RenderNodeAnimator anim [all...] |
H A D | AnimatedStateListDrawable.java | 279 final ObjectAnimator anim = ObjectAnimator.ofInt(ad, "currentIndex", fromFrame, toFrame); 280 anim.setAutoCancel(true); 281 anim.setDuration(interp.getTotalDuration()); 282 anim.setInterpolator(interp); 284 mAnim = anim; 584 int addTransition(int fromId, int toId, @NonNull Drawable anim, boolean reversible) { argument 585 final int pos = super.addChild(anim);
|
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/ |
H A D | AnimatorInflaterCompat.java | 334 * @param anim The animator, must not be null 341 private static void parseAnimatorFromTypeArray(ValueAnimator anim, argument 363 anim.setValues(pvh); 366 anim.setDuration(duration); 367 anim.setStartDelay(startDelay); 369 anim.setRepeatCount(TypedArrayUtils.getNamedInt(arrayAnimator, parser, "repeatCount", 371 anim.setRepeatMode(TypedArrayUtils.getNamedInt(arrayAnimator, parser, "repeatMode", 375 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize, parser); 383 * @param anim The target Animator which will be updated. 387 private static void setupObjectAnimator(ValueAnimator anim, TypedArra argument 887 loadAnimator(Context context, Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale, XmlPullParser parser) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuPresenter.java | 325 ObjectAnimator anim; 328 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, 331 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhX); 334 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhY); 336 anim.setDuration(ITEM_ANIMATION_DURATION); 337 anim.start(); 338 ItemAnimationInfo info = new ItemAnimationInfo(id, menuItemLayoutInfoPost, anim, 341 anim.addListener(new AnimatorListenerAdapter() { 364 ObjectAnimator anim = ObjectAnimator.ofFloat(menuItemLayoutInfoPre.view, View.ALPHA, 368 anim 1063 ItemAnimationInfo(int id, MenuItemLayoutInfo info, Animator anim, int animType) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | SwipeHelper.java | 152 ObjectAnimator anim = ObjectAnimator.ofFloat(v, 154 return anim; 164 ObjectAnimator anim = createTranslationAnimation(v, target); 166 anim.addUpdateListener(listener); 168 return anim; 416 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); 417 if (anim == null) { 421 anim.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN); 422 anim.setDuration(duration); 424 mFlingAnimationUtils.applyDismissing(anim, getTranslatio 467 prepareDismissAnimation(View view, Animator anim) argument 511 prepareSnapBackAnimation(View view, Animator anim) argument [all...] |
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 228 public void overridePendingAppTransitionInPlace(String packageName, int anim) { argument
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
H A D | ItemTouchHelper.java | 666 void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { argument 672 && !anim.mOverridden 673 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { 680 mCallback.onSwiped(anim.mViewHolder, swipeDir); 880 final RecoverAnimation anim = mRecoverAnimations.get(i); 881 if (anim.mViewHolder == viewHolder) { 882 anim.mOverridden |= override; 883 if (!anim.mEnded) { 884 anim.cancel(); 887 return anim [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_ThreadedRenderer.cpp | 106 explicit FinishAndInvokeListener(PropertyValuesAnimatorSet* anim) argument 107 : mAnimator(anim) { 108 mListener = anim->getOneShotListener(); 109 mRequestId = anim->getRequestId(); 168 for (auto& anim : mRunningVDAnimators) { 174 anim->getVectorDrawable()->setPropertyChangeWillBeConsumed(false); 176 anim->getVectorDrawable()->markDirty(); 179 for (auto &anim : mPausedVDAnimators) { 180 anim->getVectorDrawable()->setPropertyChangeWillBeConsumed(false); 181 anim 341 addVectorDrawableAnimator(PropertyValuesAnimatorSet* anim) argument 359 detachVectorDrawableAnimator(PropertyValuesAnimatorSet* anim) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogImpl.java | 419 row.anim = null; 900 if (row.anim != null && row.anim.isRunning() 905 if (row.anim == null) { 906 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgress); 907 row.anim.setInterpolator(new DecelerateInterpolator()); 909 row.anim.cancel(); 910 row.anim.setIntValues(progress, newProgress); 913 row.anim.setDuration(UPDATE_ANIMATION_DURATION); 914 row.anim 1329 private ObjectAnimator anim; // slider progress animation for non-touch-related updates field in class:VolumeDialogImpl.VolumeRow [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TestWindowManagerPolicy.java | 248 public void selectRotationAnimationLw(int[] anim) { argument
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 664 void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { argument 670 && !anim.mOverridden 671 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { 678 mCallback.onSwiped(anim.mViewHolder, swipeDir); 878 final RecoverAnimation anim = mRecoverAnimations.get(i); 879 if (anim.mViewHolder == viewHolder) { 880 anim.mOverridden |= override; 881 if (!anim.mEnded) { 882 anim.cancel(); 885 return anim [all...] |
/frameworks/base/core/java/android/app/ |
H A D | FragmentManager.java | 748 static boolean modifiesAlpha(Animator anim) { argument 749 if (anim == null) { 752 if (anim instanceof ValueAnimator) { 753 ValueAnimator valueAnim = (ValueAnimator) anim; 760 } else if (anim instanceof AnimatorSet) { 761 List<Animator> animList = ((AnimatorSet) anim).getChildAnimations(); 771 static boolean shouldRunOnHWLayer(View v, Animator anim) { argument 772 if (v == null || anim == null) { 777 && modifiesAlpha(anim); 783 private void setHWLayerAnimListenerIfAlpha(final View v, Animator anim) { argument [all...] |
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | FragmentManager.java | 704 static boolean modifiesAlpha(AnimationOrAnimator anim) { argument 705 if (anim.animation instanceof AlphaAnimation) { 707 } else if (anim.animation instanceof AnimationSet) { 708 List<Animation> anims = ((AnimationSet) anim.animation).getAnimations(); 716 return modifiesAlpha(anim.animator); 720 static boolean modifiesAlpha(Animator anim) { argument 721 if (anim == null) { 724 if (anim instanceof ValueAnimator) { 725 ValueAnimator valueAnim = (ValueAnimator) anim; 732 } else if (anim instanceo 743 shouldRunOnHWLayer(View v, AnimationOrAnimator anim) argument 1239 setHWLayerAnimListenerIfAlpha(final View v, AnimationOrAnimator anim) argument 1594 animateRemoveFragment(@onNull final Fragment fragment, @NonNull AnimationOrAnimator anim, final int newState) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 1047 * @param anim The exiting animation resource id is stored in anim[0], the 1048 * entering animation resource id is stored in anim[1]. 1050 public void selectRotationAnimationLw(int anim[]); argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 3111 return R.anim.dock_top_exit; 3114 return R.anim.dock_top_enter; 3125 return R.anim.dock_bottom_exit_keyguard; 3127 return R.anim.dock_bottom_exit; 3131 return R.anim.dock_bottom_enter; 3136 return R.anim.dock_right_exit; 3139 return R.anim.dock_right_enter; 3144 return R.anim.dock_left_exit; 3147 return R.anim.dock_left_enter; 3157 return com.android.internal.R.anim 3202 selectRotationAnimationLw(int anim[]) argument 4003 handleStartTransitionForKeyguardLw(int transit, @Nullable Animation anim) argument [all...] |