/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); 285 // token's anim laye [all...] |
H A D | WindowStateAnimator.java | 266 public void setAnimation(Animation anim, long startTime, int stackClip) { argument 267 if (localLOGV) Slog.v(TAG, "Setting animation in " + this + ": " + anim); 270 mAnimation = anim; 281 public void setAnimation(Animation anim, int stackClip) { argument 282 setAnimation(anim, -1, stackClip); 285 public void setAnimation(Animation anim) { argument 286 setAnimation(anim, -1, STACK_CLIP_AFTER_ANIM); 459 if (DEBUG_LAYERS) Slog.v(TAG, "Stepping win " + this + " anim layer: " + mAnimLayer); 1785 int anim = mPolicy.selectAnimationLw(mWin, transit); 1788 if (anim ! [all...] |
H A D | AppTransition.java | 539 int anim = 0; 545 anim = ent.array.getResourceId(animAttr, 0); 548 if (anim != 0) { 549 return AnimationUtils.loadAnimation(context, anim); 567 int anim = 0; 573 anim = resId; 576 if (anim != 0) { 577 return AnimationUtils.loadAnimation(context, anim); 787 final Animation anim; 865 anim 1810 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 1740 getNodeForAnimation(Animator anim) argument 2026 Builder(Animator anim) argument 2038 with(Animator anim) argument 2052 before(Animator anim) argument 2066 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 | 148 ObjectAnimator anim = ObjectAnimator.ofFloat(v, 150 return anim; 160 ObjectAnimator anim = createTranslationAnimation(v, target); 162 anim.addUpdateListener(listener); 164 return anim; 401 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener); 402 if (anim == null) { 406 anim.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN); 407 anim.setDuration(duration); 409 mFlingAnimationUtils.applyDismissing(anim, getTranslatio 447 prepareDismissAnimation(View view, Animator anim) argument 491 prepareSnapBackAnimation(View view, Animator anim) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 227 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 | 409 row.anim = null; 868 if (row.anim != null && row.anim.isRunning() 873 if (row.anim == null) { 874 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgress); 875 row.anim.setInterpolator(new DecelerateInterpolator()); 877 row.anim.cancel(); 878 row.anim.setIntValues(progress, newProgress); 881 row.anim.setDuration(UPDATE_ANIMATION_DURATION); 882 row.anim 1291 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 | 235 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 | 747 static boolean modifiesAlpha(Animator anim) { argument 748 if (anim == null) { 751 if (anim instanceof ValueAnimator) { 752 ValueAnimator valueAnim = (ValueAnimator) anim; 759 } else if (anim instanceof AnimatorSet) { 760 List<Animator> animList = ((AnimatorSet) anim).getChildAnimations(); 770 static boolean shouldRunOnHWLayer(View v, Animator anim) { argument 771 if (v == null || anim == null) { 776 && modifiesAlpha(anim); 782 private void setHWLayerAnimListenerIfAlpha(final View v, Animator anim) { argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 1025 * @param anim The exiting animation resource id is stored in anim[0], the 1026 * entering animation resource id is stored in anim[1]. 1028 public void selectRotationAnimationLw(int anim[]); argument
|
/frameworks/support/fragment/java/android/support/v4/app/ |
H A D | FragmentManager.java | 703 static boolean modifiesAlpha(AnimationOrAnimator anim) { argument 704 if (anim.animation instanceof AlphaAnimation) { 706 } else if (anim.animation instanceof AnimationSet) { 707 List<Animation> anims = ((AnimationSet) anim.animation).getAnimations(); 715 return modifiesAlpha(anim.animator); 719 static boolean modifiesAlpha(Animator anim) { argument 720 if (anim == null) { 723 if (anim instanceof ValueAnimator) { 724 ValueAnimator valueAnim = (ValueAnimator) anim; 731 } else if (anim instanceo 742 shouldRunOnHWLayer(View v, AnimationOrAnimator anim) argument 1238 setHWLayerAnimListenerIfAlpha(final View v, AnimationOrAnimator anim) argument 1593 animateRemoveFragment(@onNull final Fragment fragment, @NonNull AnimationOrAnimator anim, final int newState) argument [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 3093 return R.anim.dock_top_exit; 3096 return R.anim.dock_top_enter; 3107 return R.anim.dock_bottom_exit_keyguard; 3109 return R.anim.dock_bottom_exit; 3113 return R.anim.dock_bottom_enter; 3118 return R.anim.dock_right_exit; 3121 return R.anim.dock_right_enter; 3126 return R.anim.dock_left_exit; 3129 return R.anim.dock_left_enter; 3139 return com.android.internal.R.anim 3184 selectRotationAnimationLw(int anim[]) argument 3976 handleStartTransitionForKeyguardLw(int transit, @Nullable Animation anim) argument [all...] |