/frameworks/base/tools/layoutlib/bridge/src/android/animation/ |
H A D | AnimatorInflater_Delegate.java | 55 AttributeSet attrs, ValueAnimator anim, float pathErrorScale) 57 return AnimatorInflater.loadAnimator_Original(res, theme, attrs, anim, pathErrorScale); 54 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument
|
/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/core/java/android/animation/ |
H A D | ObjectAnimator.java | 38 * {@sample development/samples/ApiDemos/res/anim/object_animator.xml ObjectAnimatorResources} 44 * {@sample development/samples/ApiDemos/res/anim/object_animator_pvh.xml 57 * {@sample development/samples/ApiDemos/res/anim/object_animator_pvh_kf_interpolated.xml KeyframeResources} 241 ObjectAnimator anim = new ObjectAnimator(target, propertyName); 242 anim.setIntValues(values); 243 return anim; 286 ObjectAnimator anim = new ObjectAnimator(target, property); 287 anim.setIntValues(values); 288 return anim; 435 ObjectAnimator anim 791 hasSameTargetAndProperties(@ullable Animator anim) argument [all...] |
H A D | AnimatorInflater.java | 431 * @param anim The animator, must not be null 438 private static void parseAnimatorFromTypeArray(ValueAnimator anim, argument 453 anim.setValues(pvh); 456 anim.setDuration(duration); 457 anim.setStartDelay(startDelay); 460 anim.setRepeatCount( 464 anim.setRepeatMode( 470 setupObjectAnimator(anim, arrayObjectAnimator, valueType == VALUE_TYPE_FLOAT, 478 * @param anim The target Animator which will be updated. 482 private static TypeEvaluator setupAnimatorForPath(ValueAnimator anim, argument 522 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, boolean getFloats, float pixelSize) argument 592 setupValues(ValueAnimator anim, TypedArray arrayAnimator, boolean getFloats, boolean hasFrom, int fromType, boolean hasTo, int toType) argument 1047 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument [all...] |
H A D | AnimatorSet.java | 159 for (Animator anim : items) { 161 builder = play(anim); 163 builder.with(anim); 297 * @param anim The animation that is the dependency used in later calls to the 304 public Builder play(Animator anim) { argument 305 if (anim != null) { 307 return new Builder(anim); 594 public void onAnimationCancel(Animator anim) { 597 public void onAnimationEnd(Animator anim) { 636 final AnimatorSet anim 1174 Builder(Animator anim) argument 1190 with(Animator anim) argument 1210 before(Animator anim) argument 1231 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 | 291 public void add(RenderNodeAnimator anim) { argument 292 mAnimators.add(anim); 307 final RenderNodeAnimator anim = animators.get(i); 308 anim.setTarget(target); 309 anim.start(); 317 final RenderNodeAnimator anim = animators.get(i); 318 anim.cancel(); 326 final RenderNodeAnimator anim = animators.get(i); 327 anim.end(); 335 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; 583 int addTransition(int fromId, int toId, @NonNull Drawable anim, boolean reversible) { argument 584 final int pos = super.addChild(anim);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowAnimator.java | 103 public void setAnimation(Animation anim, int width, int height, boolean skipFirstFrame) { argument 105 + ": " + anim + " wxh=" + width + "x" + height 107 animation = anim; 109 if (!anim.isInitialized()) { 110 anim.initialize(width, height, width, height); 112 anim.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION); 113 anim.scaleCurrentDuration(mService.getTransitionAnimationScaleLocked()); 114 int zorder = anim.getZAdjustment(); 134 anim.setBackgroundColor(0); 244 // token's anim laye [all...] |
H A D | AppTransition.java | 400 int anim = 0; 406 anim = ent.array.getResourceId(animAttr, 0); 409 if (anim != 0) { 410 return AnimationUtils.loadAnimation(context, anim); 428 int anim = 0; 434 anim = resId; 437 if (anim != 0) { 438 return AnimationUtils.loadAnimation(context, anim); 515 final Animation anim; 564 anim 1191 overrideInPlaceAppTransition(String packageName, int anim) argument [all...] |
H A D | WindowStateAnimator.java | 217 public void setAnimation(Animation anim, long startTime) { argument 218 if (localLOGV) Slog.v(TAG, "Setting animation in " + this + ": " + anim); 221 mAnimation = anim; 231 public void setAnimation(Animation anim) { argument 232 setAnimation(anim, -1); 384 + " anim layer: " + mAnimLayer); 389 Slog.v(TAG, "Policy visibility changing after anim in " + this + ": " 1847 int anim = mPolicy.selectAnimationLw(mWin, transit); 1850 if (anim != 0) { 1851 a = anim ! [all...] |
H A D | WindowManagerService.java | 1556 + " anim layer: " + imw.mWinAnimator.mAnimLayer); 1563 + " anim layer: " + cw.mWinAnimator.mAnimLayer); 1572 + " anim layer: " + imw.mWinAnimator.mAnimLayer); 1783 + " anim=" + ((wallpaperTarget != null && wallpaperTarget.mAppToken != null) 2081 + wallpaper + " anim layer: " + wallpaper.mWinAnimator.mAnimLayer); 2142 + wallpaper + " anim layer: " + wallpaper.mWinAnimator.mAnimLayer); 3987 int anim[] = new int[2]; 3989 anim[0] = anim[1] = 0; 3991 mPolicy.selectRotationAnimationLw(anim); 4251 overridePendingAppTransitionInPlace(String packageName, int anim) argument [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsActivity.java | 545 void onDirectoryChanged(int anim) { argument 550 mDirectoryContainer.setDrawDisappearingFirst(anim == ANIM_DOWN); 559 DirectoryFragment.showRecentsOpen(fm, anim); 570 DirectoryFragment.showSearch(fm, root, mState.currentSearch, anim); 573 DirectoryFragment.showNormal(fm, root, cwd, anim);
|
H A D | BaseActivity.java | 83 abstract void onDirectoryChanged(int anim); argument 241 * @param anim 243 final void onCurrentDirectoryChanged(int anim) { argument 244 onDirectoryChanged(anim);
|
H A D | DirectoryFragment.java | 142 public static void showNormal(FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) { argument 143 show(fm, TYPE_NORMAL, root, doc, null, anim); 146 public static void showSearch(FragmentManager fm, RootInfo root, String query, int anim) { argument 147 show(fm, TYPE_SEARCH, root, null, query, anim); 150 public static void showRecentsOpen(FragmentManager fm, int anim) { argument 151 show(fm, TYPE_RECENT_OPEN, null, null, null, anim); 155 String query, int anim) { 163 switch (anim) { 154 show(FragmentManager fm, int type, RootInfo root, DocumentInfo doc, String query, int anim) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuPresenter.java | 326 ObjectAnimator anim; 329 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, 332 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhX); 335 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhY); 337 anim.setDuration(ITEM_ANIMATION_DURATION); 338 anim.start(); 339 ItemAnimationInfo info = new ItemAnimationInfo(id, menuItemLayoutInfoPost, anim, 342 anim.addListener(new AnimatorListenerAdapter() { 365 ObjectAnimator anim = ObjectAnimator.ofFloat(menuItemLayoutInfoPre.view, View.ALPHA, 369 anim 1051 ItemAnimationInfo(int id, MenuItemLayoutInfo info, Animator anim, int animType) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialog.java | 785 if (row.anim != null && row.anim.isRunning() 790 if (row.anim == null) { 791 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgress); 792 row.anim.setInterpolator(new DecelerateInterpolator()); 794 row.anim.cancel(); 795 row.anim.setIntValues(progress, newProgress); 798 row.anim.setDuration(UPDATE_ANIMATION_DURATION); 799 row.anim.start(); 802 if (row.anim ! 1123 private ObjectAnimator anim; // slider progress animation for non-touch-related updates field in class:VolumeDialog.VolumeRow [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/view/ |
H A D | IWindowManagerImpl.java | 238 public void overridePendingAppTransitionInPlace(String packageName, int anim) { argument
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentManager.java | 511 static boolean modifiesAlpha(Animator anim) { argument 512 if (anim == null) { 515 if (anim instanceof ValueAnimator) { 516 ValueAnimator valueAnim = (ValueAnimator) anim; 523 } else if (anim instanceof AnimatorSet) { 524 List<Animator> animList = ((AnimatorSet) anim).getChildAnimations(); 534 static boolean shouldRunOnHWLayer(View v, Animator anim) { argument 535 if (v == null || anim == null) { 540 && modifiesAlpha(anim); 546 private void setHWLayerAnimListenerIfAlpha(final View v, Animator anim) { argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 419 public AnimateOnHWLayerIfNeededListener(final View v, Animation anim) { argument 420 if (v == null || anim == null) { 487 static boolean modifiesAlpha(Animation anim) { argument 488 if (anim instanceof AlphaAnimation) { 490 } else if (anim instanceof AnimationSet) { 491 List<Animation> anims = ((AnimationSet) anim).getAnimations(); 501 static boolean shouldRunOnHWLayer(View v, Animation anim) { argument 506 && modifiesAlpha(anim); 820 AlphaAnimation anim = new AlphaAnimation(start, end); 821 anim 904 setHWLayerAnimListenerIfAlpha(final View v, Animation anim) argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/ |
H A D | ItemTouchHelper.java | 655 private void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { argument 661 !anim.mOverridden && 662 anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) { 669 mCallback.onSwiped(anim.mViewHolder, swipeDir); 869 final RecoverAnimation anim = mRecoverAnimations.get(i); 870 if (anim.mViewHolder == viewHolder) { 871 anim.mOverridden |= override; 872 if (!anim.mEnded) { 873 anim.cancel(); 876 anim [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerPolicy.java | 751 * @param anim The exiting animation resource id is stored in anim[0], the 752 * entering animation resource id is stored in anim[1]. 754 public void selectRotationAnimationLw(int anim[]); argument
|
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | PhoneWindowManager.java | 2466 return isKeyguard ? -1 : R.anim.dock_top_exit; 2469 return isKeyguard ? -1 : R.anim.dock_top_enter; 2479 return R.anim.dock_bottom_exit; 2482 return R.anim.dock_bottom_enter; 2487 return R.anim.dock_right_exit; 2490 return R.anim.dock_right_enter; 2498 return com.android.internal.R.anim.app_starting_exit; 2513 public void selectRotationAnimationLw(int anim[]) { argument 2521 anim[0] = R.anim [all...] |