Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimator.java54 private AnimationAdapter mAnimation; field in SurfaceAnimator
93 if (anim != mAnimation) { in getFinishedCallback()
99 if (anim != mAnimation) { in getFinishedCallback()
139 mAnimation = anim;
160 mAnimation.startAnimation(mLeash, t, type, mInnerAnimationFinishedCallback);
193 if (delayed && mAnimation != null) {
194 mAnimation.startAnimation(mLeash, mAnimatable.getPendingTransaction(),
205 return mAnimation != null;
217 return mAnimation;
279 mAnimation = from.mAnimation;
[all …]
DWindowAnimationSpec.java45 private Animation mAnimation; field in WindowAnimationSpec
64 mAnimation = animation; in WindowAnimationSpec()
79 return mAnimation.getShowWallpaper(); in getShowWallpaper()
84 return mAnimation.computeDurationHint(); in getDuration()
91 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
113 if (cropSet && mAnimation.hasRoundedCorners() && mWindowCornerRadius > 0) { in apply()
120 TranslateAnimation openTranslateAnimation = findTranslateAnimation(mAnimation); in calculateStatusBarTransitionStartTime()
148 pw.print(prefix); pw.println(mAnimation); in dump()
154 proto.write(ANIMATION, mAnimation.toString()); in dumpDebugInner()
DWindowChangeAnimationSpec.java53 private Animation mAnimation; field in WindowChangeAnimationSpec
74 return mAnimation.getDuration(); in getDuration()
110 mAnimation = animSet; in createBoundsInterpolator()
111 mAnimation.initialize(mStartBounds.width(), mStartBounds.height(), in createBoundsInterpolator()
132 mAnimation = animSet; in createBoundsInterpolator()
133 mAnimation.initialize(mStartBounds.width(), mStartBounds.height(), in createBoundsInterpolator()
142 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
146 mAnimation.getTransformation(currentPlayTime, tmp.mTransformation); in apply()
169 return Math.max(uptime, uptime + ((long) (((float) mAnimation.getDuration()) * 0.99f)) in calculateStatusBarTransitionStartTime()
185 pw.print(prefix); pw.println(mAnimation.getDuration()); in dump()
[all …]
DSurfaceFreezer.java145 private AnimationAdapter mAnimation; field in SurfaceFreezer.Snapshot
202 mAnimation = anim; in startAnimation()
208 mAnimation.startAnimation(mSurfaceControl, t, type, animationFinishedCallback); in startAnimation()
219 final AnimationAdapter animation = mAnimation; in cancelAnimation()
222 mAnimation = null; in cancelAnimation()
DScreenRotationAnimation.java682 private WindowAnimationSpec createWindowAnimationSpec(Animation mAnimation) { in createWindowAnimationSpec() argument
683 return new WindowAnimationSpec(mAnimation, new Point(0, 0) /* position */, in createWindowAnimationSpec()
/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/packages/SystemUI/src/com/android/systemui/stackdivider/
DDividerImeController.java90 private ValueAnimator mAnimation = null; field in DividerImeController
124 mAnimation = null; in reset()
177 if (mAnimation != null || (mImeWasShown && imeShouldShow in onImeStartPositioning()
264 if (mAnimation != null || !isDividerVisible() || mPaused) { in onImePositionChanged()
276 if (mAnimation != null || !isDividerVisible() || mPaused) { in onImeEndPositioning()
324 if (mAnimation != null) { in startAsyncAnimation()
325 mAnimation.cancel(); in startAsyncAnimation()
327 mAnimation = ValueAnimator.ofFloat(0.f, 1.f); in startAsyncAnimation()
328 mAnimation.setDuration(DisplayImeController.ANIMATION_DURATION_SHOW_MS); in startAsyncAnimation()
333 mAnimation.setCurrentFraction(progress); in startAsyncAnimation()
[all …]
/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/packages/SystemUI/src/com/android/systemui/wm/
DDisplayImeController.java188 ValueAnimator mAnimation = null; field in DisplayImeController.PerDisplay
233 && mAnimation != null) { in insetsControlChanged()
321 if (mAnimation != null) { in startAnimation()
322 if (mAnimation.isRunning()) { in startAnimation()
323 seekValue = (float) mAnimation.getAnimatedValue(); in startAnimation()
326 mAnimation.cancel(); in startAnimation()
341 mAnimation = ValueAnimator.ofFloat(startY, endY); in startAnimation()
342 mAnimation.setDuration( in startAnimation()
345 mAnimation.setCurrentFraction((seekValue - startY) / (endY - startY)); in startAnimation()
348 mAnimation.addUpdateListener(animation -> { in startAnimation()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java55 private final Animation mAnimation = mock(Animation.class); field in WindowAnimationSpecTest
72 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_clipAfter()
83 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, in testApply_clipAfterOffsetPosition()
94 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_clipBeforeNoAnimationBounds()
118 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_setCornerRadius()
123 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius()
131 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_setCornerRadius_noClip()
134 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius_noClip()
/frameworks/base/core/java/android/view/
DInsetsAnimationControlImpl.java77 private final WindowInsetsAnimation mAnimation; field in InsetsAnimationControlImpl
117 mAnimation = new WindowInsetsAnimation(mTypes, interpolator, in InsetsAnimationControlImpl()
119 mAnimation.setAlpha(getCurrentAlpha()); in InsetsAnimationControlImpl()
121 mController.startAnimation(this, listener, types, mAnimation, in InsetsAnimationControlImpl()
216 mAnimation.setFraction(mPendingFraction); in applyChangeInsets()
218 mAnimation.setAlpha(mPendingAlpha); in applyChangeInsets()
256 return mAnimation.getFraction(); in getCurrentFraction()
283 return mAnimation; in getAnimation()
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp132 if (mAnimation != nullptr) { in ~BootAnimation()
133 releaseAnimation(mAnimation); in ~BootAnimation()
134 mAnimation = nullptr; in ~BootAnimation()
506 mAnimation = loadAnimation(mZipFileName); in preloadAnimation()
507 return (mAnimation != nullptr); in preloadAnimation()
1016 if (mAnimation == nullptr) { in movie()
1017 mAnimation = loadAnimation(mZipFileName); in movie()
1020 if (mAnimation == nullptr) in movie()
1025 for (const Animation::Part& part : mAnimation->parts) { in movie()
1030 mCallbacks->init(mAnimation->parts); in movie()
[all …]
DBootAnimation.h204 Animation* mAnimation = nullptr; variable
/frameworks/base/core/java/android/widget/
DProgressBar.java211 private AlphaAnimation mAnimation; field in ProgressBar
1931 if (mAnimation == null) { in startAnimation()
1932 mAnimation = new AlphaAnimation(0.0f, 1.0f); in startAnimation()
1934 mAnimation.reset(); in startAnimation()
1937 mAnimation.setRepeatMode(mBehavior); in startAnimation()
1938 mAnimation.setRepeatCount(Animation.INFINITE); in startAnimation()
1939 mAnimation.setDuration(mDuration); in startAnimation()
1940 mAnimation.setInterpolator(mInterpolator); in startAnimation()
1941 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME); in startAnimation()
2130 mAnimation.getTransformation(time, mTransformation); in drawTrack()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp354 mAnimation(other.mAnimation), in Transaction()
448 mAnimation = animation; in readFromParcel()
477 parcel->writeBool(mAnimation); in writeToParcel()
570 mAnimation = false; in clear()
690 if (mAnimation) { in apply()
707 mAnimation = false; in apply()
750 mAnimation = true; in setAnimationTransaction()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h350 bool mAnimation = false; variable
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35432 field protected android.view.animation.Animation mAnimation;
/frameworks/base/api/
Dcurrent.txt56523 field protected android.view.animation.Animation mAnimation;