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

12

/frameworks/base/core/java/com/android/internal/app/
H A DPlatLogoActivity.java36 TimeAnimator anim; field in class:PlatLogoActivity
208 anim = new TimeAnimator();
209 anim.setTimeListener(
218 anim.start();
223 if (anim != null) {
224 anim.cancel();
225 anim = null;
/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/services/core/java/com/android/server/wm/
H A DAppWindowThumbnail.java67 .setName("thumbnail anim: " + appToken.toString())
90 void startAnimation(Transaction t, Animation anim) { argument
91 startAnimation(t, anim, null /* position */);
94 void startAnimation(Transaction t, Animation anim, Point position) { argument
95 anim.restrictDuration(MAX_ANIMATION_DURATION);
96 anim.scaleCurrentDuration(mAppToken.mService.getTransitionAnimationScaleLocked());
98 new WindowAnimationSpec(anim, position,
H A DWallpaperWindowToken.java107 * Starts {@param anim} on all children.
109 void startAnimation(Animation anim) { argument
112 windowState.startAnimation(anim);
141 + wallpaper + " anim layer: " + wallpaper.mWinAnimator.mAnimLayer);
H A DDimmer.java151 AnimationAdapter anim, boolean hidden);
150 startAnimation(SurfaceAnimator surfaceAnimator, SurfaceControl.Transaction t, AnimationAdapter anim, boolean hidden) argument
H A DSurfaceAnimator.java73 return anim -> {
75 final SurfaceAnimator target = mService.mAnimationTransferMap.remove(anim);
77 target.mInnerAnimationFinishedCallback.onAnimationFinished(anim);
81 if (anim != mAnimation) {
100 * @param anim The object that bridges the controller, {@link SurfaceAnimator}, with the
108 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { argument
110 mAnimation = anim;
355 void onAnimationFinished(AnimationAdapter anim); argument
H A DWindowContainer.java1123 * @param anim The animation to run.
1127 void startAnimation(Transaction t, AnimationAdapter anim, boolean hidden) { argument
1128 if (DEBUG_ANIM) Slog.v(TAG, "Starting animation on " + this + ": " + anim);
1132 mSurfaceAnimator.startAnimation(t, anim, hidden);
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
H A DDimmerTests.java111 AnimationAdapter anim, boolean hidden) {
110 startAnimation(SurfaceAnimator surfaceAnimator, SurfaceControl.Transaction t, AnimationAdapter anim, boolean hidden) argument
H A DTestWindowManagerPolicy.java196 public void selectRotationAnimationLw(int[] anim) { argument
/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, 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 DAnimatorSet.java248 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 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/packages/SystemUI/src/com/android/systemui/qs/car/
H A DCarQSFragment.java231 opening ? R.anim.car_user_switcher_open_animation
232 : R.anim.car_user_switcher_close_animation);
239 opening ? R.anim.car_user_switcher_open_name_animation
240 : R.anim.car_user_switcher_close_name_animation);
245 opening ? R.anim.car_user_switcher_open_icon_animation
246 : R.anim.car_user_switcher_close_icon_animation);
266 private void setupInitialValues(Animator anim) { argument
267 if (anim instanceof AnimatorSet) {
268 for (Animator a : ((AnimatorSet) anim).getChildAnimations()) {
271 } else if (anim instanceo
[all...]
/frameworks/support/graphics/drawable/animated/src/main/java/androidx/vectordrawable/graphics/drawable/
H A DAnimatorInflaterCompat.java335 * @param anim The animator, must not be null
342 private static void parseAnimatorFromTypeArray(ValueAnimator anim, argument
364 anim.setValues(pvh);
367 anim.setDuration(duration);
368 anim.setStartDelay(startDelay);
370 anim.setRepeatCount(TypedArrayUtils.getNamedInt(arrayAnimator, parser, "repeatCount",
372 anim.setRepeatMode(TypedArrayUtils.getNamedInt(arrayAnimator, parser, "repeatMode",
376 setupObjectAnimator(anim, arrayObjectAnimator, valueType, pixelSize, parser);
384 * @param anim The target Animator which will be updated.
388 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/graphics/java/android/graphics/drawable/
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/core/java/android/widget/
H A DActionMenuPresenter.java325 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 DSwipeHelper.java148 ObjectAnimator anim = ObjectAnimator.ofFloat(v,
150 return anim;
160 ObjectAnimator anim = createTranslationAnimation(v, target);
162 anim.addUpdateListener(listener);
164 return anim;
408 Animator anim = getViewTranslationAnimator(animView, newPos, updateListener);
409 if (anim == null) {
413 anim.setInterpolator(Interpolators.FAST_OUT_LINEAR_IN);
414 anim.setDuration(duration);
416 mFlingAnimationUtils.applyDismissing(anim, getTranslatio
459 prepareDismissAnimation(View view, Animator anim) argument
503 prepareSnapBackAnimation(View view, Animator anim) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
H A DVolumeDialogImpl.java387 row.anim = null;
945 if (row.anim != null && row.anim.isRunning()
950 if (row.anim == null) {
951 row.anim = ObjectAnimator.ofInt(row.slider, "progress", progress, newProgress);
952 row.anim.setInterpolator(new DecelerateInterpolator());
954 row.anim.cancel();
955 row.anim.setIntValues(progress, newProgress);
958 row.anim.setDuration(UPDATE_ANIMATION_DURATION);
959 row.anim
1301 private ObjectAnimator anim; // slider progress animation for non-touch-related updates field in class:VolumeDialogImpl.VolumeRow
[all...]
/frameworks/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java228 public void overridePendingAppTransitionInPlace(String packageName, int anim) { argument
/frameworks/base/core/java/com/android/internal/widget/helper/
H A DItemTouchHelper.java666 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 Dandroid_view_ThreadedRenderer.cpp119 explicit FinishAndInvokeListener(PropertyValuesAnimatorSet* anim) argument
120 : mAnimator(anim) {
121 mListener = anim->getOneShotListener();
122 mRequestId = anim->getRequestId();
224 for (auto& anim : mRunningVDAnimators) {
230 anim->getVectorDrawable()->setPropertyChangeWillBeConsumed(false);
232 anim->getVectorDrawable()->markDirty();
235 for (auto &anim : mPausedVDAnimators) {
236 anim->getVectorDrawable()->setPropertyChangeWillBeConsumed(false);
237 anim
397 addVectorDrawableAnimator(PropertyValuesAnimatorSet* anim) argument
415 detachVectorDrawableAnimator(PropertyValuesAnimatorSet* anim) argument
[all...]
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DItemTouchHelper.java689 private void postDispatchSwipe(final RecoverAnimation anim, final int swipeDir) { argument
695 && !anim.mOverridden
696 && anim.mViewHolder.getAdapterPosition() != RecyclerView.NO_POSITION) {
703 mCallback.onSwiped(anim.mViewHolder, swipeDir);
903 final RecoverAnimation anim = mRecoverAnimations.get(i);
904 if (anim.mViewHolder == viewHolder) {
905 anim.mOverridden |= override;
906 if (!anim.mEnded) {
907 anim.cancel();
1032 final RecoverAnimation anim
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentManager.java767 static boolean modifiesAlpha(Animator anim) { argument
768 if (anim == null) {
771 if (anim instanceof ValueAnimator) {
772 ValueAnimator valueAnim = (ValueAnimator) anim;
779 } else if (anim instanceof AnimatorSet) {
780 List<Animator> animList = ((AnimatorSet) anim).getChildAnimations();
790 static boolean shouldRunOnHWLayer(View v, Animator anim) { argument
791 if (v == null || anim == null) {
796 && modifiesAlpha(anim);
802 private void setHWLayerAnimListenerIfAlpha(final View v, Animator anim) { argument
[all...]

Completed in 1305 milliseconds

12