Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DWindowAnimationSpec.java46 private Animation mAnimation; field in WindowAnimationSpec
65 mAnimation = animation; in WindowAnimationSpec()
85 return mAnimation.getShowWallpaper(); in getShowWallpaper()
90 return mAnimation.getShowBackdrop(); in getShowBackground()
95 return mAnimation.getBackdropColor(); in getBackgroundColor()
103 return mAnimation.hasExtension(); in hasExtension()
108 return mAnimation.computeDurationHint(); in getDuration()
116 return mAnimation; in getAnimation()
123 mAnimation.getTransformation(currentPlayTime, tmp.transformation); in apply()
148 if (cropSet && mAnimation.hasRoundedCorners() && mWindowCornerRadius > 0) { in apply()
[all …]
DSurfaceAnimator.java58 private AnimationAdapter mAnimation; field in SurfaceAnimator
121 if (anim != mAnimation) { in getFinishedCallback()
127 if (anim != mAnimation) { in getFinishedCallback()
173 mAnimation = anim;
195 mAnimation.startAnimation(mLeash, t, type, mInnerAnimationFinishedCallback);
199 mAnimation.dump(pw, "");
237 if (delayed && mAnimation != null) {
238 mAnimation.startAnimation(mLeash, mAnimatable.getSyncTransaction(),
249 return mAnimation != null;
261 return mAnimation;
[all …]
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.java217 private AnimationAdapter mAnimation; field in SurfaceFreezer.Snapshot
265 mAnimation = anim; in startAnimation()
270 mAnimation.startAnimation(mSurfaceControl, t, type, (typ, ani) -> { }); in startAnimation()
281 final AnimationAdapter animation = mAnimation; in cancelAnimation()
282 mAnimation = null; in cancelAnimation()
DScreenRotationAnimation.java761 private WindowAnimationSpec createWindowAnimationSpec(Animation mAnimation) { in createWindowAnimationSpec() argument
762 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.java313 final long duration = mAnimation.getDuration(); in getDelayForView()
/frameworks/base/core/java/android/view/
DInsetsResizeAnimationRunner.java53 private final WindowInsetsAnimation mAnimation; field in InsetsResizeAnimationRunner
66 mAnimation = new WindowInsetsAnimation(types, interpolator, duration); in InsetsResizeAnimationRunner()
67 mAnimation.setAlpha(1f); in InsetsResizeAnimationRunner()
72 controller.startAnimation(this, this, types, mAnimation, in InsetsResizeAnimationRunner()
88 return mAnimation; in getAnimation()
125 mAnimator.setDuration(mAnimation.getDurationMillis()); in onReady()
127 mAnimation.setFraction(animation.getAnimatedFraction()); in onReady()
146 final float fraction = mAnimation.getInterpolatedFraction(); in applyChangeInsets()
177 proto.write(PENDING_FRACTION, mAnimation.getInterpolatedFraction()); in dumpDebug()
DInsetsAnimationControlImpl.java102 private final WindowInsetsAnimation mAnimation; field in InsetsAnimationControlImpl
158 mAnimation = new WindowInsetsAnimation(mTypes, interpolator, in InsetsAnimationControlImpl()
160 mAnimation.setAlpha(getCurrentAlpha()); in InsetsAnimationControlImpl()
171 mController.startAnimation(this, listener, types, mAnimation, in InsetsAnimationControlImpl()
296 mAnimation.setFraction(mPendingFraction); in applyChangeInsets()
298 mAnimation.setAlpha(mPendingAlpha); in applyChangeInsets()
341 return mAnimation.getFraction(); in getCurrentFraction()
376 return mAnimation; in getAnimation()
/frameworks/base/core/java/android/animation/
DAnimatorSet.java316 childList.add(node.mAnimation);
334 Animator animation = node.mAnimation;
351 conf |= mNodes.get(i).mAnimation.getChangingConfigurations();
440 final Animator animator = list.get(i).mAnimation;
491 Animator anim = event.mNode.mAnimation;
510 Animator anim = event.mNode.mAnimation;
638 node.mAnimation.setupStartValues();
649 node.mAnimation.setupEndValues();
708 node.mAnimation.setInterpolator(mInterpolator);
732 node.mAnimation.setAllowRunningAsynchronously(false);
[all …]
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/activityembedding/
DActivityEmbeddingAnimationAdapter.java46 final Animation mAnimation; field in ActivityEmbeddingAnimationAdapter
89 mAnimation = animation; in ActivityEmbeddingAnimationAdapter()
133 mAnimation.getTransformationAt(0, mTransformation); in prepareForFirstFrame()
141 mAnimation.getTransformation(Math.min(currentPlayTime, mAnimation.getDuration()), in onAnimationUpdate()
168 } else if (mAnimation.hasExtension()) { in onAnimationUpdateInner()
182 onAnimationUpdate(t, mAnimation.getDuration()); in onAnimationEnd()
186 return mAnimation.computeDurationHint(); in getDurationHint()
DActivityEmbeddingAnimationRunner.java335 final Animation animation = adapter.mAnimation; in addEdgeExtensionIfNeeded()
364 adapter.mAnimation, 0 /* defaultColor */); in addBackgroundColorIfNeeded()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowAnimationSpecTest.java56 private final Animation mAnimation = mock(Animation.class); field in WindowAnimationSpecTest
73 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_clipAfter()
84 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, in testApply_clipAfterOffsetPosition()
95 WindowAnimationSpec windowAnimationSpec = new WindowAnimationSpec(mAnimation, null, in testApply_setCornerRadius_noClip()
98 when(mAnimation.hasRoundedCorners()).thenReturn(true); in testApply_setCornerRadius_noClip()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskFragmentAnimationAdapter.java46 final Animation mAnimation; field in TaskFragmentAnimationAdapter
89 mAnimation = animation; in TaskFragmentAnimationAdapter()
129 mAnimation.getTransformation(Math.min(currentPlayTime, mAnimation.getDuration()), in onAnimationUpdate()
166 onAnimationUpdate(t, mAnimation.getDuration()); in onAnimationEnd()
170 return mAnimation.computeDurationHint(); in getDurationHint()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayImeController.java227 ValueAnimator mAnimation = null; field in DisplayImeController.PerDisplay
304 if (mAnimation != null) { in insetsControlChanged()
322 && mAnimation != null) { in insetsControlChanged()
325 mAnimation.cancel(); in insetsControlChanged()
491 if (mAnimation != null) { in startAnimation()
492 if (mAnimation.isRunning()) { in startAnimation()
493 seekValue = (float) mAnimation.getAnimatedValue(); in startAnimation()
496 mAnimation.cancel(); in startAnimation()
511 mAnimation = ValueAnimator.ofFloat(startY, endY); in startAnimation()
512 mAnimation.setDuration( in startAnimation()
[all …]
/frameworks/base/cmds/bootanimation/
DBootAnimation.cpp221 if (mAnimation != nullptr) { in ~BootAnimation()
222 releaseAnimation(mAnimation); in ~BootAnimation()
223 mAnimation = nullptr; in ~BootAnimation()
731 mAnimation = loadAnimation(mZipFileName); in preloadAnimation()
732 return (mAnimation != nullptr); in preloadAnimation()
810 bool dynamicColoringEnabled = mAnimation != nullptr && mAnimation->dynamicColoringEnabled; in initShaders()
1404 if (mAnimation == nullptr) { in movie()
1405 mAnimation = loadAnimation(mZipFileName); in movie()
1408 if (mAnimation == nullptr) in movie()
1413 for (const Animation::Part& part : mAnimation->parts) { in movie()
[all …]
DBootAnimation.h242 Animation* mAnimation = nullptr; variable
/frameworks/base/core/java/android/widget/
DProgressBar.java224 private AlphaAnimation mAnimation; field in ProgressBar
1975 if (mAnimation == null) { in startAnimation()
1976 mAnimation = new AlphaAnimation(0.0f, 1.0f); in startAnimation()
1978 mAnimation.reset(); in startAnimation()
1981 mAnimation.setRepeatMode(mBehavior); in startAnimation()
1982 mAnimation.setRepeatCount(Animation.INFINITE); in startAnimation()
1983 mAnimation.setDuration(mDuration); in startAnimation()
1984 mAnimation.setInterpolator(mInterpolator); in startAnimation()
1985 mAnimation.setStartTime(Animation.START_ON_FIRST_FRAME); in startAnimation()
2174 mAnimation.getTransformation(time, mTransformation); in drawTrack()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp717 mAnimation(other.mAnimation), in Transaction()
854 mAnimation = animation; in readFromParcel()
886 parcel->writeBool(mAnimation); in writeToParcel()
1037 mAnimation = false; in clear()
1214 if (mAnimation) { in apply()
1332 mAnimation = true; in setAnimationTransaction()
/frameworks/native/libs/gui/include/gui/
DSurfaceComposerClient.h451 bool mAnimation = false; variable
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt820 Landroid/animation/AnimatorSet$Node;->mAnimation:Landroid/animation/Animator;
68023 Landroid/widget/ProgressBar;->mAnimation:Landroid/view/animation/AlphaAnimation;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt35432 field protected android.view.animation.Animation mAnimation;
/frameworks/base/core/api/
Dcurrent.txt55572 field protected android.view.animation.Animation mAnimation;