Home
last modified time | relevance | path

Searched refs:mAnimation (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java49 private AnimationAdapter mAnimation; field in SurfaceAnimator
82 if (anim != mAnimation) { in getFinishedCallback()
88 if (anim != mAnimation) { in getFinishedCallback()
116 mAnimation = anim;
130 mAnimation.startAnimation(mLeash, t, mInnerAnimationFinishedCallback);
152 if (delayed && mAnimation != null) {
153 mAnimation.startAnimation(mLeash, mAnimatable.getPendingTransaction(),
164 return mAnimation != null;
171 return mAnimation;
233 mAnimation = from.mAnimation;
[all …]
DWindowAnimationSpec.java46 private Animation mAnimation; field in WindowAnimationSpec
65 mAnimation = animation; in WindowAnimationSpec()
80 return mAnimation.getShowWallpaper(); in getShowWallpaper()
85 return mAnimation.getBackgroundColor(); in getBackgroundColor()
90 return mAnimation.computeDurationHint(); in getDuration()
97 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
119 if (cropSet && mAnimation.hasRoundedCorners() && mWindowCornerRadius > 0) { in apply()
126 TranslateAnimation openTranslateAnimation = findTranslateAnimation(mAnimation); in calculateStatusBarTransitionStartTime()
154 pw.print(prefix); pw.println(mAnimation); in dump()
160 proto.write(ANIMATION, mAnimation.toString()); in writeToProtoInner()
DWindowChangeAnimationSpec.java53 private Animation mAnimation; field in WindowChangeAnimationSpec
79 return mAnimation.getDuration(); in getDuration()
115 mAnimation = animSet; in createBoundsInterpolator()
116 mAnimation.initialize(mStartBounds.width(), mStartBounds.height(), in createBoundsInterpolator()
137 mAnimation = animSet; in createBoundsInterpolator()
138 mAnimation.initialize(mStartBounds.width(), mStartBounds.height(), in createBoundsInterpolator()
147 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
151 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
174 return Math.max(uptime, uptime + ((long) (((float) mAnimation.getDuration()) * 0.99f)) in calculateStatusBarTransitionStartTime()
190 pw.print(prefix); pw.println(mAnimation.getDuration()); in dump()
[all …]
/frameworks/base/core/java/android/view/animation/
DLayoutAnimationController.java78 protected Animation mAnimation; field in LayoutAnimationController
201 mAnimation = animation; in setAnimation()
202 mAnimation.setFillBefore(true); in setAnimation()
215 return mAnimation; in getAnimation()
301 mDuration = mAnimation.getDuration(); in start()
303 mAnimation.setStartTime(-1); in start()
323 final long delay = getDelayForView(view) + mAnimation.getStartOffset(); in getAnimationForView()
327 final Animation animation = mAnimation.clone(); in getAnimationForView()
343 mAnimation.getStartTime() + mMaxDelay + mDuration; in isDone()
378 final float delay = mDelay * mAnimation.getDuration(); in getDelayForView()
DGridLayoutAnimationController.java311 final long duration = mAnimation.getDuration(); in getDelayForView()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java308 childList.add(node.mAnimation);
326 Animator animation = node.mAnimation;
343 conf |= mNodes.get(i).mAnimation.getChangingConfigurations();
426 playingSet.get(i).mAnimation.cancel();
479 Animator anim = event.mNode.mAnimation;
499 Animator anim = event.mNode.mAnimation;
628 node.mAnimation.setupStartValues();
639 node.mAnimation.setupEndValues();
696 node.mAnimation.setInterpolator(mInterpolator);
716 node.mAnimation.setAllowRunningAsynchronously(false);
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java54 private final Animation mAnimation = mock(Animation.class); field in WindowAnimationSpecTest
71 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_clipAfter()
82 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, in testApply_clipAfterOffsetPosition()
93 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_clipBeforeNoAnimationBounds()
117 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_setCornerRadius()
122 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius()
130 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_setCornerRadius_noClip()
133 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius_noClip()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp120 if (mAnimation != nullptr) { in ~BootAnimation()
121 releaseAnimation(mAnimation); in ~BootAnimation()
122 mAnimation = nullptr; in ~BootAnimation()
333 mAnimation = loadAnimation(mZipFileName); in preloadAnimation()
334 return (mAnimation != nullptr); in preloadAnimation()
834 if (mAnimation == nullptr) { in movie()
835 mAnimation = loadAnimation(mZipFileName); in movie()
838 if (mAnimation == nullptr) in movie()
843 for (const Animation::Part& part : mAnimation->parts) { in movie()
848 mCallbacks->init(mAnimation->parts); in movie()
[all …]
DBootAnimation.h188 Animation* mAnimation = nullptr; variable
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java70 private final WindowInsetsAnimationListener.InsetsAnimation mAnimation; field in InsetsAnimationControlImpl
101 mAnimation = new WindowInsetsAnimationListener.InsetsAnimation(mTypes, mHiddenInsets, in InsetsAnimationControlImpl()
103 mController.dispatchAnimationStarted(mAnimation); in InsetsAnimationControlImpl()
201 return mAnimation; in getAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DHardwareUiLayout.java52 private AnimatorSet mAnimation; field in HardwareUiLayout
411 mAnimation.cancel(); in animateChild()
414 mAnimation = new AnimatorSet(); in animateChild()
415 mAnimation.addListener(new AnimatorListenerAdapter() { in animateChild()
427 mAnimation.playTogether(top, in animateChild()
/frameworks/base/core/java/android/widget/
DProgressBar.java212 private AlphaAnimation mAnimation; field in ProgressBar
1885 if (mAnimation == null) { in startAnimation()
1886 mAnimation = new AlphaAnimation(0.0f, 1.0f); in startAnimation()
1888 mAnimation.reset(); in startAnimation()
1891 mAnimation.setRepeatMode(mBehavior); in startAnimation()
1892 mAnimation.setRepeatCount(Animation.INFINITE); in startAnimation()
1893 mAnimation.setDuration(mDuration); in startAnimation()
1894 mAnimation.setInterpolator(mInterpolator); in startAnimation()
1895 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME); in startAnimation()
2084 mAnimation.getTransformation(time, mTransformation); in drawTrack()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp323 mAnimation(other.mAnimation), in Transaction()
492 if (mAnimation) { in apply()
500 mAnimation = false; in apply()
541 mAnimation = true; in setAnimationTransaction()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h296 bool mAnimation = false; variable
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...