Searched defs:anim (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DAnimationView.java96 FragmentTransaction ft, @AnimationType int anim, Bundle args) {
97 switch (anim) {
95 setupAnimations( FragmentTransaction ft, @AnimationType int anim, Bundle args) argument
H A DDirectoryFragment.java1711 FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) {
1712 create(fm, TYPE_NORMAL, root, doc, null, anim);
1715 public static void showRecentsOpen(FragmentManager fm, int anim) { argument
1716 create(fm, TYPE_RECENT_OPEN, null, null, null, anim);
1742 String query, int anim) {
1751 AnimationView.setupAnimations(ft, anim, args);
1710 showDirectory( FragmentManager fm, RootInfo root, DocumentInfo doc, int anim) argument
1741 create(FragmentManager fm, int type, RootInfo root, DocumentInfo doc, String query, int anim) argument
/frameworks/base/core/tests/coretests/src/android/animation/
H A DViewPropertyAnimatorTest.java67 public Canceler(ViewPropertyAnimator anim, FutureWaiter future) { argument
68 mAnim = anim;
H A DEventsTest.java68 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 DObjectAnimator.java39 * {@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 DAnimatorInflater.java403 * @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 == VALUE_TYPE_FLOAT,
450 * @param anim The target Animator which will be updated.
454 private static TypeEvaluator setupAnimatorForPath(ValueAnimator anim, argument
496 setupObjectAnimator(ValueAnimator anim, TypedArray arrayObjectAnimator, boolean getFloats, float pixelSize) argument
566 setupValues(ValueAnimator anim, TypedArray arrayAnimator, boolean getFloats, boolean hasFrom, int fromType, boolean hasTo, int toType) argument
1021 loadAnimator(Resources res, Theme theme, AttributeSet attrs, ValueAnimator anim, float pathErrorScale) argument
[all...]
H A DAnimatorSet.java188 for (Animator anim : items) {
190 builder = play(anim);
192 builder.with(anim);
330 * @param anim The animation that is the dependency used in later calls to the
337 public Builder play(Animator anim) { argument
338 if (anim != null) {
339 return new Builder(anim);
412 Animator anim = remainingList.get(index);
413 anim.end();
415 Node node = mNodeMap.get(anim);
1085 getNodeForAnimation(Animator anim) argument
1285 Builder(Animator anim) argument
1297 with(Animator anim) argument
1311 before(Animator anim) argument
1326 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...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DRippleComponent.java299 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 DAnimatedStateListDrawable.java279 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/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java259 void refreshDirectory(int anim) { argument
271 DirectoryFragment.showRecentsOpen(fm, anim);
283 DirectoryFragment.showDirectory(fm, root, cwd, anim);
H A DFilesActivity.java260 void refreshDirectory(int anim) { argument
268 DirectoryFragment.showRecentsOpen(fm, anim);
271 DirectoryFragment.showDirectory(fm, root, cwd, anim);
H A DBaseActivity.java99 abstract void refreshDirectory(int anim); argument
368 final int anim = (mState.hasLocationChanged() && mState.stack.size() > 1)
370 refreshCurrentRootAndDirectory(anim);
376 * @param anim
379 public final void refreshCurrentRootAndDirectory(int anim) { argument
382 refreshDirectory(anim);
/frameworks/base/services/core/java/com/android/server/wm/
H A DAppWindowAnimator.java118 public void setAnimation(Animation anim, int width, int height, boolean skipFirstFrame, argument
121 + ": " + anim + " wxh=" + width + "x" + height
123 animation = anim;
125 if (!anim.isInitialized()) {
126 anim.initialize(width, height, width, height);
128 anim.restrictDuration(WindowManagerService.MAX_ANIMATION_DURATION);
129 anim.scaleCurrentDuration(mService.getTransitionAnimationScaleLocked());
130 int zorder = anim.getZAdjustment();
151 anim.setBackgroundColor(0);
287 // token's anim laye
[all...]
H A DWindowStateAnimator.java270 public void setAnimation(Animation anim, long startTime, int stackClip) { argument
271 if (localLOGV) Slog.v(TAG, "Setting animation in " + this + ": " + anim);
274 mAnimation = anim;
285 public void setAnimation(Animation anim, int stackClip) { argument
286 setAnimation(anim, -1, stackClip);
289 public void setAnimation(Animation anim) { argument
290 setAnimation(anim, -1, STACK_CLIP_AFTER_ANIM);
468 if (DEBUG_LAYERS) Slog.v(TAG, "Stepping win " + this + " anim layer: " + mAnimLayer);
1862 int anim = mPolicy.selectAnimationLw(mWin, transit);
1865 if (anim !
[all...]
H A DAppTransition.java478 int anim = 0;
484 anim = ent.array.getResourceId(animAttr, 0);
487 if (anim != 0) {
488 return AnimationUtils.loadAnimation(context, anim);
506 int anim = 0;
512 anim = resId;
515 if (anim != 0) {
516 return AnimationUtils.loadAnimation(context, anim);
726 final Animation anim;
804 anim
1709 overrideInPlaceAppTransition(String packageName, int anim) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuPresenter.java324 ObjectAnimator anim;
327 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view,
330 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhX);
333 anim = ObjectAnimator.ofPropertyValuesHolder(menuItemLayoutInfoPost.view, pvhY);
335 anim.setDuration(ITEM_ANIMATION_DURATION);
336 anim.start();
337 ItemAnimationInfo info = new ItemAnimationInfo(id, menuItemLayoutInfoPost, anim,
340 anim.addListener(new AnimatorListenerAdapter() {
363 ObjectAnimator anim = ObjectAnimator.ofFloat(menuItemLayoutInfoPre.view, View.ALPHA,
367 anim
1062 ItemAnimationInfo(int id, MenuItemLayoutInfo info, Animator anim, int animType) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSwipeHelper.java140 ObjectAnimator anim = ObjectAnimator.ofFloat(v,
142 return anim;
152 ObjectAnimator anim = createTranslationAnimation(v, target);
154 anim.addUpdateListener(listener);
156 return anim;
387 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener);
388 if (anim == null) {
392 anim.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN);
393 anim.setDuration(duration);
395 mFlingAnimationUtils.applyDismissing(anim, getTranslatio
431 prepareDismissAnimation(View view, Animator anim) argument
464 prepareSnapBackAnimation(View view, Animator anim) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java512 static boolean modifiesAlpha(Animator anim) { argument
513 if (anim == null) {
516 if (anim instanceof ValueAnimator) {
517 ValueAnimator valueAnim = (ValueAnimator) anim;
524 } else if (anim instanceof AnimatorSet) {
525 List<Animator> animList = ((AnimatorSet) anim).getChildAnimations();
535 static boolean shouldRunOnHWLayer(View v, Animator anim) { argument
536 if (v == null || anim == null) {
541 && modifiesAlpha(anim);
547 private void setHWLayerAnimListenerIfAlpha(final View v, Animator anim) { argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialog.java399 row.anim = null;
872 if (row.anim != null && row.anim.isRunning()
877 if (row.anim == null) {
878 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgress);
879 row.anim.setInterpolator(new DecelerateInterpolator());
881 row.anim.cancel();
882 row.anim.setIntValues(progress, newProgress);
885 row.anim.setDuration(UPDATE_ANIMATION_DURATION);
886 row.anim
1244 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 DIWindowManagerImpl.java242 public void overridePendingAppTransitionInPlace(String packageName, int anim) { argument
/frameworks/support/v4/java/android/support/v4/app/
H A DFragmentManager.java432 public AnimateOnHWLayerIfNeededListener(final View v, Animation anim) { argument
433 if (v == null || anim == null) {
439 public AnimateOnHWLayerIfNeededListener(final View v, Animation anim, argument
441 if (v == null || anim == null) {
536 static boolean modifiesAlpha(Animation anim) { argument
537 if (anim instanceof AlphaAnimation) {
539 } else if (anim instanceof AnimationSet) {
540 List<Animation> anims = ((AnimationSet) anim).getAnimations();
550 static boolean shouldRunOnHWLayer(View v, Animation anim) { argument
554 && modifiesAlpha(anim);
952 setHWLayerAnimListenerIfAlpha(final View v, Animation anim) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/helper/
H A DItemTouchHelper.java673 private void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { argument
679 !anim.mOverridden &&
680 anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) {
687 mCallback.onSwiped(anim.mViewHolder, swipeDir);
887 final RecoverAnimation anim = mRecoverAnimations.get(i);
888 if (anim.mViewHolder == viewHolder) {
889 anim.mOverridden |= override;
890 if (!anim.mEnded) {
891 anim.cancel();
894 return anim
[all...]
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java802 * @param anim The exiting animation resource id is stored in anim[0], the
803 * entering animation resource id is stored in anim[1].
805 public void selectRotationAnimationLw(int anim[]); argument
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java2776 return isKeyguard ? -1 : R.anim.dock_top_exit;
2779 return isKeyguard ? -1 : R.anim.dock_top_enter;
2789 return R.anim.dock_bottom_exit;
2792 return R.anim.dock_bottom_enter;
2797 return R.anim.dock_right_exit;
2800 return R.anim.dock_right_enter;
2810 return com.android.internal.R.anim.app_starting_exit;
2844 return R.anim.fade_in;
2846 return R.anim.fade_out;
2853 public void selectRotationAnimationLw(int anim[]) { argument
[all...]

Completed in 823 milliseconds

12